18 Creating and Managing Controllers
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.
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.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker