5) {
row = row +1;
col = 0;
}
}
}
var updateConfig = func() {
joystick.writeConfig();
fgcommand("reinit", props.Node.new({"subsystem": "input"}));
fgcommand("dialog-close", props.Node.new({"dialog-name": "joystick-config"}));
fgcommand("dialog-show", props.Node.new({"dialog-name": "joystick-config"}));
}
]]>
joystick-config
vbox
true
3
hbox
1
true
true
left
left
left
left
left
left
left
table
left
0
0
right
jsselect
0
1
left
/sim/gui/dialogs/joystick-config/selected-joystick
350
dialog-apply
jsselect
nasal
1
0
right
1
1
2
left
/sim/gui/dialogs/joystick-config/selected-joystick-config
hbox
top
fill
table
top
axistable
0
0
0
1
0
2
0
3
table
top
buttontable
0
0
0
1
0
2
0
3
0
4
0
5
table
2
150
0
0
right
1
0
left
%.5f
/controls/flight/aileron
1
2
0
right
1
1
left
%.5f
/controls/flight/elevator
1
2
1
right
3
0
left
%.5f
/controls/flight/rudder
1
4
0
right
3
1
left
%.5f
/controls/engines/engine/throttle
1
4
1
150
5
0
hbox
true
true