mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-03-03 05:54:19 +01:00
Andrei Kortunov Hello. I try to implement an application for Android, which uses a new sensors API from 2.0.9 to control a camera rotation via built-in gyroscope, using the code from the test/testsensor.c as an example. Gyroscope input itself works well, but an interval between SDL_SENSORUPDATE events is about 200ms (the SENSOR_DELAY_NORMAL, I believe), when I need the interval about 20-40ms (the SENSOR_DELAY_GAME or SENSOR_DELAY_FASTEST). |
||
---|---|---|
.. | ||
SDL_androidsensor.c | ||
SDL_androidsensor.h |