From 9eda81741e0dfbbf0642670255572cc6a91e4cbe Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 1 Dec 2021 14:15:39 +0100 Subject: [PATCH] Joystick: fix visualization It turns out this signal was not called anywhere. --- src/Joystick/Joystick.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Joystick/Joystick.cc b/src/Joystick/Joystick.cc index e93762456ce..ee9f06d5643 100644 --- a/src/Joystick/Joystick.cc +++ b/src/Joystick/Joystick.cc @@ -676,6 +676,8 @@ void Joystick::_handleAxis() buttonPressedBits |= buttonBit; } } + emit axisValues(roll, pitch, yaw, throttle); + uint16_t shortButtons = static_cast(buttonPressedBits & 0xFFFF); _activeVehicle->sendJoystickDataThreadSafe(roll, pitch, yaw, throttle, shortButtons); }