mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-25 10:11:10 +01:00
Ideally we'd detect these as "joysticks" (or more generally, gaming controllers), but in most cases their evdev flags are indistinguishable from an accelerometer or gyro, so the only way to achieve this would be a table of known devices that doesn't currently exist. One exception is the one that reports a THROTTLE axis and TRIGGER, THUMB buttons, which would be reasonable to detect via the joystick heuristic. Signed-off-by: Simon McVittie <smcv@collabora.com>
38 KiB
38 KiB