Game controller sensor event structure (event.csensor.*)
Defined in SDL_events.h
typedef struct SDL_ControllerSensorEvent
{/**< SDL_CONTROLLERSENSORUPDATE */
Uint32 type; /**< In milliseconds, populated using SDL_GetTicks() */
Uint32 timestamp; /**< The joystick instance id */
SDL_JoystickID which; /**< The type of the sensor, one of the values of SDL_SensorType */
Sint32 sensor; float data[3]; /**< Up to 3 values from the sensor, as defined in SDL_sensor.h */
/**< The timestamp of the sensor reading in microseconds, if the hardware provides this information. */
Uint64 timestamp_us; } SDL_ControllerSensorEvent;