Commit 59a5d0a6 authored by Patrick José Pereira's avatar Patrick José Pereira

VirtualJoystick: Add centralizeThrottle variable

Signed-off-by: 's avatarPatrick José Pereira <>
parent c3fba6e8
......@@ -18,7 +18,7 @@ import QGroundControl.Vehicle 1.0
Item {
//property bool useLightColors - Must be passed in from loaded
//property bool centralizeThrottle - Must be passed in from loaded
Timer {
interval: 40 // 25Hz, same as real joystick rate
running: QGroundControl.settingsManager.appSettings.virtualJoystick.value && _activeVehicle
......@@ -39,8 +39,8 @@ Item {
width: parent.height
height: parent.height
yAxisThrottle: true
yAxisThrottleCentered: centralizeThrottle
lightColors: useLightColors
throttle: true
JoystickThumbPad {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment