kx165-2.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[1]/volume-selected",
  12. "instrumentation/comm[1]/frequencies/selected-mhz",
  13. "instrumentation/comm[1]/frequencies/standby-mhz",
  14. "instrumentation/comm[1]/frequencies/dial-khz",
  15. "instrumentation/comm[1]/frequencies/dial-mhz",
  16. "instrumentation/comm[1]/test-btn",
  17. "instrumentation/nav[1]/ident-audible",
  18. "instrumentation/nav[1]/power-btn",
  19. "instrumentation/nav[1]/frequencies/selected-mhz",
  20. "instrumentation/nav[1]/frequencies/standby-mhz",
  21. "instrumentation/nav[1]/frequencies/dial-khz",
  22. "instrumentation/nav[1]/frequencies/dial-mhz",
  23. );
  24. -->
  25. <params>
  26. <comm-serviceable>instrumentation/comm[1]/serviceable</comm-serviceable>
  27. <nav-serviceable>instrumentation/nav[1]/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[1]/frq-swap-btn</comm-frq-swp>
  31. <comm-frq-selected>instrumentation/comm[1]/frequencies/selected-mhz</comm-frq-selected>
  32. <comm-frq-standby>instrumentation/comm[1]/frequencies/standby-mhz</comm-frq-standby>
  33. <comm-dial-khz>instrumentation/comm[1]/frequencies/dial-khz</comm-dial-khz>
  34. <comm-dial-mhz>instrumentation/comm[1]/frequencies/dial-mhz</comm-dial-mhz>
  35. <comm-volume>instrumentation/comm[1]/volume</comm-volume> <!-- was: instrumentation/comm[1]/volume-selected (TODO revert once audio panel works) -->
  36. <comm-test>instrumentation/comm[1]/test-btn</comm-test>
  37. <channel-mode-selector>instrumentation/comm[1]/channel-mode-selector</channel-mode-selector>
  38. <nav-frq-swp>instrumentation/nav[1]/frq-swap-btn</nav-frq-swp>
  39. <nav-frq-selected>instrumentation/nav[1]/frequencies/selected-mhz</nav-frq-selected>
  40. <nav-frq-standby>instrumentation/nav[1]/frequencies/standby-mhz</nav-frq-standby>
  41. <nav-dial-khz>instrumentation/nav[1]/frequencies/dial-khz</nav-dial-khz>
  42. <nav-dial-mhz>instrumentation/nav[1]/frequencies/dial-mhz</nav-dial-mhz>
  43. <nav-volume>instrumentation/nav[1]/volume</nav-volume>
  44. <nav-audio>instrumentation/nav[1]/ident-audible</nav-audio>
  45. </params>
  46. <path>kx165.ac</path>
  47. <!--
  48. <effect>
  49. <inherits-from>../../../../Effects/interior/lm-kx165-2r</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-2</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. -->
  71. <!-- <effect>
  72. <inherits-from>../../Effects/interior-radiance</inherits-from>
  73. <object-name>CommStby100K</object-name>
  74. <object-name>CommStby100M</object-name>
  75. <object-name>CommStby10K</object-name>
  76. <object-name>CommStby10M</object-name>
  77. <object-name>CommStby1K</object-name>
  78. <object-name>CommStby1M</object-name>
  79. <object-name>CommStbyDot</object-name>
  80. <object-name>CommUse100K</object-name>
  81. <object-name>CommUse100M</object-name>
  82. <object-name>CommUse10K</object-name>
  83. <object-name>CommUse10M</object-name>
  84. <object-name>CommUse1K</object-name>
  85. <object-name>CommUse1M</object-name>
  86. <object-name>CommUseDot</object-name>
  87. <object-name>NavStby100K</object-name>
  88. <object-name>NavStby100M</object-name>
  89. <object-name>NavStby10K</object-name>
  90. <object-name>NavStby10M</object-name>
  91. <object-name>NavStby1M</object-name>
  92. <object-name>NavStbyDot</object-name>
  93. <object-name>NavUse100K</object-name>
  94. <object-name>NavUse100M</object-name>
  95. <object-name>NavUse10K</object-name>
  96. <object-name>NavUse10M</object-name>
  97. <object-name>NavUse1M</object-name>
  98. <object-name>NavUseDot</object-name>
  99. <object-name>KX165Line</object-name>
  100. </effect>--><!--
  101. <animation>
  102. <type>material</type>
  103. <object-name>KX165</object-name>
  104. <object-name>COMknobKHZ</object-name>
  105. <object-name>COMknobMHZ</object-name>
  106. <object-name>COMxfer</object-name>
  107. <object-name>COMchan</object-name>
  108. <object-name>COMvol</object-name>
  109. <object-name>NAVknobKHZ</object-name>
  110. <object-name>NAVknobMHZ</object-name>
  111. <object-name>NAVxfer</object-name>
  112. <object-name>NAVmode</object-name>
  113. <object-name>NAVvol</object-name>
  114. <condition>
  115. <not>
  116. <property>/sim/rendering/shaders/skydome</property>
  117. </not>
  118. </condition>
  119. <emission>
  120. <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
  121. <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
  122. <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
  123. </emission>
  124. </animation>-->
  125. <animation>
  126. <type>material</type>
  127. <object-name>COMknobKHZ</object-name>
  128. <object-name>COMknobMHZ</object-name>
  129. <object-name>COMxfer</object-name>
  130. <object-name>COMchan</object-name>
  131. <object-name>COMvol</object-name>
  132. <object-name>CommStby100K</object-name>
  133. <object-name>CommStby100M</object-name>
  134. <object-name>CommStby10K</object-name>
  135. <object-name>CommStby10M</object-name>
  136. <object-name>CommStby1K</object-name>
  137. <object-name>CommStby1M</object-name>
  138. <object-name>CommStbyDot</object-name>
  139. <object-name>CommUse100K</object-name>
  140. <object-name>CommUse100M</object-name>
  141. <object-name>CommUse10K</object-name>
  142. <object-name>CommUse10M</object-name>
  143. <object-name>CommUse1K</object-name>
  144. <object-name>CommUse1M</object-name>
  145. <object-name>CommUseDot</object-name>
  146. <object-name>NAVknobKHZ</object-name>
  147. <object-name>NAVknobMHZ</object-name>
  148. <object-name>NAVxfer</object-name>
  149. <object-name>NAVmode</object-name>
  150. <object-name>NAVvol</object-name>
  151. <object-name>NavStby100K</object-name>
  152. <object-name>NavStby100M</object-name>
  153. <object-name>NavStby10K</object-name>
  154. <object-name>NavStby10M</object-name>
  155. <object-name>NavStby1M</object-name>
  156. <object-name>NavStbyDot</object-name>
  157. <object-name>NavUse100K</object-name>
  158. <object-name>NavUse100M</object-name>
  159. <object-name>NavUse10K</object-name>
  160. <object-name>NavUse10M</object-name>
  161. <object-name>NavUse1M</object-name>
  162. <object-name>NavUseDot</object-name>
  163. <object-name>KX165Line</object-name>
  164. <object-name>KX165</object-name>
  165. <object-name>Screen</object-name>
  166. <property-base>/sim/instrumentation/comm[1]</property-base>
  167. <texture-prop>texture-file</texture-prop>
  168. </animation>
  169. <animation>
  170. <type>select</type>
  171. <object-name>CommStby100K</object-name>
  172. <object-name>CommStby100M</object-name>
  173. <object-name>CommStby10K</object-name>
  174. <object-name>CommStby10M</object-name>
  175. <object-name>CommStby1K</object-name>
  176. <object-name>CommStby1M</object-name>
  177. <object-name>CommStbyDot</object-name>
  178. <object-name>CommUse100K</object-name>
  179. <object-name>CommUse100M</object-name>
  180. <object-name>CommUse10K</object-name>
  181. <object-name>CommUse10M</object-name>
  182. <object-name>CommUse1K</object-name>
  183. <object-name>CommUse1M</object-name>
  184. <object-name>CommUseDot</object-name>
  185. <object-name>NavStby100K</object-name>
  186. <object-name>NavStby100M</object-name>
  187. <object-name>NavStby10K</object-name>
  188. <object-name>NavStby10M</object-name>
  189. <object-name>NavStby1M</object-name>
  190. <object-name>NavStbyDot</object-name>
  191. <object-name>NavUse100K</object-name>
  192. <object-name>NavUse100M</object-name>
  193. <object-name>NavUse10K</object-name>
  194. <object-name>NavUse10M</object-name>
  195. <object-name>NavUse1M</object-name>
  196. <object-name>NavUseDot</object-name>
  197. <object-name>KX165Line</object-name>
  198. <condition>
  199. <property alias="../../../params/comm-serviceable"/>
  200. <property alias="../../../params/nav-serviceable"/>
  201. <property alias="../../../params/power-comm"/>
  202. <greater-than>
  203. <property>systems/electrical/outputs/com1</property>
  204. <value>1</value>
  205. </greater-than>
  206. </condition>
  207. </animation>
  208. <animation>
  209. <type>material</type>
  210. <object-name>COMxfer</object-name>
  211. <object-name>COMchan</object-name>
  212. <object-name>NAVxfer</object-name>
  213. <object-name>NAVmode</object-name>
  214. <condition>
  215. <not>
  216. <property>sim/rendering/rembrandt/enabled</property>
  217. </not>
  218. </condition>
  219. <emission>
  220. <red>0.5</red>
  221. <green>0.1</green>
  222. <blue>0.00005</blue>
  223. <factor-prop>controls/lighting/instrument-lights</factor-prop>
  224. </emission>
  225. </animation>
  226. <animation>
  227. <type>material</type>
  228. <object-name>CommStby100K</object-name>
  229. <object-name>CommStby100M</object-name>
  230. <object-name>CommStby10K</object-name>
  231. <object-name>CommStby10M</object-name>
  232. <object-name>CommStby1K</object-name>
  233. <object-name>CommStby1M</object-name>
  234. <object-name>CommStbyDot</object-name>
  235. <object-name>CommUse100K</object-name>
  236. <object-name>CommUse100M</object-name>
  237. <object-name>CommUse10K</object-name>
  238. <object-name>CommUse10M</object-name>
  239. <object-name>CommUse1K</object-name>
  240. <object-name>CommUse1M</object-name>
  241. <object-name>CommUseDot</object-name>
  242. <object-name>NavStby100K</object-name>
  243. <object-name>NavStby100M</object-name>
  244. <object-name>NavStby10K</object-name>
  245. <object-name>NavStby10M</object-name>
  246. <object-name>NavStby1M</object-name>
  247. <object-name>NavStbyDot</object-name>
  248. <object-name>NavUse100K</object-name>
  249. <object-name>NavUse100M</object-name>
  250. <object-name>NavUse10K</object-name>
  251. <object-name>NavUse10M</object-name>
  252. <object-name>NavUse1M</object-name>
  253. <object-name>NavUseDot</object-name>
  254. <object-name>KX165Line</object-name>
  255. <condition>
  256. <and>
  257. <not>
  258. <property>sim/rendering/rembrandt/enabled</property>
  259. </not>
  260. <greater-than>
  261. <property>controls/lighting/panel-norm</property>
  262. <value>0.0</value>
  263. </greater-than>
  264. </and>
  265. </condition>
  266. <emission>
  267. <red>0.91</red>
  268. <green>0.91</green>
  269. <blue>0.91</blue>
  270. <factor-prop>controls/lighting/panel-norm</factor-prop>
  271. </emission>
  272. </animation>
  273. <effect>
  274. <inherits-from>Effects/model-transparent</inherits-from>
  275. <object-name>CommStby100K</object-name>
  276. <object-name>CommStby100M</object-name>
  277. <object-name>CommStby10K</object-name>
  278. <object-name>CommStby10M</object-name>
  279. <object-name>CommStby1K</object-name>
  280. <object-name>CommStby1M</object-name>
  281. <object-name>CommStbyDot</object-name>
  282. <object-name>CommUse100K</object-name>
  283. <object-name>CommUse100M</object-name>
  284. <object-name>CommUse10K</object-name>
  285. <object-name>CommUse10M</object-name>
  286. <object-name>CommUse1K</object-name>
  287. <object-name>CommUse1M</object-name>
  288. <object-name>CommUseDot</object-name>
  289. <object-name>NavStby100K</object-name>
  290. <object-name>NavStby100M</object-name>
  291. <object-name>NavStby10K</object-name>
  292. <object-name>NavStby10M</object-name>
  293. <object-name>NavStby1M</object-name>
  294. <object-name>NavStbyDot</object-name>
  295. <object-name>NavUse100K</object-name>
  296. <object-name>NavUse100M</object-name>
  297. <object-name>NavUse10K</object-name>
  298. <object-name>NavUse10M</object-name>
  299. <object-name>NavUse1M</object-name>
  300. <object-name>NavUseDot</object-name>
  301. <object-name>KX165Line</object-name>
  302. <object-name>Screen</object-name>
  303. </effect>
  304. <!-- comm part -->
  305. <animation>
  306. <type>translate</type>
  307. <object-name>COMxfer</object-name>
  308. <property alias="../../params/comm-frq-swp"/>
  309. <factor>-0.003</factor>
  310. <axis>
  311. <x>1</x>
  312. <y>0</y>
  313. <z>0</z>
  314. </axis>
  315. </animation>
  316. <animation>
  317. <type>textranslate</type>
  318. <object-name>CommUse100M</object-name>
  319. <property alias="../../params/comm-frq-selected"/>
  320. <step>100</step>
  321. <factor>0.001</factor>
  322. <bias>0.0001</bias>
  323. <axis>
  324. <x>1</x>
  325. <y>0</y>
  326. <z>0</z>
  327. </axis>
  328. </animation>
  329. <animation>
  330. <type>textranslate</type>
  331. <object-name>CommUse10M</object-name>
  332. <property alias="../../params/comm-frq-selected"/>
  333. <step>10</step>
  334. <factor>0.01</factor>
  335. <bias>0.0001</bias>
  336. <axis>
  337. <x>1</x>
  338. <y>0</y>
  339. <z>0</z>
  340. </axis>
  341. </animation>
  342. <animation>
  343. <type>textranslate</type>
  344. <object-name>CommUse1M</object-name>
  345. <property alias="../../params/comm-frq-selected"/>
  346. <step>1</step>
  347. <factor>0.1</factor>
  348. <bias>0.0001</bias>
  349. <axis>
  350. <x>1</x>
  351. <y>0</y>
  352. <z>0</z>
  353. </axis>
  354. </animation>
  355. <animation>
  356. <type>textranslate</type>
  357. <object-name>CommUse100K</object-name>
  358. <property alias="../../params/comm-frq-selected"/>
  359. <step>0.1</step>
  360. <factor>1</factor>
  361. <bias>0.0001</bias>
  362. <axis>
  363. <x>1</x>
  364. <y>0</y>
  365. <z>0</z>
  366. </axis>
  367. </animation>
  368. <animation>
  369. <type>textranslate</type>
  370. <object-name>CommUse10K</object-name>
  371. <property alias="../../params/comm-frq-selected"/>
  372. <step>0.01</step>
  373. <factor>10</factor>
  374. <bias>0.0001</bias>
  375. <axis>
  376. <x>1</x>
  377. <y>0</y>
  378. <z>0</z>
  379. </axis>
  380. </animation>
  381. <animation>
  382. <type>textranslate</type>
  383. <object-name>CommUse1K</object-name>
  384. <property alias="../../params/comm-frq-selected"/>
  385. <step>0.001</step>
  386. <factor>100</factor>
  387. <bias>0.0001</bias>
  388. <axis>
  389. <x>1</x>
  390. <y>0</y>
  391. <z>0</z>
  392. </axis>
  393. </animation>
  394. <animation>
  395. <type>textranslate</type>
  396. <object-name>CommStby100M</object-name>
  397. <property alias="../../params/comm-frq-standby"/>
  398. <step>100</step>
  399. <factor>0.001</factor>
  400. <bias>0.0001</bias>
  401. <axis>
  402. <x>1</x>
  403. <y>0</y>
  404. <z>0</z>
  405. </axis>
  406. </animation>
  407. <animation>
  408. <type>textranslate</type>
  409. <object-name>CommStby10M</object-name>
  410. <property alias="../../params/comm-frq-standby"/>
  411. <step>10</step>
  412. <factor>0.01</factor>
  413. <bias>0.0001</bias>
  414. <axis>
  415. <x>1</x>
  416. <y>0</y>
  417. <z>0</z>
  418. </axis>
  419. </animation>
  420. <animation>
  421. <type>textranslate</type>
  422. <object-name>CommStby1M</object-name>
  423. <property alias="../../params/comm-frq-standby"/>
  424. <step>1</step>
  425. <factor>0.1</factor>
  426. <bias>0.0001</bias>
  427. <axis>
  428. <x>1</x>
  429. <y>0</y>
  430. <z>0</z>
  431. </axis>
  432. </animation>
  433. <animation>
  434. <type>textranslate</type>
  435. <object-name>CommStby100K</object-name>
  436. <property alias="../../params/comm-frq-standby"/>
  437. <step>0.1</step>
  438. <factor>1</factor>
  439. <bias>0.0001</bias>
  440. <axis>
  441. <x>1</x>
  442. <y>0</y>
  443. <z>0</z>
  444. </axis>
  445. </animation>
  446. <animation>
  447. <type>textranslate</type>
  448. <object-name>CommStby10K</object-name>
  449. <property alias="../../params/comm-frq-standby"/>
  450. <step>0.01</step>
  451. <factor>10</factor>
  452. <bias>0.0001</bias>
  453. <axis>
  454. <x>1</x>
  455. <y>0</y>
  456. <z>0</z>
  457. </axis>
  458. </animation>
  459. <animation>
  460. <type>textranslate</type>
  461. <object-name>CommStby1K</object-name>
  462. <property alias="../../params/comm-frq-standby"/>
  463. <step>0.001</step>
  464. <factor>100</factor>
  465. <bias>0.0001</bias>
  466. <axis>
  467. <x>1</x>
  468. <y>0</y>
  469. <z>0</z>
  470. </axis>
  471. </animation>
  472. <!-- NAV part -->
  473. <animation>
  474. <type>translate</type>
  475. <object-name>NAVxfer</object-name>
  476. <property alias="../../params/nav-frq-swp"/>
  477. <factor>-0.003</factor>
  478. <axis>
  479. <x>1</x>
  480. <y>0</y>
  481. <z>0</z>
  482. </axis>
  483. </animation>
  484. <animation>
  485. <type>textranslate</type>
  486. <object-name>NavUse100M</object-name>
  487. <property alias="../../params/nav-frq-selected"/>
  488. <step>100</step>
  489. <factor>0.001</factor>
  490. <bias>0.0001</bias>
  491. <axis>
  492. <x>1</x>
  493. <y>0</y>
  494. <z>0</z>
  495. </axis>
  496. </animation>
  497. <animation>
  498. <type>textranslate</type>
  499. <object-name>NavUse10M</object-name>
  500. <property alias="../../params/nav-frq-selected"/>
  501. <step>10</step>
  502. <factor>0.01</factor>
  503. <bias>0.0001</bias>
  504. <axis>
  505. <x>1</x>
  506. <y>0</y>
  507. <z>0</z>
  508. </axis>
  509. </animation>
  510. <animation>
  511. <type>textranslate</type>
  512. <object-name>NavUse1M</object-name>
  513. <property alias="../../params/nav-frq-selected"/>
  514. <step>1</step>
  515. <factor>0.1</factor>
  516. <bias>0.0001</bias>
  517. <axis>
  518. <x>1</x>
  519. <y>0</y>
  520. <z>0</z>
  521. </axis>
  522. </animation>
  523. <animation>
  524. <type>textranslate</type>
  525. <object-name>NavUse100K</object-name>
  526. <property alias="../../params/nav-frq-selected"/>
  527. <step>0.1</step>
  528. <factor>1</factor>
  529. <bias>0.0001</bias>
  530. <axis>
  531. <x>1</x>
  532. <y>0</y>
  533. <z>0</z>
  534. </axis>
  535. </animation>
  536. <animation>
  537. <type>textranslate</type>
  538. <object-name>NavUse10K</object-name>
  539. <property alias="../../params/nav-frq-selected"/>
  540. <step>0.01</step>
  541. <factor>10</factor>
  542. <bias>0.0001</bias>
  543. <axis>
  544. <x>1</x>
  545. <y>0</y>
  546. <z>0</z>
  547. </axis>
  548. </animation>
  549. <animation>
  550. <type>textranslate</type>
  551. <object-name>NavStby100M</object-name>
  552. <property alias="../../params/nav-frq-standby"/>
  553. <step>100</step>
  554. <factor>0.001</factor>
  555. <bias>0.0001</bias>
  556. <axis>
  557. <x>1</x>
  558. <y>0</y>
  559. <z>0</z>
  560. </axis>
  561. </animation>
  562. <animation>
  563. <type>textranslate</type>
  564. <object-name>NavStby10M</object-name>
  565. <property alias="../../params/nav-frq-standby"/>
  566. <step>10</step>
  567. <factor>0.01</factor>
  568. <bias>0.0001</bias>
  569. <axis>
  570. <x>1</x>
  571. <y>0</y>
  572. <z>0</z>
  573. </axis>
  574. </animation>
  575. <animation>
  576. <type>textranslate</type>
  577. <object-name>NavStby1M</object-name>
  578. <property alias="../../params/nav-frq-standby"/>
  579. <step>1</step>
  580. <factor>0.1</factor>
  581. <bias>0.0001</bias>
  582. <axis>
  583. <x>1</x>
  584. <y>0</y>
  585. <z>0</z>
  586. </axis>
  587. </animation>
  588. <animation>
  589. <type>textranslate</type>
  590. <object-name>NavStby100K</object-name>
  591. <property alias="../../params/nav-frq-standby"/>
  592. <step>0.1</step>
  593. <factor>1</factor>
  594. <bias>0.0001</bias>
  595. <axis>
  596. <x>1</x>
  597. <y>0</y>
  598. <z>0</z>
  599. </axis>
  600. </animation>
  601. <animation>
  602. <type>textranslate</type>
  603. <object-name>NavStby10K</object-name>
  604. <property alias="../../params/nav-frq-standby"/>
  605. <step>0.01</step>
  606. <factor>10</factor>
  607. <bias>0.0001</bias>
  608. <axis>
  609. <x>1</x>
  610. <y>0</y>
  611. <z>0</z>
  612. </axis>
  613. </animation>
  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>comm2-volume</tooltip-id>
  699. <label>COM2 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[1]/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[1]/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(1, 1);
  756. </script>
  757. </binding>
  758. </increase>
  759. <decrease>
  760. <binding>
  761. <command>nasal</command>
  762. <script>
  763. libraries.increment(1, -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[1]/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>comm2-kHz</tooltip-id>
  780. <label>Adjust COM2 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>comm2-MHz</tooltip-id>
  824. <label>Adjust COM2 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 COM2 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>NAV2 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[1]/ident-audible");
  903. var s = "NAV2 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 NAV2 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>nav2-MHz</tooltip-id>
  1000. <label>Adjust NAV2 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 NAV2 frequencies</label>
  1034. </binding>
  1035. </hovered>
  1036. </animation>
  1037. </PropertyList>