18 Creating and Managing Controllers

18 Q3Controller_SetButtons

You can use the Q3Controller_SetButtons function to set the button state of a controller.

TQ3Status Q3Controller_SetButtons (
TQ3ControllerRef controllerRef, 
unsigned long buttons);
controllerRef
A reference to a controller.
buttons A button state value.

DESCRIPTION


The Q3Controller_SetButtons function sets the button state of the controller specified by the controllerRef parameter to the button state value passed in the buttons parameter. If the specified controller is inactive, Q3Controller_SetButtons has no effect. Changing a controller's button state might cause the notify function of the tracker currently associated with that controller to be called.

DESCRIPTION

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