kx165-1.xml 29 KB

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