KLN89 GPS instrument - this only handles the switches, dials and providing a background - the logic and display is handled by a special c++ instrument
This commit is contained in:
parent
7b875227e1
commit
b4dc9ca967
1 changed files with 201 additions and 0 deletions
201
Aircraft/Instruments/kln89.xml
Normal file
201
Aircraft/Instruments/kln89.xml
Normal file
|
@ -0,0 +1,201 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
_______________________________________________________________________________
|
||||
KLN89B GPS instrument.
|
||||
|
||||
Started 2005 by David Luff, daveluff@ntlworld.com.
|
||||
|
||||
This is an instrument configuration file for the open-source flight
|
||||
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
|
||||
FlightGear property list defining the instrument's layers and actions.
|
||||
|
||||
Each instrument is composed of layers stacked on top of each other.
|
||||
A layer may be a texture (with transparent parts to show the layers
|
||||
underneath), text, or a special layer that switches between two
|
||||
others (say, to turn an indicator light on or off). Each layer can
|
||||
move independently in proportion to a property value, and text
|
||||
can be generated from property values as well: all of the layer's
|
||||
movements are defined as transformations.
|
||||
|
||||
Actions are hotspots on the instrument that will respond to a mouse
|
||||
click. Actions always modify the values of properties, either by
|
||||
adjusting them, toggling them, or swaping them with other
|
||||
properties' values.
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
<name>KLN89</name>
|
||||
<w-base>1024</w-base>
|
||||
<h-base>256</h-base>
|
||||
|
||||
<!-- Layers -->
|
||||
|
||||
<layers>
|
||||
|
||||
<layer>
|
||||
<name>background</name>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/KLN89-dcl2.rgb</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.8867</x2>
|
||||
<y1>0.4668</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
<w>908</w>
|
||||
<h>273</h>
|
||||
</layer>
|
||||
|
||||
</layers>
|
||||
|
||||
<!-- Actions -->
|
||||
|
||||
<actions>
|
||||
|
||||
<action>
|
||||
<name>MSG Button</name>
|
||||
<button>0</button>
|
||||
<x>-285</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_msg_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>OBS Button</name>
|
||||
<button>0</button>
|
||||
<x>-200</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_obs_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>ALT Button</name>
|
||||
<button>0</button>
|
||||
<x>-115</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_alt_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>NRST Button</name>
|
||||
<button>0</button>
|
||||
<x>-30</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_nrst_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>DTO Button</name>
|
||||
<button>0</button>
|
||||
<x>55</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_dto_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>CLR Button</name>
|
||||
<button>0</button>
|
||||
<x>140</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_clr_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>ENT Button</name>
|
||||
<button>0</button>
|
||||
<x>225</x>
|
||||
<y>-122</y>
|
||||
<w>50</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_ent_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>CRSR Button</name>
|
||||
<button>0</button>
|
||||
<x>340</x>
|
||||
<y>40</y>
|
||||
<w>70</w>
|
||||
<h>35</h>
|
||||
<binding>
|
||||
<command>kln89_crsr_pressed</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Outer Dial Clockwise</name>
|
||||
<button>0</button>
|
||||
<x>410</x>
|
||||
<y>-105</y>
|
||||
<w>35</w>
|
||||
<h>100</h>
|
||||
<binding>
|
||||
<command>kln89_knob1right1</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Outer Dial Anti-Clockwise</name>
|
||||
<button>0</button>
|
||||
<x>300</x>
|
||||
<y>-105</y>
|
||||
<w>38</w>
|
||||
<h>100</h>
|
||||
<binding>
|
||||
<command>kln89_knob1left1</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Inner Dial Clockwise</name>
|
||||
<button>0</button>
|
||||
<x>375</x>
|
||||
<y>-85</y>
|
||||
<w>35</w>
|
||||
<h>60</h>
|
||||
<binding>
|
||||
<command>kln89_knob2right1</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>Inner Dial Anti-Clockwise</name>
|
||||
<button>0</button>
|
||||
<x>340</x>
|
||||
<y>-85</y>
|
||||
<w>30</w>
|
||||
<h>60</h>
|
||||
<binding>
|
||||
<command>kln89_knob2left1</command>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
</actions>
|
||||
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue