input-config
3
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
left
top
table
left
0
0
left
0
1
1
1
left
2
1
left
3
1
left
top
table
left
0
0
left
/sim/gui/dialogs/input-config/right-mouse-look
true
nasal
0
1
left
/sim/gui/dialogs/input-config/right-mouse-cycle
true
nasal
1
1
3
0
left
left
top
table
left
0
0
left
/sim/mouse/skip-flight-controls-mode
dialog-apply
0
1
1
0
left