Browse Source

Joystick: fix visualization

It turns out this signal was not called anywhere.
QGC4.4
Julian Oes 3 years ago committed by Don Gagne
parent
commit
9eda81741e
  1. 2
      src/Joystick/Joystick.cc

2
src/Joystick/Joystick.cc

@ -676,6 +676,8 @@ void Joystick::_handleAxis() @@ -676,6 +676,8 @@ void Joystick::_handleAxis()
buttonPressedBits |= buttonBit;
}
}
emit axisValues(roll, pitch, yaw, throttle);
uint16_t shortButtons = static_cast<uint16_t>(buttonPressedBits & 0xFFFF);
_activeVehicle->sendJoystickDataThreadSafe(roll, pitch, yaw, throttle, shortButtons);
}

Loading…
Cancel
Save