Adds spoiler function with j/k keys for close/open spoilers. Sets the property /controls/flight/spoilers.
This commit is contained in:
parent
a48332cfdf
commit
4dd8d9bfcc
1 changed files with 22 additions and 0 deletions
22
keyboard.xml
22
keyboard.xml
|
@ -762,6 +762,28 @@ calculated by adding 256 to the GLUT key value in glut.h.
|
||||||
</binding>
|
</binding>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
|
<key n="106">
|
||||||
|
<name>j</name>
|
||||||
|
<desc>Decrease spoilers.</desc>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/controls/flight/spoilers</property>
|
||||||
|
<min>0</min>
|
||||||
|
<step type="double">-0.25</step>
|
||||||
|
</binding>
|
||||||
|
</key>
|
||||||
|
|
||||||
|
<key n="107">
|
||||||
|
<name>k</name>
|
||||||
|
<desc>Increase spoilers.</desc>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/controls/flight/spoilers</property>
|
||||||
|
<max>1</max>
|
||||||
|
<step type="double">0.25</step>
|
||||||
|
</binding>
|
||||||
|
</key>
|
||||||
|
|
||||||
<key n="108">
|
<key n="108">
|
||||||
<name>l</name>
|
<name>l</name>
|
||||||
<desc>Toggle tail-wheel lock.</desc>
|
<desc>Toggle tail-wheel lock.</desc>
|
||||||
|
|
Loading…
Reference in a new issue