My Project
|
Sensor event structure (event.sensor.*) More...
#include <SDL_events.h>
Public Attributes | |
Uint32 | type |
Uint32 | timestamp |
Sint32 | which |
float | data [6] |
Sensor event structure (event.sensor.*)
float SDL_SensorEvent::data[6] |
Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData()
Uint32 SDL_SensorEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 SDL_SensorEvent::type |
Sint32 SDL_SensorEvent::which |
The instance ID of the sensor