SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
SDL_EventType | type |
Uint32 | reserved |
Uint64 | timestamp |
SDL_JoystickID | which |
Gamepad device event structure (event.gdevice.*)
Definition at line 614 of file SDL_events.h.
Uint32 SDL_GamepadDeviceEvent::reserved |
Definition at line 617 of file SDL_events.h.
Uint64 SDL_GamepadDeviceEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 618 of file SDL_events.h.
SDL_EventType SDL_GamepadDeviceEvent::type |
SDL_EVENT_GAMEPAD_ADDED, SDL_EVENT_GAMEPAD_REMOVED, or SDL_EVENT_GAMEPAD_REMAPPED, SDL_EVENT_GAMEPAD_UPDATE_COMPLETE or SDL_EVENT_GAMEPAD_STEAM_HANDLE_UPDATED
Definition at line 616 of file SDL_events.h.
SDL_JoystickID SDL_GamepadDeviceEvent::which |
The joystick instance id
Definition at line 619 of file SDL_events.h.