Fixed joystickd.py incorrect steering control (#30879)

old-commit-hash: 6ccf2cbfde
This commit is contained in:
Sliicy 2024-01-01 17:29:01 -05:00 committed by GitHub
parent 8c9ca9c7be
commit fc2e961f1b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Joystick:
else:
self.cancel_button = 'BTN_TRIGGER'
accel_axis = 'ABS_Y'
steer_axis = 'ABS_RZ'
steer_axis = 'ABS_RX'
self.min_axis_value = {accel_axis: 0., steer_axis: 0.}
self.max_axis_value = {accel_axis: 255., steer_axis: 255.}
self.axes_values = {accel_axis: 0., steer_axis: 0.}