My Project
|
Game controller axis motion event structure (event.caxis.*) 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 |
Game controller axis motion event structure (event.caxis.*)
Uint8 SDL_ControllerAxisEvent::axis |
The controller axis (SDL_GameControllerAxis)
Uint32 SDL_ControllerAxisEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 SDL_ControllerAxisEvent::type |
Sint16 SDL_ControllerAxisEvent::value |
The axis value (range: -32768 to 32767)
SDL_JoystickID SDL_ControllerAxisEvent::which |
The joystick instance id