1
0
Fork 0

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:
mfranz 2007-03-23 20:03:28 +00:00
parent 10093284ba
commit 25e61dad0d

View file

@ -387,11 +387,13 @@ calculated by adding 256 to the GLUT key value in glut.h.
<key n="51"> <key n="51">
<name>3</name> <name>3</name>
<desc>Decrease throttle or autopilot autothrottle.</desc>
<repeatable type="bool">true</repeatable> <repeatable type="bool">true</repeatable>
<binding> <binding>
<command>property-adjust</command> <command>nasal</command>
<property>/autopilot/control-overrides/throttle</property> <script>
<step type="double">-0.01</step> controls.incThrottle(-0.01, -1.0)
</script>
</binding> </binding>
<mod-shift> <mod-shift>
<desc>Look back right.</desc> <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> <desc>Increase throttle or autopilot autothrottle.</desc>
<repeatable type="bool">true</repeatable> <repeatable type="bool">true</repeatable>
<binding> <binding>
<command>property-adjust</command> <command>nasal</command>
<property>/autopilot/control-overrides/throttle</property> <script>
<step type="double">0.01</step> controls.incThrottle(0.01, 1.0)
</script>
</binding> </binding>
<mod-shift> <mod-shift>
<desc>Look front right.</desc> <desc>Look front right.</desc>