mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-05 21:52:10 +01:00
ed24d93ab1
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.