Joystick axis motion event structure (event.jaxis.*) More...
#include <SDL_events.h>
Public Attributes | |
Uint32 | type |
Uint32 | timestamp |
SDL_JoystickID | which |
Uint8 | axis |
Uint8 | padding1 |
Uint8 | padding2 |
Uint8 | padding3 |
Sint16 | value |
Uint16 | padding4 |
Joystick axis motion event structure (event.jaxis.*)
Uint8 SDL_JoyAxisEvent::axis |
The joystick axis index
Uint32 SDL_JoyAxisEvent::type |
Sint16 SDL_JoyAxisEvent::value |
The axis value (range: -32768 to 32767)
SDL_JoystickID SDL_JoyAxisEvent::which |
The joystick instance id