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 452 of file SDL_events.h.
Uint64 SDL_GamepadDeviceEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 455 of file SDL_events.h.
Uint32 SDL_GamepadDeviceEvent::type |
SDL_EVENT_GAMEPAD_ADDED, SDL_EVENT_GAMEPAD_REMOVED, or SDL_EVENT_GAMEPAD_REMAPPED
Definition at line 454 of file SDL_events.h.
SDL_JoystickID SDL_GamepadDeviceEvent::which |
The joystick instance id
Definition at line 456 of file SDL_events.h.