Draft

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

SDL_JoyDeviceEvent

A structure that contains joystick device event information.

Data Fields

Uint32

type

SDL_EVENT_JOYSTICK_ADDED or SDL_EVENT_JOYSTICK_REMOVED

Uint32

timestamp

the timestamp of the event

Sint32

which

the joystick device index for the SDL_EVENT_JOYSTICK_ADDED event or the instance id for the SDL_EVENT_JOYSTICK_REMOVED event

Remarks

You would access it through the event's jdevice field.

SDL_EventType
SDL_Event
SDL_OpenJoystick

CategoryStruct, CategoryEvents, CategoryDraft