kma20(1).xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <?xml version="1.0" ?>
  2. <PropertyList>
  3. <!--
  4. Bendix/King KMA20 Marker/Audio panel
  5. Created by Torsten Dreyer, December 2008
  6. You might want to use the following code in your aircraft's nasal
  7. init function to keep the settings of the device persistent between
  8. flightgear sessions
  9. aircraft.data.add(
  10. "instrumentation/kma20/test",
  11. "instrumentation/kma20/auto",
  12. "instrumentation/kma20/com1",
  13. "instrumentation/kma20/com2",
  14. "instrumentation/kma20/nav1",
  15. "instrumentation/kma20/nav2",
  16. "instrumentation/kma20/adf",
  17. "instrumentation/kma20/dme",
  18. "instrumentation/kma20/mkr",
  19. "instrumentation/kma20/sens",
  20. "instrumentation/kma20/knob"
  21. );
  22. -->
  23. <params>
  24. <outer>instrumentation/marker-beacon/outer</outer>
  25. <middle>instrumentation/marker-beacon/middle</middle>
  26. <inner>instrumentation/marker-beacon/inner</inner>
  27. <test>instrumentation/kma20/test</test>
  28. <auto>instrumentation/kma20/auto</auto>
  29. <com1>instrumentation/kma20/com1</com1>
  30. <com2>instrumentation/kma20/com2</com2>
  31. <nav1>instrumentation/kma20/nav1</nav1>
  32. <nav2>instrumentation/kma20/nav2</nav2>
  33. <adf>instrumentation/kma20/adf</adf>
  34. <dme>instrumentation/kma20/dme</dme>
  35. <mkr>instrumentation/kma20/mkr</mkr>
  36. <sens>instrumentation/kma20/sens</sens>
  37. <knob>instrumentation/kma20/knob</knob>
  38. </params>
  39. <path>kma20.ac</path>
  40. <animation>
  41. <type>material</type>
  42. <object-name>O</object-name>
  43. <emission>
  44. <red>1.0</red>
  45. <green>1.0</green>
  46. <blue>1.0</blue>
  47. <factor-prop alias="../../../params/outer"/>
  48. <offset-prop alias="../../../params/test"/>
  49. </emission>
  50. </animation>
  51. <animation>
  52. <type>material</type>
  53. <object-name>M</object-name>
  54. <emission>
  55. <red>1.0</red>
  56. <green>1.0</green>
  57. <blue>1.0</blue>
  58. <factor-prop alias="../../../params/middle"/>
  59. <offset-prop alias="../../../params/test"/>
  60. </emission>
  61. </animation>
  62. <animation>
  63. <type>material</type>
  64. <object-name>A</object-name>
  65. <emission>
  66. <red>1.0</red>
  67. <green>1.0</green>
  68. <blue>1.0</blue>
  69. <factor-prop alias="../../../params/inner"/>
  70. <offset-prop alias="../../../params/test"/>
  71. </emission>
  72. </animation>
  73. <animation>
  74. <type>rotate</type>
  75. <object-name>AUTO</object-name>
  76. <property alias="../../params/auto"/>
  77. <factor>30</factor>
  78. <axis>
  79. <y>1</y>
  80. </axis>
  81. <center>
  82. <x-m>0.0131629</x-m>
  83. <z-m>0.00714385</z-m>
  84. </center>
  85. </animation>
  86. <animation>
  87. <type>pick</type>
  88. <object-name>AUTOUp</object-name>
  89. <visible>false</visible>
  90. <action>
  91. <button>0</button>
  92. <repeatable>false</repeatable>
  93. <binding>
  94. <command>property-adjust</command>
  95. <property alias="../../../../params/auto"/>
  96. <step>-1</step>
  97. <min>-1</min>
  98. <max>1</max>
  99. <wrap>0</wrap>
  100. </binding>
  101. </action>
  102. </animation>
  103. <animation>
  104. <type>pick</type>
  105. <object-name>AUTODown</object-name>
  106. <visible>false</visible>
  107. <action>
  108. <button>0</button>
  109. <repeatable>false</repeatable>
  110. <binding>
  111. <command>property-adjust</command>
  112. <property alias="../../../../params/auto"/>
  113. <step>1</step>
  114. <min>-1</min>
  115. <max>1</max>
  116. <wrap>0</wrap>
  117. </binding>
  118. </action>
  119. </animation>
  120. <animation>
  121. <type>rotate</type>
  122. <object-name>COM1</object-name>
  123. <property alias="../../params/com1"/>
  124. <factor>30</factor>
  125. <axis>
  126. <y>1</y>
  127. </axis>
  128. <center>
  129. <x-m>0.0131629</x-m>
  130. <z-m>0.00714385</z-m>
  131. </center>
  132. </animation>
  133. <animation>
  134. <type>pick</type>
  135. <object-name>COM1Up</object-name>
  136. <visible>false</visible>
  137. <action>
  138. <button>0</button>
  139. <repeatable>false</repeatable>
  140. <binding>
  141. <command>property-adjust</command>
  142. <property alias="../../../../params/com1"/>
  143. <step>-1</step>
  144. <min>-1</min>
  145. <max>1</max>
  146. <wrap>0</wrap>
  147. </binding>
  148. </action>
  149. </animation>
  150. <animation>
  151. <type>pick</type>
  152. <object-name>COM1Down</object-name>
  153. <visible>false</visible>
  154. <action>
  155. <button>0</button>
  156. <repeatable>false</repeatable>
  157. <binding>
  158. <command>property-adjust</command>
  159. <property alias="../../../../params/com1"/>
  160. <step>1</step>
  161. <min>-1</min>
  162. <max>1</max>
  163. <wrap>0</wrap>
  164. </binding>
  165. </action>
  166. </animation>
  167. <animation>
  168. <type>rotate</type>
  169. <object-name>COM2</object-name>
  170. <property alias="../../params/com2"/>
  171. <factor>30</factor>
  172. <axis>
  173. <y>1</y>
  174. </axis>
  175. <center>
  176. <x-m>0.0131629</x-m>
  177. <z-m>0.00714385</z-m>
  178. </center>
  179. </animation>
  180. <animation>
  181. <type>pick</type>
  182. <object-name>COM2Up</object-name>
  183. <visible>false</visible>
  184. <action>
  185. <button>0</button>
  186. <repeatable>false</repeatable>
  187. <binding>
  188. <command>property-adjust</command>
  189. <property alias="../../../../params/com2"/>
  190. <step>-1</step>
  191. <min>-1</min>
  192. <max>1</max>
  193. <wrap>0</wrap>
  194. </binding>
  195. </action>
  196. </animation>
  197. <animation>
  198. <type>pick</type>
  199. <object-name>COM2Down</object-name>
  200. <visible>false</visible>
  201. <action>
  202. <button>0</button>
  203. <repeatable>false</repeatable>
  204. <binding>
  205. <command>property-adjust</command>
  206. <property alias="../../../../params/com2"/>
  207. <step>1</step>
  208. <min>-1</min>
  209. <max>1</max>
  210. <wrap>0</wrap>
  211. </binding>
  212. </action>
  213. </animation>
  214. <animation>
  215. <type>rotate</type>
  216. <object-name>NAV1</object-name>
  217. <property alias="../../params/nav1"/>
  218. <factor>30</factor>
  219. <axis>
  220. <y>1</y>
  221. </axis>
  222. <center>
  223. <x-m>0.0131629</x-m>
  224. <z-m>0.00714385</z-m>
  225. </center>
  226. </animation>
  227. <animation>
  228. <type>pick</type>
  229. <object-name>NAV1Up</object-name>
  230. <visible>false</visible>
  231. <action>
  232. <button>0</button>
  233. <repeatable>false</repeatable>
  234. <binding>
  235. <command>property-adjust</command>
  236. <property alias="../../../../params/nav1"/>
  237. <step>-1</step>
  238. <min>-1</min>
  239. <max>1</max>
  240. <wrap>0</wrap>
  241. </binding>
  242. </action>
  243. </animation>
  244. <animation>
  245. <type>pick</type>
  246. <object-name>NAV1Down</object-name>
  247. <visible>false</visible>
  248. <action>
  249. <button>0</button>
  250. <repeatable>false</repeatable>
  251. <binding>
  252. <command>property-adjust</command>
  253. <property alias="../../../../params/nav1"/>
  254. <step>1</step>
  255. <min>-1</min>
  256. <max>1</max>
  257. <wrap>0</wrap>
  258. </binding>
  259. </action>
  260. </animation>
  261. <animation>
  262. <type>rotate</type>
  263. <object-name>NAV2</object-name>
  264. <property alias="../../params/nav2"/>
  265. <factor>30</factor>
  266. <axis>
  267. <y>1</y>
  268. </axis>
  269. <center>
  270. <x-m>0.0131629</x-m>
  271. <z-m>0.00714385</z-m>
  272. </center>
  273. </animation>
  274. <animation>
  275. <type>pick</type>
  276. <object-name>NAV2Up</object-name>
  277. <visible>false</visible>
  278. <action>
  279. <button>0</button>
  280. <repeatable>false</repeatable>
  281. <binding>
  282. <command>property-adjust</command>
  283. <property alias="../../../../params/nav2"/>
  284. <step>-1</step>
  285. <min>-1</min>
  286. <max>1</max>
  287. <wrap>0</wrap>
  288. </binding>
  289. </action>
  290. </animation>
  291. <animation>
  292. <type>pick</type>
  293. <object-name>NAV2Down</object-name>
  294. <visible>false</visible>
  295. <action>
  296. <button>0</button>
  297. <repeatable>false</repeatable>
  298. <binding>
  299. <command>property-adjust</command>
  300. <property alias="../../../../params/nav2"/>
  301. <step>1</step>
  302. <min>-1</min>
  303. <max>1</max>
  304. <wrap>0</wrap>
  305. </binding>
  306. </action>
  307. </animation>
  308. <animation>
  309. <type>rotate</type>
  310. <object-name>ADF</object-name>
  311. <property alias="../../params/adf"/>
  312. <factor>30</factor>
  313. <axis>
  314. <y>1</y>
  315. </axis>
  316. <center>
  317. <x-m>0.0131629</x-m>
  318. <z-m>0.00714385</z-m>
  319. </center>
  320. </animation>
  321. <animation>
  322. <type>pick</type>
  323. <object-name>ADFUp</object-name>
  324. <visible>false</visible>
  325. <action>
  326. <button>0</button>
  327. <repeatable>false</repeatable>
  328. <binding>
  329. <command>property-adjust</command>
  330. <property alias="../../../../params/adf"/>
  331. <step>-1</step>
  332. <min>-1</min>
  333. <max>1</max>
  334. <wrap>0</wrap>
  335. </binding>
  336. </action>
  337. </animation>
  338. <animation>
  339. <type>pick</type>
  340. <object-name>ADFDown</object-name>
  341. <visible>false</visible>
  342. <action>
  343. <button>0</button>
  344. <repeatable>false</repeatable>
  345. <binding>
  346. <command>property-adjust</command>
  347. <property alias="../../../../params/adf"/>
  348. <step>1</step>
  349. <min>-1</min>
  350. <max>1</max>
  351. <wrap>0</wrap>
  352. </binding>
  353. </action>
  354. </animation>
  355. <animation>
  356. <type>rotate</type>
  357. <object-name>DME</object-name>
  358. <property alias="../../params/dme"/>
  359. <factor>30</factor>
  360. <axis>
  361. <y>1</y>
  362. </axis>
  363. <center>
  364. <x-m>0.0131629</x-m>
  365. <z-m>0.00714385</z-m>
  366. </center>
  367. </animation>
  368. <animation>
  369. <type>pick</type>
  370. <object-name>DMEUp</object-name>
  371. <visible>false</visible>
  372. <action>
  373. <button>0</button>
  374. <repeatable>false</repeatable>
  375. <binding>
  376. <command>property-adjust</command>
  377. <property alias="../../../../params/dme"/>
  378. <step>-1</step>
  379. <min>-1</min>
  380. <max>1</max>
  381. <wrap>0</wrap>
  382. </binding>
  383. </action>
  384. </animation>
  385. <animation>
  386. <type>pick</type>
  387. <object-name>DMEDown</object-name>
  388. <visible>false</visible>
  389. <action>
  390. <button>0</button>
  391. <repeatable>false</repeatable>
  392. <binding>
  393. <command>property-adjust</command>
  394. <property alias="../../../../params/dme"/>
  395. <step>1</step>
  396. <min>-1</min>
  397. <max>1</max>
  398. <wrap>0</wrap>
  399. </binding>
  400. </action>
  401. </animation>
  402. <animation>
  403. <type>rotate</type>
  404. <object-name>MKR</object-name>
  405. <property alias="../../params/mkr"/>
  406. <factor>30</factor>
  407. <axis>
  408. <y>1</y>
  409. </axis>
  410. <center>
  411. <x-m>0.0131629</x-m>
  412. <z-m>0.00714385</z-m>
  413. </center>
  414. </animation>
  415. <animation>
  416. <type>pick</type>
  417. <object-name>MKRUp</object-name>
  418. <visible>false</visible>
  419. <action>
  420. <button>0</button>
  421. <repeatable>false</repeatable>
  422. <binding>
  423. <command>property-adjust</command>
  424. <property alias="../../../../params/mkr"/>
  425. <step>-1</step>
  426. <min>-1</min>
  427. <max>1</max>
  428. <wrap>0</wrap>
  429. </binding>
  430. </action>
  431. </animation>
  432. <animation>
  433. <type>pick</type>
  434. <object-name>MKRDown</object-name>
  435. <visible>false</visible>
  436. <action>
  437. <button>0</button>
  438. <repeatable>false</repeatable>
  439. <binding>
  440. <command>property-adjust</command>
  441. <property alias="../../../../params/mkr"/>
  442. <step>1</step>
  443. <min>-1</min>
  444. <max>1</max>
  445. <wrap>0</wrap>
  446. </binding>
  447. </action>
  448. </animation>
  449. <animation>
  450. <type>rotate</type>
  451. <object-name>SENS</object-name>
  452. <property alias="../../params/sens"/>
  453. <factor>30</factor>
  454. <axis>
  455. <y>1</y>
  456. </axis>
  457. <center>
  458. <x-m>0.0131629</x-m>
  459. <z-m>0.00714385</z-m>
  460. </center>
  461. </animation>
  462. <animation>
  463. <type>pick</type>
  464. <object-name>SENSUp</object-name>
  465. <visible>false</visible>
  466. <action>
  467. <button>0</button>
  468. <repeatable>false</repeatable>
  469. <binding>
  470. <command>property-adjust</command>
  471. <property alias="../../../../params/sens"/>
  472. <step>-1</step>
  473. <min>-1</min>
  474. <max>1</max>
  475. <wrap>0</wrap>
  476. </binding>
  477. </action>
  478. </animation>
  479. <animation>
  480. <type>pick</type>
  481. <object-name>SENSDown</object-name>
  482. <visible>false</visible>
  483. <action>
  484. <button>0</button>
  485. <repeatable>false</repeatable>
  486. <binding>
  487. <command>property-adjust</command>
  488. <property alias="../../../../params/sens"/>
  489. <step>1</step>
  490. <min>-1</min>
  491. <max>1</max>
  492. <wrap>0</wrap>
  493. </binding>
  494. <mod-up>
  495. <binding>
  496. <condition>
  497. <equals>
  498. <property alias="../../../../../../../params/sens"/>
  499. <value>1</value>
  500. </equals>
  501. </condition>
  502. <command>property-assign</command>
  503. <property alias="../../../../../params/sens"/>
  504. <value>0</value>
  505. </binding>
  506. <binding>
  507. <condition>
  508. <equals>
  509. <property alias="../../../../../../../params/sens"/>
  510. <value>0</value>
  511. </equals>
  512. </condition>
  513. <command>property-assign</command>
  514. <property alias="../../../../../params/test"/>
  515. <value>0</value>
  516. </binding>
  517. </mod-up>
  518. <binding>
  519. <condition>
  520. <greater-than>
  521. <property alias="../../../../../../params/sens"/>
  522. <value>-1</value>
  523. </greater-than>
  524. </condition>
  525. <command>property-assign</command>
  526. <property alias="../../../../params/test"/>
  527. <property alias="../../../../params/sens"/>
  528. </binding>
  529. </action>
  530. </animation>
  531. <animation>
  532. <type>rotate</type>
  533. <object-name>Knob</object-name>
  534. <property alias="../../params/knob"/>
  535. <factor>-30</factor>
  536. <axis>
  537. <x>1</x>
  538. </axis>
  539. <center>
  540. <y-m>-0.0605381</y-m>
  541. <z-m>0.00559147</z-m>
  542. </center>
  543. </animation>
  544. <animation>
  545. <type>pick</type>
  546. <object-name>MICLeft</object-name>
  547. <visible>false</visible>
  548. <action>
  549. <button>0</button>
  550. <repeatable>false</repeatable>
  551. <binding>
  552. <command>property-adjust</command>
  553. <property alias="../../../../params/knob"/>
  554. <step>-1</step>
  555. <min>-1</min>
  556. <max>1</max>
  557. <wrap>0</wrap>
  558. </binding>
  559. </action>
  560. </animation>
  561. <animation>
  562. <type>pick</type>
  563. <object-name>MICRight</object-name>
  564. <visible>false</visible>
  565. <action>
  566. <button>0</button>
  567. <repeatable>false</repeatable>
  568. <binding>
  569. <command>property-adjust</command>
  570. <property alias="../../../../params/knob"/>
  571. <step>1</step>
  572. <min>-1</min>
  573. <max>1</max>
  574. <wrap>0</wrap>
  575. </binding>
  576. </action>
  577. </animation>
  578. </PropertyList>