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>
|
||||
</layers>
|
||||
|
||||
<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>
|
||||
<actions>
|
||||
<action>
|
||||
<name>right on</name>
|
||||
<type>adjust</type>
|
||||
<desc>brake</desc>
|
||||
<button>0</button>
|
||||
<x>-32</x>
|
||||
<y>-13</y>
|
||||
<w>64</w>
|
||||
<h>26</h>
|
||||
<property>/controls[0]/brakes[1]</property>
|
||||
<increment>1.0</increment>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>true</wrap>
|
||||
<button>0</button>
|
||||
</action>
|
||||
-->
|
||||
<action>
|
||||
<name>nose brake</name>
|
||||
<type>adjust</type>
|
||||
<x>-32</x>
|
||||
<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>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/controls/brakes[0]</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/controls/brakes[1]</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/controls/brakes[2]</property>
|
||||
</binding>
|
||||
</action>
|
||||
</actions>
|
||||
</PropertyList>
|
||||
|
|
|
@ -54,5 +54,20 @@
|
|||
<h>26</h>
|
||||
</layer>
|
||||
</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>
|
||||
|
|
Loading…
Add table
Reference in a new issue