|
SDL 2.0
|
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.*)
Definition at line 417 of file SDL_events.h.
| Uint8 SDL_ControllerAxisEvent::axis |
The controller axis (SDL_GameControllerAxis)
Definition at line 422 of file SDL_events.h.
| Uint8 SDL_ControllerAxisEvent::padding1 |
Definition at line 423 of file SDL_events.h.
| Uint8 SDL_ControllerAxisEvent::padding2 |
Definition at line 424 of file SDL_events.h.
| Uint8 SDL_ControllerAxisEvent::padding3 |
Definition at line 425 of file SDL_events.h.
| Uint16 SDL_ControllerAxisEvent::padding4 |
Definition at line 427 of file SDL_events.h.
| Uint32 SDL_ControllerAxisEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
Definition at line 420 of file SDL_events.h.
| Uint32 SDL_ControllerAxisEvent::type |
Definition at line 419 of file SDL_events.h.
| Sint16 SDL_ControllerAxisEvent::value |
The axis value (range: -32768 to 32767)
Definition at line 426 of file SDL_events.h.
| SDL_JoystickID SDL_ControllerAxisEvent::which |
The joystick instance id
Definition at line 421 of file SDL_events.h.