1
0
Fork 0
fgdata/Aircraft/Instruments-3d/Century-IIB/Century-IIBPanel.xml

100 lines
3.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<name>CenturyIIB</name>
<background>Aircraft/Instruments-3d/Century-IIB/transparent.rgb</background>
<w>158</w>
<h>74</h>
<instruments>
<instrument>
<name>panel hotspots</name>
<x>79</x>
<y>37</y>
<w>158</w>
<h>74</h>
<w-base>158</w-base>
<h-base>74</h-base>
<actions>
<!-- AP Button -->
<action>
<name>ApButton</name>
<button>0</button>
<x>-75</x>
<y>-20</y>
<w>30</w>
<h>40</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/CENTURYIIB/controls/roll</property>
</binding>
<binding>
<command>nasal</command>
<script>CenturyIIB.apRollControl()</script>
</binding>
</action>
<!-- HDG Button -->
<action>
<name>HdgButton</name>
<button>0</button>
<x>34</x>
<y>-20</y>
<w>30</w>
<h>40</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/CENTURYIIB/controls/hdg</property>
</binding>
<binding>
<command>nasal</command>
<script>CenturyIIB.apHdgControl()</script>
</binding>
</action>
<!-- ROLL decrease -->
<action>
<name>ROLL decrease</name>
<button>0</button>
<x>-35</x>
<y>-30</y>
<w>30</w>
<h>40</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/CENTURYIIB/settings/roll-knob-deg</property>
<step>-0.5</step>
<min>-30.0</min>
<max>30.0</max>
</binding>
<binding>
<command>nasal</command>
<script>CenturyIIB.rollKnobUpdate()</script>
</binding>
</action>
<!-- ROLL increase -->
<action>
<name>ROLL increase</name>
<button>0</button>
<x>-5</x>
<y>-30</y>
<w>30</w>
<h>40</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/CENTURYIIB/settings/roll-knob-deg</property>
<step>0.5</step>
<min>-30.0</min>
<max>30.0</max>
</binding>
<binding>
<command>nasal</command>
<script>CenturyIIB.rollKnobUpdate()</script>
</binding>
</action>
</actions>
</instrument>
</instruments>
</PropertyList>