DRAFT |
SDL_ControllerAxisEvent
A structure that contains game controller axis motion event information.
Contents
Data Fields
Uint32 |
type |
SDL_ CONTROLLERAXISMOTION |
Uint32 |
timestamp |
the timestamp of the event |
SDL_JoystickID |
which |
the joystick instance id |
Uint8 |
axis |
the controller axis (SDL_GameControllerAxis) |
Sint16 |
value |
the axis value (range: -32768 to 32767) |
Code Examples
You can add your code example here
Remarks
The directions "down" and "right" have positive values here.
Related Enumerations
Related Structures