Also reset the bindings for 3 and 9 in keyboard mode
Copy the default bindings from `fgdata/keyboard.xml` to the keyboard mode bindings for 3 and 9 so they behave consistently with PgUp/PgDn.
This commit is contained in:
parent
95425e23a1
commit
28249598d1
1 changed files with 2 additions and 4 deletions
|
@ -1509,8 +1509,7 @@
|
|||
</condition>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
setprop("controls/engines/engine[0]/throttle", getprop("controls/engines/engine[0]/throttle") - 0.01);
|
||||
setprop("controls/engines/engine[1]/throttle", getprop("controls/engines/engine[0]/throttle") - 0.01); # Not a typo, always use engine[0] as a reference
|
||||
controls.incThrottle(-0.01, -1.0);
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
@ -1637,8 +1636,7 @@
|
|||
</condition>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
setprop("controls/engines/engine[0]/throttle", getprop("controls/engines/engine[0]/throttle") + 0.01);
|
||||
setprop("controls/engines/engine[1]/throttle", getprop("controls/engines/engine[0]/throttle") + 0.01); # Not a typo, always use engine[0] as a reference
|
||||
controls.incThrottle(0.01, 1.0);
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
|
Loading…
Add table
Reference in a new issue