1
0
Fork 0
fgdata/Aircraft/Instruments-3d/zkv500/ZKV500.xml

175 lines
4.1 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>ZKV500.ac</path>
<panel>
<path>Aircraft/Instruments-3d/zkv500/ZKV500-panel.xml</path>
<bottom-left>
<x-m>-0.002</x-m>
<y-m>-0.027</y-m>
<z-m>0.012</z-m>
</bottom-left>
<bottom-right>
<x-m>-0.002</x-m>
<y-m>0.06</y-m>
<z-m>0.012</z-m>
</bottom-right>
<top-left>
<x-m>-0.002</x-m>
<y-m>-0.027</y-m>
<z-m>0.15</z-m>
</top-left>
</panel>
<animation>
<type>select</type>
<condition>
<property>/sim/model/gps/redled/state</property>
</condition>
<object-name>LED.0_ON</object-name>
</animation>
<animation>
<type>select</type>
<condition>
<property>/sim/model/gps/greenled/state</property>
</condition>
<object-name>LED.1_ON</object-name>
</animation>
<animation>
<type>pick</type>
<object-name>knob.ONOFF</object-name>
<visible>true</visible>
<action>
<name>switch on and off</name>
<!-- this one will manage volume control soon too,
but for now keep it simple -->
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.switch_ON_OFF()</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob.LEFT</object-name>
<visible>true</visible>
<action>
<name>next menu</name>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.left_knob(1)</script>
</binding>
</action>
<action>
<name>previous menu</name>
<button>2</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.left_knob(-1)</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob.RIGHT</object-name>
<visible>true</visible>
<action>
<name>next item</name>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.right_knob(1)</script>
</binding>
</action>
<action>
<name>previous item</name>
<button>2</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.right_knob(-1)</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob.MODE</object-name>
<visible>true</visible>
<action>
<name>select next mode</name>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.select_mode(1)</script>
</binding>
</action>
<action>
<name>select previous mode</name>
<button>2</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.select_mode(-1)</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>button.ENTER</object-name>
<visible>true</visible>
<action>
<name>manage ENTER button (top left)</name>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.enter_button()</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>button.ESCAPE</object-name>
<visible>true</visible>
<action>
<name>manage ESCAPE button (top middle)</name>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.escape_button()</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>button.START</object-name>
<visible>true</visible>
<action>
<name>manage START button (top right)</name>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>zkv500.start_button()</script>
</binding>
</action>
</animation>
</PropertyList>