SDL 3.0
|
Gamepad device event structure (event.gdevice.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint64 | timestamp |
SDL_JoystickID | which |
Gamepad device event structure (event.gdevice.*)
Definition at line 454 of file SDL_events.h.
Uint64 SDL_GamepadDeviceEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 457 of file SDL_events.h.
Uint32 SDL_GamepadDeviceEvent::type |
SDL_EVENT_GAMEPAD_ADDED, SDL_EVENT_GAMEPAD_REMOVED, or SDL_EVENT_GAMEPAD_REMAPPED or SDL_EVENT_GAMEPAD_UPDATE_COMPLETE
Definition at line 456 of file SDL_events.h.
SDL_JoystickID SDL_GamepadDeviceEvent::which |
The joystick instance id
Definition at line 458 of file SDL_events.h.