Honeycomb-Aeronautical-Alpha-Flight-Controls.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <name type="string">Honeycomb Aeronautical Alpha Flight Controls</name>
  4. <axis>
  5. <desc type="string">Aileron</desc>
  6. <binding>
  7. <command type="string">property-scale</command>
  8. <property type="string">/controls/flight/aileron</property>
  9. <factor type="double">1</factor>
  10. <offset type="double">0</offset>
  11. <power type="double">1</power>
  12. </binding>
  13. </axis>
  14. <axis n="1">
  15. <desc type="string">Elevator</desc>
  16. <binding>
  17. <command type="string">property-scale</command>
  18. <property type="string">/controls/flight/elevator</property>
  19. <factor type="double">-1</factor>
  20. <offset type="double">0</offset>
  21. <power type="double">1</power>
  22. </binding>
  23. </axis>
  24. <button n="21">
  25. <desc type="string">Becaon Off</desc>
  26. <binding>
  27. <command type="string">property-assign</command>
  28. <property type="string">/controls/lighting/beacon</property>
  29. <value type="bool">false</value>
  30. </binding>
  31. <repeatable type="double">0</repeatable>
  32. </button>
  33. <button n="20">
  34. <desc type="string">Becaon On</desc>
  35. <binding>
  36. <command type="string">property-assign</command>
  37. <property type="string">/controls/lighting/beacon</property>
  38. <value type="bool">true</value>
  39. </binding>
  40. <repeatable type="double">0</repeatable>
  41. </button>
  42. <button n="23">
  43. <desc type="string">Landing Lights Off</desc>
  44. <binding>
  45. <command type="string">property-assign</command>
  46. <property type="string">/controls/lighting/landing-lights</property>
  47. <value type="bool">false</value>
  48. </binding>
  49. <repeatable type="double">0</repeatable>
  50. </button>
  51. <button n="22">
  52. <desc type="string">Landing Lights On</desc>
  53. <binding>
  54. <command type="string">property-assign</command>
  55. <property type="string">/controls/lighting/landing-lights</property>
  56. <value type="bool">true</value>
  57. </binding>
  58. <repeatable type="double">0</repeatable>
  59. </button>
  60. <button n="25">
  61. <desc type="string">Taxi Lights Off</desc>
  62. <binding>
  63. <command type="string">property-assign</command>
  64. <property type="string">/controls/lighting/taxi-light</property>
  65. <value type="bool">false</value>
  66. </binding>
  67. <repeatable type="double">0</repeatable>
  68. </button>
  69. <button n="26">
  70. <desc type="string">Taxi Lights On</desc>
  71. <binding>
  72. <command type="string">property-assign</command>
  73. <property type="string">/controls/lighting/taxi-light</property>
  74. <value type="bool">true</value>
  75. </binding>
  76. <repeatable type="double">0</repeatable>
  77. </button>
  78. <button n="27">
  79. <desc type="string">Nav Lights Off</desc>
  80. <binding>
  81. <command type="string">property-assign</command>
  82. <property type="string">/controls/lighting/nav-lights</property>
  83. <value type="bool">false</value>
  84. </binding>
  85. <repeatable type="double">0</repeatable>
  86. </button>
  87. <button n="26">
  88. <desc type="string">Nav Lights On</desc>
  89. <binding>
  90. <command type="string">property-assign</command>
  91. <property type="string">/controls/lighting/nav-lights</property>
  92. <value type="bool">true</value>
  93. </binding>
  94. <repeatable type="double">0</repeatable>
  95. </button>
  96. <button n="29">
  97. <desc type="string">Strobe Lights Off</desc>
  98. <binding>
  99. <command type="string">property-assign</command>
  100. <property type="string">/controls/lighting/strobe</property>
  101. <value type="bool">false</value>
  102. </binding>
  103. <repeatable type="double">0</repeatable>
  104. </button>
  105. <button n="28">
  106. <desc type="string">Strobe Lights On</desc>
  107. <binding>
  108. <command type="string">property-assign</command>
  109. <property type="string">/controls/lighting/strobe</property>
  110. <value type="bool">true</value>
  111. </binding>
  112. <repeatable type="double">0</repeatable>
  113. </button>
  114. <axis n="2">
  115. <desc type="string">View (horizontal)</desc>
  116. <low>
  117. <binding>
  118. <command type="string">nasal</command>
  119. <script type="string">setprop("/sim/current-view/goal-heading-offset-deg", getprop("/sim/current-view/goal-heading-offset-deg") + 1);</script>
  120. </binding>
  121. <repeatable type="bool">true</repeatable>
  122. </low>
  123. <high>
  124. <binding>
  125. <command type="string">nasal</command>
  126. <script type="string">setprop("/sim/current-view/goal-heading-offset-deg", getprop("/sim/current-view/goal-heading-offset-deg") - 1);</script>
  127. </binding>
  128. <repeatable type="bool">true</repeatable>
  129. </high>
  130. </axis>
  131. <axis n="3">
  132. <desc type="string">View (vertical)</desc>
  133. <low>
  134. <binding>
  135. <command type="string">nasal</command>
  136. <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/current-view/goal-pitch-offset-deg") + 0.5);</script>
  137. </binding>
  138. <repeatable type="bool">true</repeatable>
  139. </low>
  140. <high>
  141. <binding>
  142. <command type="string">nasal</command>
  143. <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/current-view/goal-pitch-offset-deg") - 0.5);</script>
  144. </binding>
  145. <repeatable type="bool">true</repeatable>
  146. </high>
  147. </axis>
  148. <button n="1">
  149. <desc type="string">Reset View</desc>
  150. <binding>
  151. <command type="string">nasal</command>
  152. <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", 0);setprop("/sim/current-view/goal-heading-offset-deg", 0);</script>
  153. </binding>
  154. <repeatable type="double">0</repeatable>
  155. </button>
  156. </PropertyList>