SDL 2.0
|
Controller device event structure (event.cdevice.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
Sint32 | which |
Controller device event structure (event.cdevice.*)
Definition at line 449 of file SDL_events.h.
Uint32 SDL_ControllerDeviceEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
Definition at line 452 of file SDL_events.h.
Uint32 SDL_ControllerDeviceEvent::type |
SDL_CONTROLLERDEVICEADDED, SDL_CONTROLLERDEVICEREMOVED, SDL_CONTROLLERDEVICEREMAPPED, or SDL_CONTROLLERSTEAMHANDLEUPDATED
Definition at line 451 of file SDL_events.h.
Sint32 SDL_ControllerDeviceEvent::which |
The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event
Definition at line 453 of file SDL_events.h.