From a50f23493a42eda6c2bf97a8b412c672bde93e49 Mon Sep 17 00:00:00 2001 From: whoisdomi Date: Tue, 2 Jun 2026 21:47:38 -0500 Subject: [PATCH] AOL only joystick mode --- tools/joystick/joystickd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/joystick/joystickd.py b/tools/joystick/joystickd.py index 789dad562..d732e270f 100755 --- a/tools/joystick/joystickd.py +++ b/tools/joystick/joystickd.py @@ -31,7 +31,7 @@ def joystickd_thread(): CC = cc_msg.carControl CC.enabled = sm['selfdriveState'].enabled CC.latActive = sm['selfdriveState'].active and not sm['carState'].steerFaultTemporary and not sm['carState'].steerFaultPermanent - CC.longActive = CC.enabled and not any(e.overrideLongitudinal for e in sm['onroadEvents']) and CP.openpilotLongitudinalControl + CC.longActive = False # lateral-only joystick mode: use pedals normally CC.cruiseControl.cancel = sm['carState'].cruiseState.enabled and (not CC.enabled or not CP.pcmCruise) CC.hudControl.leadDistanceBars = 2