toggle action on gear and brake indicators. Not realistic, but useful nonetheless
This commit is contained in:
parent
1b79d0b252
commit
ae0fd9eee1
2 changed files with 30 additions and 39 deletions
|
@ -61,50 +61,26 @@
|
||||||
</layer>
|
</layer>
|
||||||
</layers>
|
</layers>
|
||||||
|
|
||||||
<actions>
|
<actions>
|
||||||
<!--
|
|
||||||
<action>
|
|
||||||
<name>left on</name>
|
|
||||||
<type>adjust</type>
|
|
||||||
<x>-32</x>
|
|
||||||
<y>-13</y>
|
|
||||||
<w>64</w>
|
|
||||||
<h>26</h>
|
|
||||||
<property>/controls[0]/brakes[0]</property>
|
|
||||||
<increment>1.0</increment>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<button>0</button>
|
|
||||||
</action>
|
|
||||||
<action>
|
<action>
|
||||||
<name>right on</name>
|
<desc>brake</desc>
|
||||||
<type>adjust</type>
|
<button>0</button>
|
||||||
<x>-32</x>
|
<x>-32</x>
|
||||||
<y>-13</y>
|
<y>-13</y>
|
||||||
<w>64</w>
|
<w>64</w>
|
||||||
<h>26</h>
|
<h>26</h>
|
||||||
<property>/controls[0]/brakes[1]</property>
|
<binding>
|
||||||
<increment>1.0</increment>
|
<command>property-toggle</command>
|
||||||
<min>0</min>
|
<property>/controls/brakes[0]</property>
|
||||||
<max>1</max>
|
</binding>
|
||||||
<wrap>true</wrap>
|
<binding>
|
||||||
<button>0</button>
|
<command>property-toggle</command>
|
||||||
</action>
|
<property>/controls/brakes[1]</property>
|
||||||
-->
|
</binding>
|
||||||
<action>
|
<binding>
|
||||||
<name>nose brake</name>
|
<command>property-toggle</command>
|
||||||
<type>adjust</type>
|
<property>/controls/brakes[2]</property>
|
||||||
<x>-32</x>
|
</binding>
|
||||||
<y>-13</y>
|
|
||||||
<w>64</w>
|
|
||||||
<h>26</h>
|
|
||||||
<property>/controls[0]/brakes[2]</property> <!-- nose brake -->
|
|
||||||
<increment>1.0</increment>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<button>0</button>
|
|
||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -54,5 +54,20 @@
|
||||||
<h>26</h>
|
<h>26</h>
|
||||||
</layer>
|
</layer>
|
||||||
</layers>
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<desc>gear</desc>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-32</x>
|
||||||
|
<y>-13</y>
|
||||||
|
<w>64</w>
|
||||||
|
<h>26</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>/controls/gear-down</property>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Add table
Reference in a new issue