My Project
|
Game controller sensor event structure (event.csensor.*) More...
#include <SDL_events.h>
Public Attributes | |
Uint32 | type |
Uint32 | timestamp |
SDL_JoystickID | which |
Sint32 | sensor |
float | data [3] |
Game controller sensor event structure (event.csensor.*)
float SDL_ControllerSensorEvent::data[3] |
Up to 3 values from the sensor, as defined in SDL_sensor.h
Sint32 SDL_ControllerSensorEvent::sensor |
The type of the sensor, one of the values of SDL_SensorType
Uint32 SDL_ControllerSensorEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 SDL_ControllerSensorEvent::type |
SDL_JoystickID SDL_ControllerSensorEvent::which |
The joystick instance id