AJ MacLEOD: replace obsolete and broken throttle bindings by controls
wrapper call mf: I didn't find a trace of that /autopilot/controls-overrides/ property in the fgfs source code and most of the data package. There are regular complaints in the IRC channel about numpad keys 9 & 3 not working.
This commit is contained in:
parent
10093284ba
commit
25e61dad0d
1 changed files with 9 additions and 6 deletions
15
keyboard.xml
15
keyboard.xml
|
@ -387,11 +387,13 @@ calculated by adding 256 to the GLUT key value in glut.h.
|
|||
|
||||
<key n="51">
|
||||
<name>3</name>
|
||||
<desc>Decrease throttle or autopilot autothrottle.</desc>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/autopilot/control-overrides/throttle</property>
|
||||
<step type="double">-0.01</step>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
controls.incThrottle(-0.01, -1.0)
|
||||
</script>
|
||||
</binding>
|
||||
<mod-shift>
|
||||
<desc>Look back right.</desc>
|
||||
|
@ -496,9 +498,10 @@ calculated by adding 256 to the GLUT key value in glut.h.
|
|||
<desc>Increase throttle or autopilot autothrottle.</desc>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/autopilot/control-overrides/throttle</property>
|
||||
<step type="double">0.01</step>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
controls.incThrottle(0.01, 1.0)
|
||||
</script>
|
||||
</binding>
|
||||
<mod-shift>
|
||||
<desc>Look front right.</desc>
|
||||
|
|
Loading…
Reference in a new issue