SDL Wiki

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


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.