kx165-1a.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <!--
  4. Bendix/King KX155/165 COM/NAV radio
  5. Use this instrument as COM1/NAV1 radio
  6. Created by Torsten Dreyer, October 2008
  7. You might want to use the following code in your aircraft's nasal
  8. init function to keep the settings of the radio persistent between
  9. flightgear sessions
  10. aircraft.data.add(
  11. "instrumentation/comm[0]/volume-selected",
  12. "instrumentation/comm[0]/frequencies/selected-mhz",
  13. "instrumentation/comm[0]/frequencies/standby-mhz",
  14. "instrumentation/comm[0]/frequencies/dial-khz",
  15. "instrumentation/comm[0]/frequencies/dial-mhz",
  16. "instrumentation/comm[0]/test-btn",
  17. "instrumentation/nav[0]/ident-audible",
  18. "instrumentation/nav[0]/power-btn",
  19. "instrumentation/nav[0]/frequencies/selected-mhz",
  20. "instrumentation/nav[0]/frequencies/standby-mhz",
  21. "instrumentation/nav[0]/frequencies/dial-khz",
  22. "instrumentation/nav[0]/frequencies/dial-mhz",
  23. );
  24. -->
  25. <params>
  26. <comm-serviceable>instrumentation/comm[0]/serviceable</comm-serviceable>
  27. <nav-serviceable>instrumentation/nav[0]/serviceable</nav-serviceable>
  28. <power-nav>controls/electric/battery-switch</power-nav>
  29. <power-comm>controls/electric/battery-switch</power-comm>
  30. <comm-frq-swp>instrumentation/comm[0]/frq-swap-btn</comm-frq-swp>
  31. <comm-frq-selected>instrumentation/comm[0]/frequencies/selected-mhz</comm-frq-selected>
  32. <comm-frq-standby>instrumentation/comm[0]/frequencies/standby-mhz</comm-frq-standby>
  33. <comm-dial-khz>instrumentation/comm[0]/frequencies/dial-khz</comm-dial-khz>
  34. <comm-dial-mhz>instrumentation/comm[0]/frequencies/dial-mhz</comm-dial-mhz>
  35. <comm-volume>instrumentation/comm[0]/volume</comm-volume> <!-- was: instrumentation/comm[0]/volume-selected (TODO revert once audio panel works) -->
  36. <comm-test>instrumentation/comm[0]/test-btn</comm-test>
  37. <channel-mode-selector>instrumentation/comm[0]/channel-mode-selector</channel-mode-selector>
  38. <nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
  39. <nav-frq-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-selected>
  40. <nav-frq-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-standby>
  41. <nav-dial-khz>instrumentation/nav[0]/frequencies/dial-khz</nav-dial-khz>
  42. <nav-dial-mhz>instrumentation/nav[0]/frequencies/dial-mhz</nav-dial-mhz>
  43. <nav-volume>instrumentation/nav[0]/volume</nav-volume>
  44. <nav-audio>instrumentation/nav[0]/ident-audible</nav-audio>
  45. </params>
  46. <path>kx165.ac</path>
  47. <!--
  48. <effect>
  49. <inherits-from>../../../../Effects/interior/lm-kx165-1r</inherits-from>
  50. <object-name>COMknobKHZ</object-name>
  51. <object-name>COMknobMHZ</object-name>
  52. <object-name>COMxfer</object-name>
  53. <object-name>COMvol</object-name>
  54. <object-name>COMchan</object-name>
  55. <object-name>NAVknobKHZ</object-name>
  56. <object-name>NAVknobMHZ</object-name>
  57. <object-name>NAVxfer</object-name>
  58. <object-name>NAVmode</object-name>
  59. <object-name>NAVvol</object-name>
  60. </effect>
  61. <effect>
  62. <inherits-from>../../../../Effects/interior/lm-kx165-1</inherits-from>
  63. <object-name>COMxfer</object-name>
  64. <object-name>COMchan</object-name>
  65. <object-name>NAVxfer</object-name>
  66. <object-name>NAVmode</object-name>
  67. <object-name>KX165</object-name>
  68. <object-name>Screen</object-name>
  69. </effect>-->
  70. <!-- <effect>
  71. <inherits-from>../../Effects/interior-radiance</inherits-from>
  72. <object-name>CommStby100K</object-name>
  73. <object-name>CommStby100M</object-name>
  74. <object-name>CommStby10K</object-name>
  75. <object-name>CommStby10M</object-name>
  76. <object-name>CommStby1K</object-name>
  77. <object-name>CommStby1M</object-name>
  78. <object-name>CommStbyDot</object-name>
  79. <object-name>CommUse100K</object-name>
  80. <object-name>CommUse100M</object-name>
  81. <object-name>CommUse10K</object-name>
  82. <object-name>CommUse10M</object-name>
  83. <object-name>CommUse1K</object-name>
  84. <object-name>CommUse1M</object-name>
  85. <object-name>CommUseDot</object-name>
  86. <object-name>NavStby100K</object-name>
  87. <object-name>NavStby100M</object-name>
  88. <object-name>NavStby10K</object-name>
  89. <object-name>NavStby10M</object-name>
  90. <object-name>NavStby1M</object-name>
  91. <object-name>NavStbyDot</object-name>
  92. <object-name>NavUse100K</object-name>
  93. <object-name>NavUse100M</object-name>
  94. <object-name>NavUse10K</object-name>
  95. <object-name>NavUse10M</object-name>
  96. <object-name>NavUse1M</object-name>
  97. <object-name>NavUseDot</object-name>
  98. <object-name>KX165Line</object-name>
  99. </effect>--><!--
  100. <animation>
  101. <type>material</type>
  102. <object-name>KX165</object-name>
  103. <object-name>COMknobKHZ</object-name>
  104. <object-name>COMknobMHZ</object-name>
  105. <object-name>COMxfer</object-name>
  106. <object-name>COMchan</object-name>
  107. <object-name>COMvol</object-name>
  108. <object-name>NAVknobKHZ</object-name>
  109. <object-name>NAVknobMHZ</object-name>
  110. <object-name>NAVxfer</object-name>
  111. <object-name>NAVmode</object-name>
  112. <object-name>NAVvol</object-name>
  113. <condition>
  114. <not>
  115. <property>/sim/rendering/shaders/skydome</property>
  116. </not>
  117. </condition>
  118. <emission>
  119. <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
  120. <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
  121. <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
  122. </emission>
  123. </animation>-->
  124. <animation>
  125. <type>material</type>
  126. <object-name>COMknobKHZ</object-name>
  127. <object-name>COMknobMHZ</object-name>
  128. <object-name>COMxfer</object-name>
  129. <object-name>COMchan</object-name>
  130. <object-name>COMvol</object-name>
  131. <object-name>CommStby100K</object-name>
  132. <object-name>CommStby100M</object-name>
  133. <object-name>CommStby10K</object-name>
  134. <object-name>CommStby10M</object-name>
  135. <object-name>CommStby1K</object-name>
  136. <object-name>CommStby1M</object-name>
  137. <object-name>CommStbyDot</object-name>
  138. <object-name>CommUse100K</object-name>
  139. <object-name>CommUse100M</object-name>
  140. <object-name>CommUse10K</object-name>
  141. <object-name>CommUse10M</object-name>
  142. <object-name>CommUse1K</object-name>
  143. <object-name>CommUse1M</object-name>
  144. <object-name>CommUseDot</object-name>
  145. <object-name>NAVknobKHZ</object-name>
  146. <object-name>NAVknobMHZ</object-name>
  147. <object-name>NAVxfer</object-name>
  148. <object-name>NAVmode</object-name>
  149. <object-name>NAVvol</object-name>
  150. <object-name>NavStby100K</object-name>
  151. <object-name>NavStby100M</object-name>
  152. <object-name>NavStby10K</object-name>
  153. <object-name>NavStby10M</object-name>
  154. <object-name>NavStby1M</object-name>
  155. <object-name>NavStbyDot</object-name>
  156. <object-name>NavUse100K</object-name>
  157. <object-name>NavUse100M</object-name>
  158. <object-name>NavUse10K</object-name>
  159. <object-name>NavUse10M</object-name>
  160. <object-name>NavUse1M</object-name>
  161. <object-name>NavUseDot</object-name>
  162. <object-name>KX165Line</object-name>
  163. <object-name>KX165</object-name>
  164. <object-name>Screen</object-name>
  165. <property-base>/sim/instrumentation/comm[0]</property-base>
  166. <texture-prop>texture-file</texture-prop>
  167. </animation>
  168. <animation>
  169. <type>select</type>
  170. <object-name>CommStby100K</object-name>
  171. <object-name>CommStby100M</object-name>
  172. <object-name>CommStby10K</object-name>
  173. <object-name>CommStby10M</object-name>
  174. <object-name>CommStby1K</object-name>
  175. <object-name>CommStby1M</object-name>
  176. <object-name>CommStbyDot</object-name>
  177. <object-name>CommUse100K</object-name>
  178. <object-name>CommUse100M</object-name>
  179. <object-name>CommUse10K</object-name>
  180. <object-name>CommUse10M</object-name>
  181. <object-name>CommUse1K</object-name>
  182. <object-name>CommUse1M</object-name>
  183. <object-name>CommUseDot</object-name>
  184. <object-name>NavStby100K</object-name>
  185. <object-name>NavStby100M</object-name>
  186. <object-name>NavStby10K</object-name>
  187. <object-name>NavStby10M</object-name>
  188. <object-name>NavStby1M</object-name>
  189. <object-name>NavStbyDot</object-name>
  190. <object-name>NavUse100K</object-name>
  191. <object-name>NavUse100M</object-name>
  192. <object-name>NavUse10K</object-name>
  193. <object-name>NavUse10M</object-name>
  194. <object-name>NavUse1M</object-name>
  195. <object-name>NavUseDot</object-name>
  196. <object-name>KX165Line</object-name>
  197. <condition>
  198. <property alias="../../../params/comm-serviceable"/>
  199. <property alias="../../../params/nav-serviceable"/>
  200. <property alias="../../../params/power-comm"/>
  201. <greater-than>
  202. <property>systems/electrical/outputs/comm-nav[0]</property>
  203. <value>1</value>
  204. </greater-than>
  205. </condition>
  206. </animation>
  207. <animation>
  208. <type>material</type>
  209. <object-name>COMxfer</object-name>
  210. <object-name>COMchan</object-name>
  211. <object-name>NAVxfer</object-name>
  212. <object-name>NAVmode</object-name>
  213. <condition>
  214. <not>
  215. <property>sim/rendering/rembrandt/enabled</property>
  216. </not>
  217. </condition>
  218. <emission>
  219. <red>0.5</red>
  220. <green>0.1</green>
  221. <blue>0.00005</blue>
  222. <factor-prop>controls/lighting/instrument-lights</factor-prop>
  223. </emission>
  224. </animation>
  225. <animation>
  226. <type>material</type>
  227. <object-name>CommStby100K</object-name>
  228. <object-name>CommStby100M</object-name>
  229. <object-name>CommStby10K</object-name>
  230. <object-name>CommStby10M</object-name>
  231. <object-name>CommStby1K</object-name>
  232. <object-name>CommStby1M</object-name>
  233. <object-name>CommStbyDot</object-name>
  234. <object-name>CommUse100K</object-name>
  235. <object-name>CommUse100M</object-name>
  236. <object-name>CommUse10K</object-name>
  237. <object-name>CommUse10M</object-name>
  238. <object-name>CommUse1K</object-name>
  239. <object-name>CommUse1M</object-name>
  240. <object-name>CommUseDot</object-name>
  241. <object-name>NavStby100K</object-name>
  242. <object-name>NavStby100M</object-name>
  243. <object-name>NavStby10K</object-name>
  244. <object-name>NavStby10M</object-name>
  245. <object-name>NavStby1M</object-name>
  246. <object-name>NavStbyDot</object-name>
  247. <object-name>NavUse100K</object-name>
  248. <object-name>NavUse100M</object-name>
  249. <object-name>NavUse10K</object-name>
  250. <object-name>NavUse10M</object-name>
  251. <object-name>NavUse1M</object-name>
  252. <object-name>NavUseDot</object-name>
  253. <object-name>KX165Line</object-name>
  254. <condition>
  255. <and>
  256. <not>
  257. <property>sim/rendering/rembrandt/enabled</property>
  258. </not>
  259. <greater-than>
  260. <property>controls/lighting/instrument-lights</property>
  261. <value>0.0</value>
  262. </greater-than>
  263. </and>
  264. </condition>
  265. <emission>
  266. <red>0.91</red>
  267. <green>0.91</green>
  268. <blue>0.91</blue>
  269. <factor-prop>controls/lighting/instrument</factor-prop>
  270. </emission>
  271. </animation>
  272. <effect>
  273. <inherits-from>Effects/model-transparent</inherits-from>
  274. <object-name>CommStby100K</object-name>
  275. <object-name>CommStby100M</object-name>
  276. <object-name>CommStby10K</object-name>
  277. <object-name>CommStby10M</object-name>
  278. <object-name>CommStby1K</object-name>
  279. <object-name>CommStby1M</object-name>
  280. <object-name>CommStbyDot</object-name>
  281. <object-name>CommUse100K</object-name>
  282. <object-name>CommUse100M</object-name>
  283. <object-name>CommUse10K</object-name>
  284. <object-name>CommUse10M</object-name>
  285. <object-name>CommUse1K</object-name>
  286. <object-name>CommUse1M</object-name>
  287. <object-name>CommUseDot</object-name>
  288. <object-name>NavStby100K</object-name>
  289. <object-name>NavStby100M</object-name>
  290. <object-name>NavStby10K</object-name>
  291. <object-name>NavStby10M</object-name>
  292. <object-name>NavStby1M</object-name>
  293. <object-name>NavStbyDot</object-name>
  294. <object-name>NavUse100K</object-name>
  295. <object-name>NavUse100M</object-name>
  296. <object-name>NavUse10K</object-name>
  297. <object-name>NavUse10M</object-name>
  298. <object-name>NavUse1M</object-name>
  299. <object-name>NavUseDot</object-name>
  300. <object-name>KX165Line</object-name>
  301. <object-name>Screen</object-name>
  302. </effect>
  303. <!-- Comm part -->
  304. <animation>
  305. <type>translate</type>
  306. <object-name>COMxfer</object-name>
  307. <property alias="../../params/comm-frq-swp"/>
  308. <factor>-0.003</factor>
  309. <axis>
  310. <x>1</x>
  311. <y>0</y>
  312. <z>0</z>
  313. </axis>
  314. </animation>
  315. <animation>
  316. <type>textranslate</type>
  317. <object-name>CommUse100M</object-name>
  318. <property alias="../../params/comm-frq-selected"/>
  319. <step>100</step>
  320. <factor>0.001</factor>
  321. <bias>0.0001</bias>
  322. <axis>
  323. <x>1</x>
  324. <y>0</y>
  325. <z>0</z>
  326. </axis>
  327. </animation>
  328. <animation>
  329. <type>textranslate</type>
  330. <object-name>CommUse10M</object-name>
  331. <property alias="../../params/comm-frq-selected"/>
  332. <step>10</step>
  333. <factor>0.01</factor>
  334. <bias>0.0001</bias>
  335. <axis>
  336. <x>1</x>
  337. <y>0</y>
  338. <z>0</z>
  339. </axis>
  340. </animation>
  341. <animation>
  342. <type>textranslate</type>
  343. <object-name>CommUse1M</object-name>
  344. <property alias="../../params/comm-frq-selected"/>
  345. <step>1</step>
  346. <factor>0.1</factor>
  347. <bias>0.0001</bias>
  348. <axis>
  349. <x>1</x>
  350. <y>0</y>
  351. <z>0</z>
  352. </axis>
  353. </animation>
  354. <animation>
  355. <type>textranslate</type>
  356. <object-name>CommUse100K</object-name>
  357. <property alias="../../params/comm-frq-selected"/>
  358. <step>0.1</step>
  359. <factor>1</factor>
  360. <bias>0.0001</bias>
  361. <axis>
  362. <x>1</x>
  363. <y>0</y>
  364. <z>0</z>
  365. </axis>
  366. </animation>
  367. <animation>
  368. <type>textranslate</type>
  369. <object-name>CommUse10K</object-name>
  370. <property alias="../../params/comm-frq-selected"/>
  371. <step>0.01</step>
  372. <factor>10</factor>
  373. <bias>0.0001</bias>
  374. <axis>
  375. <x>1</x>
  376. <y>0</y>
  377. <z>0</z>
  378. </axis>
  379. </animation>
  380. <animation>
  381. <type>textranslate</type>
  382. <object-name>CommUse1K</object-name>
  383. <property alias="../../params/comm-frq-selected"/>
  384. <step>0.001</step>
  385. <factor>100</factor>
  386. <bias>0.0001</bias>
  387. <axis>
  388. <x>1</x>
  389. <y>0</y>
  390. <z>0</z>
  391. </axis>
  392. </animation>
  393. <animation>
  394. <type>textranslate</type>
  395. <object-name>CommStby100M</object-name>
  396. <property alias="../../params/comm-frq-standby"/>
  397. <step>100</step>
  398. <factor>0.001</factor>
  399. <bias>0.0001</bias>
  400. <axis>
  401. <x>1</x>
  402. <y>0</y>
  403. <z>0</z>
  404. </axis>
  405. </animation>
  406. <animation>
  407. <type>textranslate</type>
  408. <object-name>CommStby10M</object-name>
  409. <property alias="../../params/comm-frq-standby"/>
  410. <step>10</step>
  411. <factor>0.01</factor>
  412. <bias>0.0001</bias>
  413. <axis>
  414. <x>1</x>
  415. <y>0</y>
  416. <z>0</z>
  417. </axis>
  418. </animation>
  419. <animation>
  420. <type>textranslate</type>
  421. <object-name>CommStby1M</object-name>
  422. <property alias="../../params/comm-frq-standby"/>
  423. <step>1</step>
  424. <factor>0.1</factor>
  425. <bias>0.0001</bias>
  426. <axis>
  427. <x>1</x>
  428. <y>0</y>
  429. <z>0</z>
  430. </axis>
  431. </animation>
  432. <animation>
  433. <type>textranslate</type>
  434. <object-name>CommStby100K</object-name>
  435. <property alias="../../params/comm-frq-standby"/>
  436. <step>0.1</step>
  437. <factor>1</factor>
  438. <bias>0.0001</bias>
  439. <axis>
  440. <x>1</x>
  441. <y>0</y>
  442. <z>0</z>
  443. </axis>
  444. </animation>
  445. <animation>
  446. <type>textranslate</type>
  447. <object-name>CommStby10K</object-name>
  448. <property alias="../../params/comm-frq-standby"/>
  449. <step>0.01</step>
  450. <factor>10</factor>
  451. <bias>0.0001</bias>
  452. <axis>
  453. <x>1</x>
  454. <y>0</y>
  455. <z>0</z>
  456. </axis>
  457. </animation>
  458. <animation>
  459. <type>textranslate</type>
  460. <object-name>CommStby1K</object-name>
  461. <property alias="../../params/comm-frq-standby"/>
  462. <step>0.001</step>
  463. <factor>100</factor>
  464. <bias>0.0001</bias>
  465. <axis>
  466. <x>1</x>
  467. <y>0</y>
  468. <z>0</z>
  469. </axis>
  470. </animation>
  471. <!-- NAV part -->
  472. <animation>
  473. <type>translate</type>
  474. <object-name>NAVxfer</object-name>
  475. <property alias="../../params/nav-frq-swp"/>
  476. <factor>-0.003</factor>
  477. <axis>
  478. <x>1</x>
  479. <y>0</y>
  480. <z>0</z>
  481. </axis>
  482. </animation>
  483. <animation>
  484. <type>textranslate</type>
  485. <object-name>NavUse100M</object-name>
  486. <property alias="../../params/nav-frq-selected"/>
  487. <step>100</step>
  488. <factor>0.001</factor>
  489. <bias>0.0001</bias>
  490. <axis>
  491. <x>1</x>
  492. <y>0</y>
  493. <z>0</z>
  494. </axis>
  495. </animation>
  496. <animation>
  497. <type>textranslate</type>
  498. <object-name>NavUse10M</object-name>
  499. <property alias="../../params/nav-frq-selected"/>
  500. <step>10</step>
  501. <factor>0.01</factor>
  502. <bias>0.0001</bias>
  503. <axis>
  504. <x>1</x>
  505. <y>0</y>
  506. <z>0</z>
  507. </axis>
  508. </animation>
  509. <animation>
  510. <type>textranslate</type>
  511. <object-name>NavUse1M</object-name>
  512. <property alias="../../params/nav-frq-selected"/>
  513. <step>1</step>
  514. <factor>0.1</factor>
  515. <bias>0.0001</bias>
  516. <axis>
  517. <x>1</x>
  518. <y>0</y>
  519. <z>0</z>
  520. </axis>
  521. </animation>
  522. <animation>
  523. <type>textranslate</type>
  524. <object-name>NavUse100K</object-name>
  525. <property alias="../../params/nav-frq-selected"/>
  526. <step>0.1</step>
  527. <factor>1</factor>
  528. <bias>0.0001</bias>
  529. <axis>
  530. <x>1</x>
  531. <y>0</y>
  532. <z>0</z>
  533. </axis>
  534. </animation>
  535. <animation>
  536. <type>textranslate</type>
  537. <object-name>NavUse10K</object-name>
  538. <property alias="../../params/nav-frq-selected"/>
  539. <step>0.01</step>
  540. <factor>10</factor>
  541. <bias>0.0001</bias>
  542. <axis>
  543. <x>1</x>
  544. <y>0</y>
  545. <z>0</z>
  546. </axis>
  547. </animation>
  548. <animation>
  549. <type>textranslate</type>
  550. <object-name>NavStby100M</object-name>
  551. <property alias="../../params/nav-frq-standby"/>
  552. <step>100</step>
  553. <factor>0.001</factor>
  554. <bias>0.0001</bias>
  555. <axis>
  556. <x>1</x>
  557. <y>0</y>
  558. <z>0</z>
  559. </axis>
  560. </animation>
  561. <animation>
  562. <type>textranslate</type>
  563. <object-name>NavStby10M</object-name>
  564. <property alias="../../params/nav-frq-standby"/>
  565. <step>10</step>
  566. <factor>0.01</factor>
  567. <bias>0.0001</bias>
  568. <axis>
  569. <x>1</x>
  570. <y>0</y>
  571. <z>0</z>
  572. </axis>
  573. </animation>
  574. <animation>
  575. <type>textranslate</type>
  576. <object-name>NavStby1M</object-name>
  577. <property alias="../../params/nav-frq-standby"/>
  578. <step>1</step>
  579. <factor>0.1</factor>
  580. <bias>0.0001</bias>
  581. <axis>
  582. <x>1</x>
  583. <y>0</y>
  584. <z>0</z>
  585. </axis>
  586. </animation>
  587. <animation>
  588. <type>textranslate</type>
  589. <object-name>NavStby100K</object-name>
  590. <property alias="../../params/nav-frq-standby"/>
  591. <step>0.1</step>
  592. <factor>1</factor>
  593. <bias>0.0001</bias>
  594. <axis>
  595. <x>1</x>
  596. <y>0</y>
  597. <z>0</z>
  598. </axis>
  599. </animation>
  600. <animation>
  601. <type>textranslate</type>
  602. <object-name>NavStby10K</object-name>
  603. <property alias="../../params/nav-frq-standby"/>
  604. <step>0.01</step>
  605. <factor>10</factor>
  606. <bias>0.0001</bias>
  607. <axis>
  608. <x>1</x>
  609. <y>0</y>
  610. <z>0</z>
  611. </axis>
  612. </animation>
  613. <!-- Knobs and buttons -->
  614. <animation>
  615. <type>translate</type>
  616. <object-name>NAVvol</object-name>
  617. <property alias="../../params/nav-audio"/>
  618. <factor>0.002</factor>
  619. <axis>
  620. <x>1</x>
  621. <y>0</y>
  622. <z>0</z>
  623. </axis>
  624. </animation>
  625. <!-- Actions -->
  626. <!-- Comm part -->
  627. <animation>
  628. <type>knob</type>
  629. <object-name>COMvol</object-name>
  630. <property alias="../../params/comm-volume"/>
  631. <factor>-65</factor>
  632. <axis>
  633. <x>1</x>
  634. <y>0</y>
  635. <z>0</z>
  636. </axis>
  637. <center>
  638. <y-m> -0.061229</y-m>
  639. <z-m> -0.000123</z-m>
  640. </center>
  641. <action>
  642. <binding>
  643. <command>property-adjust</command>
  644. <property alias="../../../../params/comm-volume"/>
  645. <factor>0.1</factor>
  646. <min>0.0</min>
  647. <max>1.0</max>
  648. <wrap>false</wrap>
  649. </binding>
  650. <binding>
  651. <command>property-assign</command>
  652. <property alias="../../../../params/power-comm"/>
  653. <value>1</value>
  654. <condition>
  655. <greater-than>
  656. <property alias="../../../../../../params/comm-volume"/>
  657. <value>0.05</value>
  658. </greater-than>
  659. </condition>
  660. </binding>
  661. <binding>
  662. <command>property-assign</command>
  663. <property alias="../../../../params/power-comm"/>
  664. <value>0</value>
  665. <condition>
  666. <less-than>
  667. <property alias="../../../../../../params/comm-volume"/>
  668. <value>0.05</value>
  669. </less-than>
  670. </condition>
  671. </binding>
  672. <binding>
  673. <command>property-assign</command>
  674. <property alias="../../../../params/power-nav"/>
  675. <value>1</value>
  676. <condition>
  677. <greater-than>
  678. <property alias="../../../../../../params/comm-volume"/>
  679. <value>0.05</value>
  680. </greater-than>
  681. </condition>
  682. </binding>
  683. <binding>
  684. <command>property-assign</command>
  685. <property alias="../../../../params/power-nav"/>
  686. <value>0</value>
  687. <condition>
  688. <less-than>
  689. <property alias="../../../../../../params/comm-volume"/>
  690. <value>0.05</value>
  691. </less-than>
  692. </condition>
  693. </binding>
  694. </action>
  695. <hovered>
  696. <binding>
  697. <command>set-tooltip</command>
  698. <tooltip-id>comm1-volume</tooltip-id>
  699. <label>COM1 Volume: %d%%</label>
  700. <property alias="../../../../params/comm-volume"/>
  701. <mapping>percent</mapping>
  702. </binding>
  703. </hovered>
  704. </animation>
  705. <animation>
  706. <type>translate</type>
  707. <object-name>COMknobKHZ</object-name>
  708. <factor>0.005</factor>
  709. <property>instrumentation/comm[0]/channel-mode-selector</property>
  710. <axis>
  711. <x>1</x>
  712. <y>0</y>
  713. <z>0</z>
  714. </axis>
  715. </animation>
  716. <animation>
  717. <type>translate</type>
  718. <object-name>COMchan</object-name>
  719. <factor>-0.001</factor>
  720. <property>instrumentation/comm[0]/channel-button</property>
  721. <axis>
  722. <x>1</x>
  723. <y>0</y>
  724. <z>0</z>
  725. </axis>
  726. </animation>
  727. <animation>
  728. <type>knob</type>
  729. <object-name>COMknobKHZ</object-name>
  730. <property alias="/params/comm-dial-khz"/>
  731. <factor>-0.25</factor>
  732. <axis>
  733. <x>1</x>
  734. <y>0</y>
  735. <z>0</z>
  736. </axis>
  737. <center>
  738. <y-m> -0.018682</y-m>
  739. <z-m> 0.00267</z-m>
  740. </center>
  741. <action>
  742. <binding>
  743. <command>property-adjust</command>
  744. <property alias="/params/comm-dial-khz"/>
  745. <factor>4</factor>
  746. <min>0</min>
  747. <max>1440</max>
  748. <wrap>true</wrap>
  749. </binding>
  750. </action>
  751. <increase>
  752. <binding>
  753. <command>nasal</command>
  754. <script>
  755. libraries.increment(0, 1);
  756. </script>
  757. </binding>
  758. </increase>
  759. <decrease>
  760. <binding>
  761. <command>nasal</command>
  762. <script>
  763. libraries.increment(0, -1);
  764. </script>
  765. </binding>
  766. </decrease>
  767. <shift-action>
  768. <repeatable>0</repeatable>
  769. <binding>
  770. <command>property-cycle</command>
  771. <property>instrumentation/comm[0]/channel-mode-selector</property>
  772. <value>0</value>
  773. <value>1</value>
  774. </binding>
  775. </shift-action>
  776. <hovered>
  777. <binding>
  778. <command>set-tooltip</command>
  779. <tooltip-id>comm1-kHz</tooltip-id>
  780. <label>Adjust COM1 kHz; Shift click to toggle 8.33</label>
  781. </binding>
  782. </hovered>
  783. </animation>
  784. <animation>
  785. <type>knob</type>
  786. <object-name>COMknobMHZ</object-name>
  787. <property alias="/params/comm-dial-mhz"/>
  788. <factor>-0.25</factor>
  789. <axis>
  790. <x>1</x>
  791. <y>0</y>
  792. <z>0</z>
  793. </axis>
  794. <center>
  795. <y-m> -0.018682</y-m>
  796. <z-m> 0.00267</z-m>
  797. </center>
  798. <action>
  799. <binding>
  800. <condition>
  801. <property alias="../../../../../params/power-comm"/>
  802. </condition>
  803. <command>property-adjust</command>
  804. <property alias="/params/comm-frq-standby"/>
  805. <factor>1</factor>
  806. <min>118.0</min>
  807. <max>136.99167</max>
  808. <wrap>true</wrap>
  809. <mask>integer</mask>
  810. </binding>
  811. <binding>
  812. <command>property-adjust</command>
  813. <property alias="/params/comm-dial-mhz"/>
  814. <factor>4</factor>
  815. <min>0</min>
  816. <max>360</max>
  817. <wrap>true</wrap>
  818. </binding>
  819. </action>
  820. <hovered>
  821. <binding>
  822. <command>set-tooltip</command>
  823. <tooltip-id>comm1-MHz</tooltip-id>
  824. <label>Adjust COM1 MHz</label>
  825. </binding>
  826. </hovered>
  827. </animation>
  828. <animation>
  829. <type>pick</type>
  830. <object-name>COMxfer</object-name>
  831. <visible>true</visible>
  832. <action>
  833. <button>0</button>
  834. <repeatable>false</repeatable>
  835. <binding>
  836. <command>property-assign</command>
  837. <property alias="../../../../params/comm-frq-swp"/>
  838. <value type="int">1</value>
  839. </binding>
  840. <binding>
  841. <command>property-swap</command>
  842. <property alias="../../../../params/comm-frq-selected"/>
  843. <property alias="../../../../params/comm-frq-standby"/>
  844. </binding>
  845. <mod-up>
  846. <binding>
  847. <command>property-assign</command>
  848. <property alias="../../../../../params/comm-frq-swp"/>
  849. <value type="int">0</value>
  850. </binding>
  851. </mod-up>
  852. </action>
  853. <hovered>
  854. <binding>
  855. <command>set-tooltip</command>
  856. <tooltip-id>comm1-toggle</tooltip-id>
  857. <label>Swap COM1 frequencies</label>
  858. </binding>
  859. </hovered>
  860. </animation>
  861. <!-- Nav part -->
  862. <animation>
  863. <type>knob</type>
  864. <object-name>NAVvol</object-name>
  865. <property alias="../../params/nav-volume"/>
  866. <factor>-65</factor>
  867. <axis>
  868. <x>1</x>
  869. <y>0</y>
  870. <z>0</z>
  871. </axis>
  872. <center>
  873. <y-m> 0.019132</y-m>
  874. <z-m> -0.000123</z-m>
  875. </center>
  876. <action>
  877. <binding>
  878. <command>property-adjust</command>
  879. <property alias="../../../../params/nav-volume"/>
  880. <factor>0.1</factor>
  881. <min>0.0</min>
  882. <max>1.0</max>
  883. <wrap>false</wrap>
  884. </binding>
  885. </action>
  886. <shift-action>
  887. <binding>
  888. <command>property-toggle</command>
  889. <property alias="../../../../params/nav-audio"/>
  890. </binding>
  891. </shift-action>
  892. <hovered>
  893. <binding>
  894. <command>set-tooltip</command>
  895. <tooltip-id>nav1-volume</tooltip-id>
  896. <label>%s</label>
  897. <measure-text>NAV1 Volume: 100% ; Ident disabled (Shift + click to pull)</measure-text>
  898. <property alias="../../../../params/nav-volume"/>
  899. <mapping>nasal</mapping>
  900. <script>
  901. var v = arg[0];
  902. var a = getprop("/instrumentation/nav[0]/ident-audible");
  903. var s = "NAV1 Volume: ";
  904. s = s ~ sprintf("%3d", (v * 100) + .1); # rounding errors
  905. s = s ~ "% ; Ident ";
  906. if (a)
  907. s = s ~ "enabled (Shift + click to push)";
  908. else
  909. s = s ~ "disabled (Shift + click to pull)";
  910. return s;
  911. </script>
  912. </binding>
  913. </hovered>
  914. </animation>
  915. <animation>
  916. <type>knob</type>
  917. <object-name>NAVknobKHZ</object-name>
  918. <property alias="/params/nav-dial-khz"/>
  919. <factor>-0.25</factor>
  920. <axis>
  921. <x>1</x>
  922. <y>0</y>
  923. <z>0</z>
  924. </axis>
  925. <center>
  926. <y-m> 0.063223</y-m>
  927. <z-m> 0.00267</z-m>
  928. </center>
  929. <action>
  930. <binding>
  931. <condition>
  932. <property alias="../../../../../params/power-comm"/>
  933. </condition>
  934. <command>property-adjust</command>
  935. <property alias="/params/nav-frq-standby"/>
  936. <factor>0.05</factor>
  937. <min>0.0</min>
  938. <max>1.0</max>
  939. <resolution>0.050</resolution>
  940. <wrap>true</wrap>
  941. <mask>decimal</mask>
  942. </binding>
  943. <binding>
  944. <command>property-adjust</command>
  945. <property alias="/params/nav-dial-khz"/>
  946. <factor>4</factor>
  947. <min>0</min>
  948. <max>1440</max>
  949. <wrap>true</wrap>
  950. </binding>
  951. </action>
  952. <hovered>
  953. <binding>
  954. <command>set-tooltip</command>
  955. <tooltip-id>nav1-kHz</tooltip-id>
  956. <label>Adjust NAV1 kHz</label>
  957. </binding>
  958. </hovered>
  959. </animation>
  960. <animation>
  961. <type>knob</type>
  962. <object-name>NAVknobMHZ</object-name>
  963. <property alias="/params/nav-dial-mhz"/>
  964. <factor>-0.25</factor>
  965. <axis>
  966. <x>1</x>
  967. <y>0</y>
  968. <z>0</z>
  969. </axis>
  970. <center>
  971. <y-m> 0.063223</y-m>
  972. <z-m> 0.00267</z-m>
  973. </center>
  974. <action>
  975. <binding>
  976. <condition>
  977. <property alias="../../../../../params/power-comm"/>
  978. </condition>
  979. <command>property-adjust</command>
  980. <property alias="/params/nav-frq-standby"/>
  981. <factor>1</factor>
  982. <min>108.0</min>
  983. <max>118.0</max>
  984. <wrap>true</wrap>
  985. <mask>integer</mask>
  986. </binding>
  987. <binding>
  988. <command>property-adjust</command>
  989. <property alias="/params/nav-dial-mhz"/>
  990. <factor>4</factor>
  991. <min>0</min>
  992. <max>360</max>
  993. <wrap>true</wrap>
  994. </binding>
  995. </action>
  996. <hovered>
  997. <binding>
  998. <command>set-tooltip</command>
  999. <tooltip-id>nav1-MHz</tooltip-id>
  1000. <label>Adjust NAV1 MHz</label>
  1001. </binding>
  1002. </hovered>
  1003. </animation>
  1004. <animation>
  1005. <type>pick</type>
  1006. <object-name>NAVxfer</object-name>
  1007. <visible>true</visible>
  1008. <action>
  1009. <button>0</button>
  1010. <repeatable>false</repeatable>
  1011. <binding>
  1012. <command>property-assign</command>
  1013. <property alias="../../../../params/nav-frq-swp"/>
  1014. <value type="int">1</value>
  1015. </binding>
  1016. <binding>
  1017. <command>property-swap</command>
  1018. <property alias="../../../../params/nav-frq-selected"/>
  1019. <property alias="../../../../params/nav-frq-standby"/>
  1020. </binding>
  1021. <mod-up>
  1022. <binding>
  1023. <command>property-assign</command>
  1024. <property alias="../../../../../params/nav-frq-swp"/>
  1025. <value type="int">0</value>
  1026. </binding>
  1027. </mod-up>
  1028. </action>
  1029. <hovered>
  1030. <binding>
  1031. <command>set-tooltip</command>
  1032. <tooltip-id>nav1-toggle</tooltip-id>
  1033. <label>Swap NAV1 frequencies</label>
  1034. </binding>
  1035. </hovered>
  1036. </animation>
  1037. </PropertyList>