power_lever.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>power.ac</path>
  4. <animation>
  5. <type>translate</type>
  6. <object-name>lever0</object-name>
  7. <object-name>spbk-switch</object-name>
  8. <object-name>spbk-opn</object-name>
  9. <object-name>spbk-cls</object-name>
  10. <object-name>finger-lift</object-name>
  11. <property>controls/engines/engine/throttle</property>
  12. <interpolation>
  13. <entry><ind> 0 </ind><dep>0</dep></entry>
  14. <entry><ind> 0.5 </ind><dep>0.07</dep></entry>
  15. <entry><ind> 1 </ind><dep>0.14</dep></entry>
  16. </interpolation>
  17. <axis>
  18. <x> -1 </x>
  19. <y> 0 </y>
  20. <z> 0</z>
  21. </axis>
  22. </animation>
  23. <animation>
  24. <type>translate</type>
  25. <object-name>lever1</object-name>
  26. <object-name>finger-lift1</object-name>
  27. <property>controls/engines/engine[1]/throttle</property>
  28. <interpolation>
  29. <entry><ind> 0 </ind><dep>0</dep></entry>
  30. <entry><ind> 0.5 </ind><dep>0.07</dep></entry>
  31. <entry><ind> 1 </ind><dep>0.14</dep></entry>
  32. </interpolation>
  33. <axis>
  34. <x> -1 </x>
  35. <y> 0 </y>
  36. <z> 0</z>
  37. </axis>
  38. </animation>
  39. <animation>
  40. <type>translate</type>
  41. <object-name>spbk-switch</object-name>
  42. <property>controls/flight/speedbrake</property>
  43. <interpolation>
  44. <entry><ind> 0 </ind><dep>-0.01</dep></entry>
  45. <entry><ind> 0.5 </ind><dep>0.0</dep></entry>
  46. <entry><ind> 1 </ind><dep>0.01</dep></entry>
  47. </interpolation>
  48. <axis>
  49. <x> 1 </x>
  50. <y> 0 </y>
  51. <z> 0</z>
  52. </axis>
  53. </animation>
  54. <animation>
  55. <type>pick</type>
  56. <object-name>spbk-opn</object-name>
  57. <visible>false</visible>
  58. <action>
  59. <button>0</button>
  60. <repeatable>true</repeatable>
  61. <binding>
  62. <command>property-adjust</command>
  63. <property>controls/flight/speedbrake</property>
  64. <step>0.25</step>
  65. <min>0</min>
  66. <max>1</max>
  67. </binding>
  68. </action>
  69. </animation>
  70. <animation>
  71. <type>pick</type>
  72. <object-name>spbk-cls</object-name>
  73. <visible>false</visible>
  74. <action>
  75. <button>0</button>
  76. <repeatable>true</repeatable>
  77. <binding>
  78. <command>property-adjust</command>
  79. <property>controls/flight/speedbrake</property>
  80. <step>-0.25</step>
  81. <min>0</min>
  82. <max>1</max>
  83. </binding>
  84. </action>
  85. </animation>
  86. <animation>
  87. <type>pick</type>
  88. <object-name>lever0</object-name>
  89. <action>
  90. <button>3</button>
  91. <repeatable>true</repeatable>
  92. <binding>
  93. <command>property-adjust</command>
  94. <property>controls/engines/engine/throttle</property>
  95. <step>0.1</step>
  96. <min>0</min>
  97. <max>1</max>
  98. </binding>
  99. </action>
  100. </animation>
  101. <animation>
  102. <type>pick</type>
  103. <object-name>lever0</object-name>
  104. <action>
  105. <button>4</button>
  106. <repeatable>true</repeatable>
  107. <binding>
  108. <command>property-adjust</command>
  109. <property>controls/engines/engine/throttle</property>
  110. <step>-0.1</step>
  111. <min>0</min>
  112. <max>1</max>
  113. </binding>
  114. </action>
  115. </animation>
  116. <animation>
  117. <type>pick</type>
  118. <object-name>lever1</object-name>
  119. <action>
  120. <button>3</button>
  121. <repeatable>true</repeatable>
  122. <binding>
  123. <command>property-adjust</command>
  124. <property>controls/engines/engine[1]/throttle</property>
  125. <step>0.1</step>
  126. <min>0</min>
  127. <max>1</max>
  128. </binding>
  129. </action>
  130. </animation>
  131. <animation>
  132. <type>pick</type>
  133. <object-name>lever1</object-name>
  134. <action>
  135. <button>4</button>
  136. <repeatable>true</repeatable>
  137. <binding>
  138. <command>property-adjust</command>
  139. <property>controls/engines/engine[1]/throttle</property>
  140. <step>-0.1</step>
  141. <min>0</min>
  142. <max>1</max>
  143. </binding>
  144. </action>
  145. </animation>
  146. <!-- lighting -->
  147. <animation>
  148. <object-name>lever0</object-name>
  149. <object-name>lever1</object-name>
  150. <object-name>spbk-switch</object-name>
  151. <object-name>base</object-name>
  152. <object-name>slot</object-name>
  153. <object-name>finger-lift</object-name>
  154. <object-name>finger-lift1</object-name>
  155. <object-name>fric</object-name>
  156. <object-name>condition</object-name>
  157. <type>material</type>
  158. <emission>
  159. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  160. <red>0.5</red>
  161. <green>0.2</green>
  162. <blue>0.2</blue>
  163. </emission>
  164. </animation>
  165. <!-- engine[0] starter -->
  166. <animation>
  167. <type>translate</type>
  168. <object-name>finger-lift</object-name>
  169. <property>controls/engines/engine/starter</property>
  170. <factor>0.02</factor>
  171. <axis>
  172. <x> 0 </x>
  173. <y> 0 </y>
  174. <z> 1 </z>
  175. </axis>
  176. <center>
  177. <x-m> 0 </x-m>
  178. <y-m> 0 </y-m>
  179. <z-m> 0 </z-m>
  180. </center>
  181. </animation>
  182. <!-- engine[1] starter -->
  183. <animation>
  184. <type>translate</type>
  185. <object-name>finger-lift1</object-name>
  186. <property>controls/engines/engine[1]/starter</property>
  187. <factor>0.02</factor>
  188. <axis>
  189. <x> 0 </x>
  190. <y> 0 </y>
  191. <z> 1 </z>
  192. </axis>
  193. <center>
  194. <x-m> 0 </x-m>
  195. <y-m> 0 </y-m>
  196. <z-m> 0 </z-m>
  197. </center>
  198. </animation>
  199. <!-- friction -->
  200. <animation>
  201. <type>translate</type>
  202. <object-name>fric</object-name>
  203. <property>instrumentation/fric-knob</property>
  204. <interpolation>
  205. <entry><ind>0.01</ind><dep>0.12</dep></entry>
  206. <entry><ind>0.05</ind><dep>0.06</dep></entry>
  207. <entry><ind>0.1</ind><dep>0.0</dep></entry>
  208. </interpolation>
  209. <axis>
  210. <x> -1 </x>
  211. <y> 0 </y>
  212. <z> 0</z>
  213. </axis>
  214. </animation>
  215. <animation>
  216. <type>pick</type>
  217. <object-name>fric</object-name>
  218. <action>
  219. <button>4</button>
  220. <repeatable>true</repeatable>
  221. <binding>
  222. <command>property-adjust</command>
  223. <property>instrumentation/fric-knob</property>
  224. <step>0.01</step>
  225. <min>0.01</min>
  226. <max>0.1</max>
  227. </binding>
  228. </action>
  229. </animation>
  230. <animation>
  231. <type>pick</type>
  232. <object-name>fric</object-name>
  233. <action>
  234. <button>3</button>
  235. <repeatable>true</repeatable>
  236. <binding>
  237. <command>property-adjust</command>
  238. <property>instrumentation/fric-knob</property>
  239. <step>-0.01</step>
  240. <min>0.01</min>
  241. <max>0.1</max>
  242. </binding>
  243. </action>
  244. </animation>
  245. </PropertyList>