virtual void OnPad(unsigned controllerIndex, PadKeyCode padCode, bool downFlag);
OnPad is called to notify application about gamepad event.
Parameters |
Description |
unsigned controllerIndex |
The index of the game controller. |
PadKeyCode padCode |
The game pad key code. |
bool downFlag |
Flag to indicate the key is pressed down. |