panel_throttlequad.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0"?>
  2. <!--
  3. Edgley OA-7 Optica
  4. Gary R. Neely 'Buckaroo'
  5. -->
  6. <PropertyList>
  7. <name>Column</name>
  8. <background>Aircraft/Optica/Panels/transparent-bg.rgb</background>
  9. <w>8</w>
  10. <h>32</h>
  11. <instruments>
  12. <instrument>
  13. <name>panel hotspots</name>
  14. <x>4</x>
  15. <y>16</y>
  16. <w>8</w>
  17. <h>32</h>
  18. <w-base>8</w-base>
  19. <h-base>32</h-base>
  20. <actions>
  21. <action>
  22. <name>Friction1</name>
  23. <button>0</button>
  24. <x>0</x>
  25. <y>12</y>
  26. <w>2</w>
  27. <h>4</h>
  28. <binding>
  29. <command>property-toggle</command>
  30. <property>/controls/switches/friction</property>
  31. </binding>
  32. <binding>
  33. <command>nasal</command>
  34. <script>Optica.Mixture_Report();</script>
  35. </binding>
  36. </action>
  37. <action>
  38. <name>TrimDn</name>
  39. <button>0</button>
  40. <x>0</x>
  41. <y>1</y>
  42. <w>4</w>
  43. <h>7</h>
  44. <binding>
  45. <command>property-adjust</command>
  46. <property>/controls/flight/elevator-trim</property>
  47. <step>0.01</step>
  48. <min>-1</min>
  49. <max>1</max>
  50. <wrap>false</wrap>
  51. </binding>
  52. </action>
  53. <action>
  54. <name>TrimUp</name>
  55. <button>0</button>
  56. <x>0</x>
  57. <y>-6</y>
  58. <w>4</w>
  59. <h>7</h>
  60. <binding>
  61. <command>property-adjust</command>
  62. <property>/controls/flight/elevator-trim</property>
  63. <step>-0.01</step>
  64. <min>-1</min>
  65. <max>1</max>
  66. <wrap>false</wrap>
  67. </binding>
  68. </action>
  69. <action>
  70. <name>FlapSwitchDn</name>
  71. <button>0</button>
  72. <x>-3</x>
  73. <y>-8</y>
  74. <w>3</w>
  75. <h>6</h>
  76. <repeatable>true</repeatable>
  77. <binding>
  78. <command>nasal</command>
  79. <script>controls.flapsDown(1)</script>
  80. </binding>
  81. <mod-up>
  82. <binding>
  83. <command>nasal</command>
  84. <script>controls.flapsDown(0)</script>
  85. </binding>
  86. </mod-up>
  87. </action>
  88. <action>
  89. <name>FlapSwitchUp</name>
  90. <button>1</button>
  91. <x>-3</x>
  92. <y>-8</y>
  93. <w>3</w>
  94. <h>6</h>
  95. <repeatable>true</repeatable>
  96. <binding>
  97. <command>nasal</command>
  98. <script>controls.flapsDown(-1)</script>
  99. </binding>
  100. <mod-up>
  101. <binding>
  102. <command>nasal</command>
  103. <script>controls.flapsDown(0)</script>
  104. </binding>
  105. </mod-up>
  106. </action>
  107. <action>
  108. <name>FuelSwitch1</name>
  109. <button>0</button>
  110. <x>-4</x>
  111. <y>-15</y>
  112. <w>7</w>
  113. <h>5</h>
  114. <binding>
  115. <command>nasal</command>
  116. <script>Optica.tank_switch(1);</script>
  117. </binding>
  118. </action>
  119. <action>
  120. <name>FuelSwitch0</name>
  121. <button>1</button>
  122. <x>-4</x>
  123. <y>-15</y>
  124. <w>7</w>
  125. <h>5</h>
  126. <binding>
  127. <command>nasal</command>
  128. <script>Optica.tank_switch(0);</script>
  129. </binding>
  130. </action>
  131. </actions>
  132. </instrument>
  133. </instruments>
  134. </PropertyList>