joystickd: add controller mapping (#25986)
* Correct default controller mapping.
Current config maps steering to right trigger (ABS_RZ) when using a default xinput controller: https://inputs.readthedocs.io/en/latest/user/hardwaresupport.html
This results in default full left steering angle (1) requiring right trigger to return to centre (0) or right (-1).
It appears the intended mapping for steering is right thumbstick (ABS_RX).
Cancel button is also non-existent on default xinput controller. May be X button (BTN_NORTH) or Right Trigger (ABS_RZ).
Tested on Xbox One Controller via USB Cable, Logitech F710 and GameSir T4 Pro.
* Update joystickd.py
Fixed comment
* gamepad configuration
* gamepad arg
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 1d8fc4d21c
taco
parent
edb488ff41
commit
e769f4d11a
1 changed files with 17 additions and 9 deletions
Loading…
Reference in new issue