Q3ControllerState_New
You can use the Q3ControllerState_New function to create a new controller state object.
TQ3ControllerStateObject Q3ControllerState_New (
TQ3ControllerRef controllerRef);
controllerRef
- A reference to a controller.
DESCRIPTION
The Q3ControllerState_New function returns, as its function result, a reference to a new controller state object for the controller specified by the controllerRef parameter. You need to call Q3ControllerState_SaveAndReset to actually fill in the new controller state object with the current channels. If Q3ControllerState_New cannot create a new controller state object, it returns NULL.