bae125-keyboard.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <keyboard>
  4. <key n="68">
  5. <name>D</name>
  6. <desc>Passenger door</desc>
  7. <binding>
  8. <command>nasal</command>
  9. <script>doors.passenger.toggle();</script>
  10. </binding>
  11. </key>
  12. <key n="100">
  13. <name>d</name>
  14. <desc>Crew door</desc>
  15. <binding>
  16. <command>nasal</command>
  17. <script>doors.crew.toggle();</script>
  18. </binding>
  19. </key>
  20. <key n="108">
  21. <name>l</name>
  22. <desc>Landing light</desc>
  23. <binding>
  24. <command>property-toggle</command>
  25. <property>/controls/lighting/landing-lights</property>
  26. </binding>
  27. </key>
  28. <key n="125">
  29. <name>}</name>
  30. <desc>Autostart/AutoStop</desc>
  31. <binding>
  32. <command>property-toggle</command>
  33. <property>controls/electric/battery-switch</property>
  34. </binding>
  35. <binding>
  36. <command>property-toggle</command>
  37. <property>controls/electric/engine/generator</property>
  38. </binding>
  39. <binding>
  40. <command>property-toggle</command>
  41. <property>controls/lighting/instrument-lights</property>
  42. </binding>
  43. <binding>
  44. <command>property-toggle</command>
  45. <property>controls/lighting/nav-lights</property>
  46. </binding>
  47. <binding>
  48. <command>property-toggle</command>
  49. <property>controls/lighting/beacon</property>
  50. </binding>
  51. <binding>
  52. <command>property-toggle</command>
  53. <property>controls/lighting/strobe</property>
  54. </binding>
  55. <binding>
  56. <command>property-toggle</command>
  57. <property>controls/switches/starterkey-insert</property>
  58. </binding>
  59. <binding>
  60. <command>property-toggle</command>
  61. <property>controls/engines/engine[0]/fuel-pump</property>
  62. </binding>
  63. <binding>
  64. <command>property-toggle</command>
  65. <property>controls/engines/engine[1]/fuel-pump</property>
  66. </binding>
  67. <!-- Magnetos ON -->
  68. <binding>
  69. <condition>
  70. <property>controls/switches/starterkey-insert</property>
  71. </condition>
  72. <command>property-assign</command>
  73. <property>controls/engines/engine[0]/magnetos</property>
  74. <value>3</value>
  75. </binding>
  76. <binding>
  77. <condition>
  78. <property>controls/switches/starterkey-insert</property>
  79. </condition>
  80. <command>property-assign</command>
  81. <property>controls/engines/engine[1]/magnetos</property>
  82. <value>3</value>
  83. </binding>
  84. <!-- Magnetos OFF -->
  85. <binding>
  86. <condition>
  87. <not><property>controls/switches/starterkey-insert</property></not>
  88. </condition>
  89. <command>property-assign</command>
  90. <property>controls/engines/engine[0]/magnetos</property>
  91. <value>0</value>
  92. </binding>
  93. <binding>
  94. <condition>
  95. <not><property>controls/switches/starterkey-insert</property></not>
  96. </condition>
  97. <command>property-assign</command>
  98. <property>controls/engines/engine[1]/magnetos</property>
  99. <value>0</value>
  100. </binding>
  101. <binding>
  102. <command>nasal</command>
  103. <script>engines.autostart();</script>
  104. </binding>
  105. </key>
  106. </keyboard>
  107. </PropertyList>