Browse Source

Merge pull request #3526 from DonLakeFlyer/AllowDisable

Allow disable of uncalibrated joystick
QGC4.4
Don Gagne 9 years ago committed by GitHub
parent
commit
50650ec885
  1. 4
      src/VehicleSetup/JoystickConfig.qml

4
src/VehicleSetup/JoystickConfig.qml

@ -343,8 +343,8 @@ QGCView { @@ -343,8 +343,8 @@ QGCView {
QGCCheckBox {
enabled: _activeJoystick.calibrated
text: _activeJoystick.calibrated ? qsTr("Enable joystick input") : qsTr("Enable/Disable not allowed (Calibrate First)")
enabled: checked || _activeJoystick.calibrated
text: _activeJoystick.calibrated ? qsTr("Enable joystick input") : qsTr("Enable not allowed (Calibrate First)")
checked: _activeVehicle.joystickEnabled
onClicked: _activeVehicle.joystickEnabled = checked

Loading…
Cancel
Save