#include <events.h>
Public Attributes | |
| byte | axis |
| int16 | position |
| uint8 | button |
Data structure for joystick events.
| byte Common::JoystickState::axis |
The axis for EVENT_JOYAXIS_MOTION events.
| int16 Common::JoystickState::position |
The new axis position for EVENT_JOYAXIS_MOTION events.
| uint8 Common::JoystickState::button |
The button index for EVENT_JOYBUTTON_DOWN/UP events.
Some of the button indices match well-known game controller buttons. See JoystickButton.