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_JOYDEVICEADDED or SDL_JOYDEVICEREMOVED

Uint32

timestamp

the timestamp of the event

Sint32

which

the joystick device index for the SDL_JOYDEVICEADDED event or the instance id for the SDL_JOYDEVICEREMOVED event

Remarks

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

SDL_EventType
SDL_Event
SDL_JoystickOpen

CategoryStruct, CategoryEvents, CategoryDraft