SDL standard library

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL_ControllerDeviceEvent Struct Reference

SDL_ControllerDeviceEvent Struct Reference

Controller device event structure (event.cdevice. More...

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_CONTROLLERDEVICEADDED, SDL_CONTROLLERDEVICEREMOVED, or SDL_CONTROLLERDEVICEREMAPPED
Sint32 which
 The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event.

Detailed Description

Controller device event structure (event.cdevice.

*)

Definition at line 376 of file SDL_events.h.


Field Documentation

The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event.

Definition at line 380 of file SDL_events.h.