18 Creating and Managing Controllers

18 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.

DESCRIPTION
SPECIAL CONSIDERATIONS

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker