1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-05 21:52:10 +01:00
Stacey Sheldon ed24d93ab1 gcs gamepad: teach GCS that an accel is not a gamepad
The gcscontrolgadget expects all gamepad devices to have
at least 4 axes of control.  The SDL layer (on Linux anyway)
will detect the accelerometer that's built into some laptops
as a gamepad with 3 axes.

This change prevents the accel from being selected and
subsequently flooding the console with errors from
gcscontrolgadget every 10ms.
2012-09-29 21:47:26 -04:00
..