<?xml version="1.0"?>
<!DOCTYPE PropertyList SYSTEM "panel.dtd">
<!-- This part should be the same for any 3D panel.  Customize the actions section -->
<PropertyList>
	<name>Spitfire Panel Hotspots</name>
	<background>Aircraft/Spitfire/Models/transparent-bg.rgb</background>
	<w>1024</w>
	<h>1024</h>
	<y-offset>0</y-offset>
	<instruments>
		<instrument>
			<name>Flaps Control</name>
			<x>512</x>
			<y>384</y>
			<w>1024</w>
			<h>768</h>
			<w-base>1024</w-base>
			<h-base>1024</h-base>
			<layers>
				<layer>
					<name>background</name>
					<texture>
						<!-- <path>Aircraft/Spitfire/Models/hotspotgrid.rgb</path>-->
						<path>Aircraft/Spitfire/Models/transparent-bg.rgb</path>
						<x1>0.0</x1>
						<y1>0.0</y1>
						<x2>1.0</x2>
						<y2>1.0</y2>
					</texture>
				</layer>
			</layers>

			<!-- define hotspot actions below -->
			<actions>
				<!-- altimeter hotspots -->
				<action>
					<name>calibrate fine</name>
					<button>0</button>
					<x>-150</x>
					<y>-140</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/altimeter/setting-inhg</property>
						<step>-0.01</step>
						<min>26.0</min>
						<max>33.0</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<action>
					<name>calibrate coarse</name>
					<button>1</button>
					<x>-150</x>
					<y>-140</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/altimeter/setting-inhg</property>
						<step>-0.1</step>
						<min>26.0</min>
						<max>33.0</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<action>
					<name>calibrate fine</name>
					<button>0</button>
					<x>-130</x>
					<y>-140</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/altimeter/setting-inhg</property>
						<step>0.01</step>
						<min>26.0</min>
						<max>33.0</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<action>
					<name>calibrate coarse</name>
					<button>1</button>
					<x>-130</x>
					<y>-140</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/altimeter/setting-inhg</property>
						<step>0.1</step>
						<min>26.0</min>
						<max>33.0</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<!-- magneto switch hotspots 
				<action>
					<name>switch up left</name>
					<button>0</button>
					<x>-435</x>
					<y>-220</y>
					<w>20</w>
					<h>80</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.setleftMagswitch(1);
						</script>
					</binding>
				</action>
				<action>
					<name>switch down left</name>
					<button>0</button>
					<x>-435</x>
					<y>-300</y>
					<w>20</w>
					<h>80</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.setleftMagswitch(0);
						</script>
					</binding>
				</action>
				<action>
					<name>switch up right</name>
					<button>0</button>
					<x>-405</x>
					<y>-220</y>
					<w>20</w>
					<h>80</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.setrightMagswitch(1);
						</script>
					</binding>
				</action>
				<action>
					<name>switch down right</name>
					<button>0</button>
					<x>-405</x>
					<y>-300</y>
					<w>20</w>
					<h>80</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.setrightMagswitch(0);
						</script>
					</binding>
				</action>-->
				<!-- clock hotspots -->
				<action>
					<name>adjust left fine</name>
					<button>0</button>
					<x>-420</x>
					<y>-80</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/clock/offset-sec</property>
						<step>-60</step>
						<min>0</min>
						<max>43200</max>
						<wrap>true</wrap>
					</binding>
				</action>
				<action>
					<name>adjust left coarse</name>
					<button>1</button>
					<x>-420</x>
					<y>-80</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/clock/offset-sec</property>
						<step>-900</step>
						<min>0</min>
						<max>43200</max>
						<wrap>1</wrap>
					</binding>
				</action>
				<action>
					<name>adjust right fine</name>
					<button>0</button>
					<x>-400</x>
					<y>-80</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/clock/offset-sec</property>
						<step>60</step>
						<min>0</min>
						<max>43200</max>
						<wrap>true</wrap>
					</binding>
				</action>
				<action>
					<name>adjust right coarse</name>
					<button>1</button>
					<x>-400</x>
					<y>-80</y>
					<w>20</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/instrumentation/clock/offset-sec</property>
						<step>900</step>
						<min>0</min>
						<max>43200</max>
						<wrap>1</wrap>
					</binding>
				</action>

				<!-- starter push 
				<action>
					<name>starter push</name>
					<button>0</button>
					<x>130</x>
					<y>-280</y>
					<w>35</w>
					<h>50</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.startCof(1);
						</script>
					</binding>
					<mod-up>
						<binding>
							<command>nasal</command>
							<script>
								spitfire.startCof(0);
							</script>
						</binding>
					</mod-up>
				</action>-->
				<!-- cut-off ring-pull 
				<action>
					<name>cut-off</name>
					<button>0</button>
					<x>260</x>
					<y>-545</y>
					<w>50</w>
					<h>135</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.pullCutoff(1);
						</script>
					</binding>
					<mod-up>
						<binding>
							<command>nasal</command>
							<script>
								spitfire.pullCutoff(0);

							</script>
						</binding>
					</mod-up>
				</action>-->
				<!-- fuel gauge push 
				<action>
					<name>push to read fuel</name>
					<button>0</button>
					<x>260</x>
					<y>-270</y>
					<w>35</w>
					<h>50</h>
					<binding>
						<command>property-assign</command>
						<property>/controls/switches/fuel-gauge</property>
						<value type="bool">1</value>
					</binding>
					<mod-up>
						<binding>
							<command>property-assign</command>
							<property>/controls/switches/fuel-gauge</property>
							<value type="bool">0</value>
						</binding>
					</mod-up>
				</action>-->
				<!-- fuel cocks 
				<action>
					<name>lever upper open</name>
					<button>0</button>
					<x>125</x>
					<y>-450</y>
					<w>30</w>
					<h>90</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.openCock(0,1);
						</script>
					</binding>
				</action>
				<action>
					<name>lever upper close</name>
					<button>0</button>
					<x>125</x>
					<y>-575</y>
					<w>30</w>
					<h>90</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.openCock(0,0);
						</script>
					</binding>
				</action>
				<action>
					<name>lever lower open</name>
					<button>0</button>
					<x>80</x>
					<y>-450</y>
					<w>30</w>
					<h>90</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.openCock(1,1);
						</script>
					</binding>
				</action>
				<action>
					<name>lever lower close</name>
					<button>0</button>
					<x>80</x>
					<y>-575</y>
					<w>30</w>
					<h>90</h>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.openCock(1,0);
						</script>
					</binding>
				</action>-->
				<!-- primer pump -->
				<action>
					<name>primer pump</name>
					<button>0</button>
					<x>185</x>
					<y>-510</y>
					<w>40</w>
					<h>100</h>
					<repeatable type="bool">false</repeatable>
					<binding>
						<command>nasal</command>
						<script>
							spitfire.pumpPrimer(1);
						</script>
					</binding>
					<mod-up>
						<binding>
							<command>nasal</command>
							<script>
								spitfire.pumpPrimer(0);
							</script>
						</binding>
					</mod-up>
				</action>
				<!-- gunsight switches -->
				<action>
					<name>gun sight main up</name>
					<button>0</button>
					<x>-130</x>
					<y>310</y>
					<w>35</w>
					<h>30</h>
					<binding>
						<command>property-assign</command>
						<property>/controls/switches/gun-sight-main</property>
						<value type="bool">1</value>
					</binding>
				</action>
				<action>
					<name>gun sight main down</name>
					<button>0</button>
					<x>-130</x>
					<y>280</y>
					<w>35</w>
					<h>30</h>
					<binding>
						<command>property-assign</command>
						<property>/controls/switches/gun-sight-main</property>
						<value type="bool">0</value>
					</binding>
				</action>
				<action>
					<name>dimmer up fine</name>
					<button>0</button>
					<x>-90</x>
					<y>280</y>
					<w>20</w>
					<h>50</h>
					<binding>
						<command>property-adjust</command>
						<property>/controls/switches/gun-sight-dimmer</property>
						<step>0.10</step>
						<min>0</min>
						<max>0.9</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<action>
					<name>dimmer up coarse</name>
					<button>1</button>
					<x>-90</x>
					<y>280</y>
					<w>20</w>
					<h>50</h>
					<binding>
						<command>property-adjust</command>
						<property>/controls/switches/gun-sight-dimmer</property>
						<step>0.20</step>
						<min>0</min>
						<max>0.9</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<action>
					<name>dimmer down fine</name>
					<button>0</button>
					<x>-70</x>
					<y>280</y>
					<w>20</w>
					<h>50</h>
					<binding>
						<command>property-adjust</command>
						<property>/controls/switches/gun-sight-dimmer</property>
						<step>-0.10</step>
						<min>0</min>
						<max>0.9</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<action>
					<name>dimmer down coarse</name>
					<button>1</button>
					<x>-70</x>
					<y>280</y>
					<w>20</w>
					<h>50</h>
					<binding>
						<command>property-adjust</command>
						<property>/controls/switches/gun-sight-dimmer</property>
						<step>-0.20</step>
						<min>0</min>
						<max>0.9</max>
						<wrap>false</wrap>
					</binding>
				</action>
				<!-- navigation light switch 
				<action>
					<name>nav light up</name>
					<button>0</button>
					<x>-315</x>
					<y>240</y>
					<w>30</w>
					<h>30</h>
					<binding>
						<command>property-assign</command>
						<property>/controls/lighting/nav-lights</property>
						<value type="bool">1</value>
					</binding>
				</action>
				<action>
					<name>nav light down</name>
					<button>0</button>
					<x>-315</x>
					<y>210</y>
					<w>30</w>
					<h>30</h>
					<binding>
						<command>property-assign</command>
						<property>/controls/lighting/nav-lights</property>
						<value type="bool">0</value>
					</binding>
				</action>-->
				<!--  cockpit light dimmer hotspots 
				<action>
					<name>panel brighter</name>
					<button>0</button>
					<x>-110</x>
					<y>-280</y>
					<w>30</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/controls/lighting/panel-norm</property>
						<step>-0.1</step>
						<min>0</min>
						<max>1</max>
						<wrap>0</wrap>
					</binding>
				</action>
				<action>
					<name>panel dimmer</name>
					<button>0</button>
					<x>-80</x>
					<y>-280</y>
					<w>30</w>
					<h>30</h>
					<binding>
						<command>property-adjust</command>
						<property>/controls/lighting/panel-norm</property>
						<step>0.1</step>
						<min>0</min>
						<max>1</max>
						<wrap>0</wrap>
					</binding>
				</action>-->
			</actions>
		</instrument>
	</instruments>
</PropertyList>
