Draft

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

SDL_ControllerDeviceEvent

A structure that contains controller device event information.

Data Fields

Uint32

type

SDL_CONTROLLERDEVICEADDED, SDL_CONTROLLERDEVICEREMOVED or SDL_CONTROLLERDEVICEREMAPPED

Uint32

timestamp

the timestamp of the event

Sint32

which

the joystick device index for the SDL_CONTROLLERDEVICEADDED event or instance id for the SDL_CONTROLLERDEVICEREMOVED or SDL_CONTROLLERDEVICEREMAPPED event

SDL_EventType
SDL_Event
SDL_GameControllerEventState

CategoryStruct, CategoryEvents, CategoryDraft