Expose gyroscope as a joystick

Create issue
Issue #147 new
David Khachaturov created an issue

Currently, from what I can tell, the app exposes the accelerometer as a 3-axis joystick. Would it be possible to do the same with the gyroscope?

Comments (3)

  1. Alex Szpakowski

    The accelerometer is only exposed because SDL exposes it as a 3-axis joystick. It doesn't expose the gyroscope. I have plans to add more sensor (accelerometer, gyro, etc) functionality to SDL, but no work has been done yet.

    In any case, I strongly feel that platform API usage such as phone sensors should go through SDL, since that's its purpose.

  2. Log in to comment