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