b4da4ed95a
If you care about timestamps you'll also want to catch all of the sensor events instead of just polling the current state. For example, Nintendo Switch controllers generate 3 sensor events with distinct values for each polling interval. |
||
---|---|---|
.. | ||
android | ||
coremotion | ||
dummy | ||
n3ds | ||
vita | ||
windows | ||
SDL_sensor.c | ||
SDL_sensor_c.h | ||
SDL_syssensor.h |