Hi Ron,
should be doable, though I've not actually tested it. The file to alter is keyboard.xml which resides in
FG_ROOT. Ideally make a backup copy before altering it.
Example for the function "Elevator up" if you're using the arrow-keys (starting at line 1366 in said file):
- Code: Select all
<key n="359">
<name>Down</name>
<desc>Elevator up or increase autopilot altitude</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>nasal</command>
<script>
if (getprop("/sim/freeze/replay-state"))
controls.speedup(-1);
else
controls.incElevator(-0.05, 100)
</script>
The line that actually performs that action is
- Code: Select all
controls.incElevator(-0.05, 100)
Meaning:
controls is the nasal file where the function lives.
incElevator is the actual function inside that file
(-0.05, 100) arguments for that function, to quote controls.nas:
- Code: Select all
# arg[0] is the elevator increment
# arg[1] is the autopilot target altitude increment
So, you should be able to make it more sensible by altering the -0.05 to something like -0.03.
Repeat that for: Elevator down, Move aileron left and Move aileron right (search for these terms to find the regarding code)
For rudder it's slightly different but hopefully self-explaining: Move rudder left and Move rudder right
If you're using the num-pad instead of the arrow keys, search for these terms as well but where the <name>-tag contais a number, like <name>2</name> for Elevator up.