Skip to content

Commit 03efb8b

Browse files
Update joystick_control.py
1 parent 8d9ff2f commit 03efb8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/joystick/joystick_control.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
class Keyboard:
1818
def __init__(self):
1919
managed_processes['ui'].w.customWindow.accelDown.connect(self.GUI_ACCEL)
20-
managed_processes['ui'].w.customWindow.accelRelease.connect(self.GUI_ACCEL) self.kb = KBHit()
20+
managed_processes['ui'].w.customWindow.accelRelease.connect(self.GUI_ACCEL)
21+
self.kb = KBHit()
2122
self.axis_increment = 0.05 # 5% of full actuation each key press
2223
self.axes_map = {'GUI_ACCEL': 'gb', 's': 'gb',
2324
'a': 'steer', 'd': 'steer'}

0 commit comments

Comments
 (0)