Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_GamepadDeviceEvent

A structure that contains controller device event information.

Data Fields

Uint32

type

SDL_EVENT_GAMEPAD_ADDED, SDL_EVENT_GAMEPAD_REMOVED or SDL_EVENT_GAMEPAD_REMAPPED

Uint32

timestamp

the timestamp of the event

Sint32

which

the joystick device index for the SDL_EVENT_GAMEPAD_ADDED event or instance id for the SDL_EVENT_GAMEPAD_REMOVED or SDL_EVENT_GAMEPAD_REMAPPED event

SDL_EventType
SDL_Event
SDL_GameControllerEventState

CategoryStruct, CategoryEvents, CategoryDraft