18 Creating and Managing Controllers

18 Q3Controller_GetButtons

You can use the Q3Controller_GetButtons function to get the button state of a controller.

TQ3Status Q3Controller_GetButtons (
TQ3ControllerRef controllerRef, 
unsigned long *buttons);
controllerRef
A reference to a controller.
buttons On exit, the current button state value of the specified controller.

DESCRIPTION


The Q3Controller_GetButtons function returns, in the buttons parameter, the current button state value of the controller specified by the controllerRef parameter.

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