Q3Controller_GetButtons
You can use theQ3Controller_GetButtonsfunction 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
TheQ3Controller_GetButtonsfunction returns, in thebuttonsparameter, the current button state value of the controller specified by thecontrollerRefparameter.