| Summary: | Wheel not detected as joystick or gamepad | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Pete Allen <peter.allenm> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
Do you experience this with the latest from HG and udev enabled? I've added a few troubleshooting tips to the README-linux.txt file, this is probably the best we can do as a "fix" (along with the actual fixes available in HG) |
A Guillemot Force Feedback Racing Wheel (Ferrari badged, circa 2000) is not detected as a joystick. The reason for this is that it supports the following events instead of ABS_X and ABS_Y: Event code 8 (ABS_WHEEL) Event code 9 (ABS_GAS) Event code 10 (ABS_BRAKE) so the test in IsJoystick() fails as ABS_X and ABS_Y are not supported: if (!(test_bit(EV_KEY, evbit) && test_bit(EV_ABS, evbit) && test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit))) In my local version I bodged this to if (!(test_bit(EV_KEY, evbit) && test_bit(EV_ABS, evbit) && test_bit(ABS_WHEEL, absbit) && test_bit(ABS_GAS, absbit))) { and the wheel works correctly (although clearly this would break every other joystick..)