1
0
Fork 0
fgdata/Input/Event/GoFlight/EFIS.xml

421 lines
9.3 KiB
XML
Raw Normal View History

2016-11-08 13:40:54 +00:00
<PropertyList>
<name>GoFlight GF EFIS</name>
<debug-events type="bool">true</debug-events>
<nasal>
<open>
<![CDATA[
]]>
</open>
</nasal>
<event>
<name>rel-dial-4</name>
<binding>
<command>property-adjust</command>
<property>/input/goflight/efis/height</property>
<min type="double">0.0</min>
</binding>
<interpolater>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>1</dep></entry>
<entry><ind>2</ind><dep>2</dep></entry>
<entry><ind>3</ind><dep>5</dep></entry>
<entry><ind>4</ind><dep>10</dep></entry>
</interpolater>
</event>
<event>
<name>rel-dial-5</name>
<binding>
<command>property-adjust</command>
<property>/input/goflight/efis/baro</property>
<min type="double">108.0</min>
<max type="double">117.95</max>
<wrap type="bool">true</wrap>
</binding>
<interpolater>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>1</dep></entry>
<entry><ind>2</ind><dep>2</dep></entry>
<entry><ind>3</ind><dep>4</dep></entry>
<entry><ind>4</ind><dep>8</dep></entry>
</interpolater>
</event>
<!--
<event>
<name>led-misc</name>
<setting>
<value>4</value>
<condition>
<equals>
<property>/input/goflight/mfr/active</property>
<value>0</value>
</equals>
</condition>
</setting>
<setting>
<value>7</value>
<condition>
<not-equals>
<property>/input/goflight/mfr/active</property>
<value>0</value>
</not-equals>
</condition>
</setting>
</event>
<event>
<name>led-misc-1</name>
<setting>
<value>7</value>
<condition>
<equals>
<property>/input/goflight/mfr/active</property>
<value>1</value>
</equals>
</condition>
</setting>
<setting>
<value>0</value>
<condition>
<not-equals>
<property>/input/goflight/mfr/active</property>
<value>1</value>
</not-equals>
</condition>
</setting>
</event>
-->
<event>
<desc>STA Button</desc>
<name>button-1</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/sta</property>
</binding>
</event>
<event>
<desc>WXR Button</desc>
<name>button-2</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/wxr</property>
</binding>
</event>
<event>
<desc>TERR Button</desc>
<name>button-3</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 3");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-4</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/arpt</property>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-5</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 5");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-6</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 6");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-7</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 7");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-8</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 8");</script>
</binding>
</event>
<event>
<desc>TERR Button</desc>
<name>button-9</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/terr</property>
</binding>
</event>
<event>
<desc>POS Button</desc>
<name>button-10</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/pos</property>
</binding>
</event>
<event>
<desc>DATA Button</desc>
<name>button-11</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/data</property>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-12</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/arpt</property>
</binding>
</event>
<event>
<desc>WPT Button</desc>
<name>button-13</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/wpt</property>
</binding>
</event>
<event>
<desc>STA Button</desc>
<name>button-14</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/sta</property>
</binding>
</event>
<event>
<desc>WXR Button</desc>
<name>button-15</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/wxr</property>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-16</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 16");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-17</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 17");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-18</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 18");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-19</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 19");</script>
</binding>
</event>
<event>
<desc>in/HPA toggle</desc>
<name>button-20</name>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/kpa-mode</property>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-21</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 21");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-22</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 22");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-23</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 23");</script>
</binding>
</event>
<event>
<desc>ARPT Button</desc>
<name>button-24</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button 24");</script>
</binding>
</event>
<event>
<desc>ADF-L switch</desc>
<name>button-25</name>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/lh-vor-adf</property>
<value>2</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/lh-vor-adf</property>
<value>0</value>
</binding>
</mod-up>
</event>
<event>
<desc>VOR-L switch</desc>
<name>button-26</name>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/lh-vor-adf</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/lh-vor-adf</property>
<value>0</value>
</binding>
</mod-up>
</event>
<event>
<desc>ADF-R switch</desc>
<name>button-27</name>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/rh-vor-adf</property>
<value>2</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/rh-vor-adf</property>
<value>0</value>
</binding>
</mod-up>
</event>
<event>
<desc>VOR-R switch</desc>
<name>button-28</name>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/rh-vor-adf</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/efis/inputs/rh-vor-adf</property>
<value>0</value>
</binding>
</mod-up>
</event>
<event>
<desc>MTRS Button</desc>
<name>button-29</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button MTRS");</script>
</binding>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/alt-meters</property>
</binding>
</event>
<event>
<desc>MTRS Button</desc>
<name>button-30</name>
<binding>
<command>nasal</command>
<script>debug.dump("Button FPV");</script>
</binding>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/fpv</property>
</binding>
</event>
<event>
<desc>DH/MCA knob push</desc>
<name>button-21</name>
<binding>
<command>nasal</command>
<script>debug.dump("DH/MCA toggle");</script>
</binding>
<binding>
<command>property-toggle</command>
<property>/instrumentation/efis/inputs/minimums-mode</property>
</binding>
</event>
</PropertyList>