input-config var syncRadioState = func() { var cycle = getprop("/sim/mouse/right-button-mode-cycle-enabled"); setprop("/sim/gui/dialogs/input-config/right-mouse-look", !cycle); setprop("/sim/gui/dialogs/input-config/right-mouse-cycle", cycle); } var rightMouseMode = func(newMode) { var doCycle = (newMode == "cycle"); setprop("/sim/mouse/right-button-mode-cycle-enabled", doCycle); syncRadioState(); } syncRadioState(); false vbox hbox 1 1 center top table 600 0 0 2 vbox left left right 1 0 1 1 /sim/gui/dialogs/input-config/right-mouse-look true nasal right 2 0 2 1 /sim/gui/dialogs/input-config/right-mouse-cycle true nasal 3 0 2 left /sim/mouse/skip-flight-controls-mode dialog-apply