Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Controllers


Q3Controller_Track3DCursor

You can use the Q3Controller_Track3DCursor function to determine whether a controller is currently affecting the depth information also being used with the system cursor.

TQ3Status Q3Controller_Track3DCursor (
TQ3ControllerRef controllerRef, 
TQ3Boolean *track3DCursor);
controllerRef
A reference to a controller.
track3DCursor
On exit, a Boolean value that indicates whether the specified controller is currently affecting the system cursor and the depth is being used (kQ3True) or not (kQ3False).
DESCRIPTION
The Q3Controller_Track3DCursor function returns, in the track3DCursor parameter, a Boolean value that indicates whether the controller specified by the controllerRef parameter is currently affecting the two-dimensional system cursor and the z axis values and orientation of the system cursor tracker are not being ignored. If the specified controller is not attached to the system cursor tracker or if that controller is inactive, track3DCursor is set to kQ3False.

SPECIAL CONSIDERATIONS
In general, you need to use this function only if you are writing a device driver for a controller.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help