panel_overhead.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0"?>
  2. <!--
  3. Edgley OA-7 Optica
  4. Gary R. Neely 'Buckaroo', Jan 2011
  5. -->
  6. <PropertyList>
  7. <name>Column</name>
  8. <background>Aircraft/Optica/Panels/transparent-bg.rgb</background>
  9. <w>64</w>
  10. <h>32</h>
  11. <instruments>
  12. <instrument>
  13. <name>panel hotspots</name>
  14. <x>32</x>
  15. <y>16</y>
  16. <w>64</w>
  17. <h>32</h>
  18. <w-base>64</w-base>
  19. <h-base>32</h-base>
  20. <actions>
  21. <!-- OAT -->
  22. <action>
  23. <name>OAT</name>
  24. <button>0</button>
  25. <x>25</x>
  26. <y>-5</y>
  27. <w>4</w>
  28. <h>5</h>
  29. <binding>
  30. <condition>
  31. <property>/systems/electrical/outputs/oat</property>
  32. </condition>
  33. <command>property-adjust</command>
  34. <property>/instrumentation/oat/mode</property>
  35. <step>1</step>
  36. <min>0</min>
  37. <max>3</max> <!-- max should be 2, but property-adjust doeesn't work quite right -->
  38. <wrap>true</wrap>
  39. </binding>
  40. </action>
  41. <!-- Lighting -->
  42. <action>
  43. <name>Nav</name>
  44. <button>0</button>
  45. <x>-12</x>
  46. <y>-10</y>
  47. <w>4</w>
  48. <h>6</h>
  49. <binding>
  50. <command>property-toggle</command>
  51. <property>/controls/lighting/nav</property>
  52. </binding>
  53. </action>
  54. <action>
  55. <name>Tail</name>
  56. <button>0</button>
  57. <x>-7</x>
  58. <y>-10</y>
  59. <w>4</w>
  60. <h>6</h>
  61. <binding>
  62. <command>property-toggle</command>
  63. <property>/controls/lighting/tail</property>
  64. </binding>
  65. </action>
  66. <action>
  67. <name>Landing</name>
  68. <button>0</button>
  69. <x>-2</x>
  70. <y>-10</y>
  71. <w>4</w>
  72. <h>6</h>
  73. <binding>
  74. <command>property-toggle</command>
  75. <property>/controls/lighting/landing</property>
  76. </binding>
  77. </action>
  78. <action>
  79. <name>Taxi</name>
  80. <button>0</button>
  81. <x>3</x>
  82. <y>-10</y>
  83. <w>4</w>
  84. <h>6</h>
  85. <binding>
  86. <command>property-toggle</command>
  87. <property>/controls/lighting/taxi</property>
  88. </binding>
  89. </action>
  90. <action>
  91. <name>INOP1</name>
  92. <button>0</button>
  93. <x>8</x>
  94. <y>-10</y>
  95. <w>4</w>
  96. <h>6</h>
  97. <binding>
  98. <command>property-toggle</command>
  99. <property>/controls/lighting/inop1</property>
  100. </binding>
  101. </action>
  102. <!-- Panel lights knob hotspots -->
  103. <action>
  104. <name>panel inc</name>
  105. <button>0</button>
  106. <x>-11</x>
  107. <y>2</y>
  108. <w>8</w>
  109. <h>11</h>
  110. <binding>
  111. <command>property-adjust</command>
  112. <property>controls/lighting/panel-norm</property>
  113. <step>0.1</step>
  114. <min>0</min>
  115. <max>1</max>
  116. <wrap>false</wrap>
  117. </binding>
  118. </action>
  119. <action>
  120. <name>panel dec</name>
  121. <button>1</button>
  122. <x>-11</x>
  123. <y>2</y>
  124. <w>8</w>
  125. <h>11</h>
  126. <binding>
  127. <command>property-adjust</command>
  128. <property>controls/lighting/panel-norm</property>
  129. <step>-0.1</step>
  130. <min>0</min>
  131. <max>1</max>
  132. <wrap>false</wrap>
  133. </binding>
  134. </action>
  135. </actions>
  136. </instrument>
  137. </instruments>
  138. </PropertyList>