|
|
|
@ -18,7 +18,7 @@ import QGroundControl.Vehicle 1.0
@@ -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 {
@@ -39,8 +39,8 @@ Item {
|
|
|
|
|
width: parent.height |
|
|
|
|
height: parent.height |
|
|
|
|
yAxisThrottle: true |
|
|
|
|
yAxisThrottleCentered: centralizeThrottle |
|
|
|
|
lightColors: useLightColors |
|
|
|
|
throttle: true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
JoystickThumbPad { |
|
|
|
|