ec130-multikey.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  1. <?xml version="1.0"?>
  2. <!--
  3. This file defines vi-like key sequences which are started with the ':'-key.
  4. It's evaluated by $FG_ROOT/Nasal/multikey.nas.
  5. - <Esc> always aborts.
  6. - <Return>/<Enter> executes and terminates the command mode, given that
  7. <binding>s exist (use "null" if there's nothing else to do) and <no-exit/>
  8. isn't defined.
  9. - Keys with defined <exit/> property execute their bindings immediately,
  10. that is: without having to press <Return>/<Enter>.
  11. - Format placeholder values are available to Nasal code via arg[].
  12. - Nasal code can set the dialog title by assignment to the _ variable.
  13. - <key> indices aren't used by the system, but are recommended to allow
  14. reliable overwriting by aircraft or user xml files.
  15. - Cursor keys are equivalent to characters <, >, ^, _.
  16. -->
  17. <PropertyList>
  18. <key n="65">
  19. <name>A</name>
  20. <desc>EC130/H130 Controls</desc><!-- reserved for aircraft extensions -->
  21. <!-- begin SCU BUTTON handling -->
  22. <key n="65">
  23. <name>A</name>
  24. <desc>BAT EPU</desc>
  25. <exit/>
  26. <binding>
  27. <command>property-toggle</command>
  28. <property>controls/electric/battery-switch</property>
  29. </binding>
  30. </key>
  31. <key n="66">
  32. <name>B</name>
  33. <desc>DCT/BAT</desc>
  34. <exit/>
  35. <binding>
  36. <command>property-toggle</command>
  37. <property>controls/electric/directbat-switch</property>
  38. </binding>
  39. </key>
  40. <key n="67">
  41. <name>C</name>
  42. <desc>GENE</desc>
  43. <exit/>
  44. <binding>
  45. <condition>
  46. <property>systems/electrical/volts</property>
  47. </condition>
  48. <command>property-toggle</command>
  49. <property>controls/electric/engine[0]/generator</property>
  50. </binding>
  51. </key>
  52. <key n="68">
  53. <name>D</name>
  54. <desc>HORN</desc>
  55. <exit/>
  56. <binding>
  57. <command>property-toggle</command>
  58. <property>controls/electric/horn</property>
  59. </binding>
  60. </key>
  61. <key n="69">
  62. <name>E</name>
  63. <desc>DOME LT</desc>
  64. <exit/>
  65. <binding>
  66. <condition>
  67. <property>systems/electrical/volts</property>
  68. </condition>
  69. <command>property-toggle</command>
  70. <property>controls/lighting/dome-light</property>
  71. </binding>
  72. </key>
  73. <key n="70">
  74. <name>F</name>
  75. <desc>AVIONIC</desc>
  76. <exit/>
  77. <binding>
  78. <condition>
  79. <property>systems/electrical/volts</property>
  80. </condition>
  81. <command>property-toggle</command>
  82. <property>controls/electric/avionics-switch</property>
  83. </binding>
  84. </key>
  85. <!-- short-time toggle buttons cannot react on mod-up -->
  86. <!-- WORKAROUND: reset with timer after 1 sec -->
  87. <key n="71">
  88. <name>G</name>
  89. <desc>GENE RST</desc>
  90. <exit/>
  91. <binding>
  92. <condition>
  93. <property>systems/electrical/volts</property>
  94. </condition>
  95. <command>nasal</command>
  96. <script>
  97. setprop("/controls/electric/engine[0]/generator",-1);
  98. settimer( func{ setprop("/controls/electric/engine[0]/generator",0); },1);
  99. </script>
  100. </binding>
  101. </key>
  102. <key n="72">
  103. <name>H</name>
  104. <desc>A/COL LT</desc>
  105. <exit/>
  106. <binding>
  107. <condition>
  108. <property>systems/electrical/volts</property>
  109. </condition>
  110. <command>property-toggle</command>
  111. <property>controls/lighting/beacon</property>
  112. </binding>
  113. <!-- mhab strobe is tied to beacon (for simplicity) -->
  114. <binding>
  115. <command>property-toggle</command>
  116. <property>controls/lighting/strobe</property>
  117. </binding>
  118. </key>
  119. <key n="73">
  120. <name>I</name>
  121. <desc>POS LT</desc>
  122. <exit/>
  123. <binding>
  124. <condition>
  125. <property>systems/electrical/volts</property>
  126. </condition>
  127. <command>property-toggle</command>
  128. <property>controls/lighting/nav-lights</property>
  129. </binding>
  130. </key>
  131. <key n="80">
  132. <name>P</name>
  133. <desc>FUEL P</desc>
  134. <exit/>
  135. <binding>
  136. <condition>
  137. <property>systems/electrical/volts</property>
  138. </condition>
  139. <command>property-toggle</command>
  140. <property>controls/fuel/tank/boost-pump</property>
  141. </binding>
  142. </key>
  143. <key n="74">
  144. <name>J</name>
  145. <desc>INST L1</desc>
  146. <exit/>
  147. <binding>
  148. <condition>
  149. <property>systems/electrical/volts</property>
  150. </condition>
  151. <command>property-toggle</command>
  152. <property>controls/lighting/instrument-lights</property>
  153. </binding>
  154. </key>
  155. <key n="75">
  156. <name>K</name>
  157. <desc>INST L2</desc>
  158. <exit/>
  159. <binding>
  160. <condition>
  161. <property>systems/electrical/volts</property>
  162. </condition>
  163. <command>property-toggle</command>
  164. <property>controls/lighting/instrument-lights2</property>
  165. </binding>
  166. </key>
  167. <key n="76">
  168. <name>L</name>
  169. <desc>PITOTS</desc>
  170. <exit/>
  171. <binding>
  172. <condition>
  173. <property>systems/electrical/volts</property>
  174. </condition>
  175. <command>property-toggle</command>
  176. <property>controls/anti-ice/pitot-heat</property>
  177. </binding>
  178. </key>
  179. <key n="77">
  180. <name>M</name>
  181. <desc>HORIZON</desc>
  182. <exit/>
  183. <binding>
  184. <condition>
  185. <property>systems/electrical/volts</property>
  186. </condition>
  187. <command>property-toggle</command>
  188. <property>instrumentation/attitude-indicator/serviceable</property>
  189. </binding>
  190. </key>
  191. <key n="78">
  192. <name>N</name>
  193. <desc>GYRO</desc>
  194. <exit/>
  195. <binding>
  196. <condition>
  197. <property>systems/electrical/volts</property>
  198. </condition>
  199. <command>property-toggle</command>
  200. <property>controls/electric/gyrocompass</property>
  201. </binding>
  202. </key>
  203. <key n="84">
  204. <name>T</name>
  205. <desc>FLOAT ARM</desc>
  206. <exit/>
  207. <binding>
  208. <condition>
  209. <property>systems/electrical/volts</property>
  210. </condition>
  211. <command>property-toggle</command>
  212. <property>controls/gear/floats-armed</property>
  213. </binding>
  214. </key>
  215. <key n="81">
  216. <name>Q</name>
  217. <desc>CRANK</desc>
  218. <exit/>
  219. <binding>
  220. <condition>
  221. <property>systems/electrical/volts</property>
  222. </condition>
  223. <command>property-toggle</command>
  224. <property>controls/engines/engine/starter</property>
  225. </binding>
  226. </key>
  227. <!-- short-time toggle buttons cannot react on mod-up -->
  228. <!-- WORKAROUND: reset with timer after 1 sec -->
  229. <key n="87">
  230. <name>W</name>
  231. <desc>W/LT TST</desc>
  232. <exit/>
  233. <binding>
  234. <condition>
  235. <property>systems/electrical/volts</property>
  236. </condition>
  237. <command>nasal</command>
  238. <script>
  239. setprop("/controls/electric/warningtest",1);
  240. settimer( func{ setprop("/controls/electric/warningtest",0); },1);
  241. </script>
  242. </binding>
  243. </key>
  244. <key n="82">
  245. <name>R</name>
  246. <desc>FIRE TST</desc>
  247. <exit/>
  248. <binding>
  249. <condition>
  250. <property>systems/electrical/volts</property>
  251. </condition>
  252. <command>nasal</command>
  253. <script>
  254. setprop("/controls/electric/firetest",1);
  255. settimer( func{ setprop("/controls/electric/firetest",0); },1);
  256. </script>
  257. </binding>
  258. </key>
  259. <key n="83">
  260. <name>S</name>
  261. <desc>SERVO TST</desc>
  262. <exit/>
  263. <binding>
  264. <condition>
  265. <property>systems/electrical/volts</property>
  266. </condition>
  267. <command>nasal</command>
  268. <script>
  269. setprop("/controls/electric/servotest",1);
  270. settimer( func{ setprop("/controls/electric/servotest",0); },1);
  271. </script>
  272. </binding>
  273. </key>
  274. <!-- End SCU BUTTON handling -->
  275. <key n="97">
  276. <name>a</name>
  277. <desc>Altimeter adjust</desc>
  278. <binding>
  279. <command>null</command>
  280. </binding>
  281. <key n="94">
  282. <name>^</name>
  283. <desc>adjust +</desc>
  284. <no-exit/>
  285. <binding>
  286. <command>nasal</command>
  287. <script>_ = sprintf("Pressure = %3.2f", ec130.adjust_altimeter(0.01))</script>
  288. </binding>
  289. </key>
  290. <key n="95">
  291. <name>_</name>
  292. <desc>adjust -</desc>
  293. <no-exit/>
  294. <binding>
  295. <command>nasal</command>
  296. <script>_ = sprintf("Pressure = %3.2f", ec130.adjust_altimeter(-0.01))</script>
  297. </binding>
  298. </key>
  299. </key>
  300. <key n="100">
  301. <name>d</name>
  302. <desc>Doors/Windows/Covers</desc>
  303. <binding>
  304. <command>null</command>
  305. </binding>
  306. <key n="48">
  307. <name>0</name>
  308. <desc>toggle Pilot Window</desc>
  309. <exit/>
  310. <binding>
  311. <command>nasal</command>
  312. <script>
  313. doors.doorsystem.pilotwexport();
  314. </script>
  315. </binding>
  316. </key>
  317. <key n="49">
  318. <name>1</name>
  319. <desc>toggle Front Door left (pilot)</desc>
  320. <exit/>
  321. <binding>
  322. <command>nasal</command>
  323. <script>
  324. doors.doorsystem.frontlexport();
  325. </script>
  326. </binding>
  327. </key>
  328. <key n="50">
  329. <name>2</name>
  330. <desc>toggle Front Door right</desc>
  331. <exit/>
  332. <binding>
  333. <command>nasal</command>
  334. <script>
  335. doors.doorsystem.frontrexport();
  336. </script>
  337. </binding>
  338. </key>
  339. <key n="51">
  340. <name>3</name>
  341. <desc>toggle Back Door left</desc>
  342. <exit/>
  343. <binding>
  344. <command>nasal</command>
  345. <script>
  346. doors.doorsystem.passengerlexport();
  347. </script>
  348. </binding>
  349. </key>
  350. <key n="52">
  351. <name>4</name>
  352. <desc>toggle Back Door right</desc>
  353. <exit/>
  354. <binding>
  355. <command>nasal</command>
  356. <script>
  357. doors.doorsystem.passengerrexport();
  358. </script>
  359. </binding>
  360. </key>
  361. <key n="53">
  362. <name>5</name>
  363. <desc>toggle Luggage Door left</desc>
  364. <exit/>
  365. <binding>
  366. <command>nasal</command>
  367. <script>
  368. doors.doorsystem.luggagelexport();
  369. </script>
  370. </binding>
  371. </key>
  372. <key n="54">
  373. <name>6</name>
  374. <desc>toggle Luggage Door right</desc>
  375. <exit/>
  376. <binding>
  377. <command>nasal</command>
  378. <script>
  379. doors.doorsystem.luggagerexport();
  380. </script>
  381. </binding>
  382. </key>
  383. <key n="55">
  384. <name>7</name>
  385. <desc>toggle Luggage Door back</desc>
  386. <exit/>
  387. <binding>
  388. <command>nasal</command>
  389. <script>
  390. doors.doorsystem.doorbexport();
  391. </script>
  392. </binding>
  393. </key>
  394. <key n="56">
  395. <name>8</name>
  396. <desc>toggle Basket Cover left</desc>
  397. <exit/>
  398. <binding>
  399. <command>nasal</command>
  400. <script>
  401. doors.doorsystem.basketlexport();
  402. </script>
  403. </binding>
  404. </key>
  405. <key n="57">
  406. <name>9</name>
  407. <desc>toggle Basket Cover right</desc>
  408. <exit/>
  409. <binding>
  410. <command>nasal</command>
  411. <script>
  412. doors.doorsystem.basketrexport();
  413. </script>
  414. </binding>
  415. </key>
  416. <key n="68">
  417. <name>D</name>
  418. <desc>toggle all Doors</desc>
  419. <exit/>
  420. <binding>
  421. <command>nasal</command>
  422. <script>ec130.toggle_all_doors();</script>
  423. </binding>
  424. </key>
  425. </key>
  426. <key n="101">
  427. <name>e</name>
  428. <desc>toggle Starter OFF/FLT</desc>
  429. <exit/>
  430. <binding>
  431. <command>nasal</command>
  432. <script>ec130.switch_startselector();</script>
  433. </binding>
  434. </key>
  435. <key n="102">
  436. <name>f</name>
  437. <desc>Fuel adjust</desc>
  438. <binding>
  439. <command>null</command>
  440. </binding>
  441. <key n="94">
  442. <name>^</name>
  443. <desc>Fuel +</desc>
  444. <no-exit/>
  445. <binding>
  446. <command>nasal</command>
  447. <script>_ = sprintf("Fuel = %d lbs (%d%%)", ec130.adjust_fuel(2),getprop("/consumables/fuel/tank/level-lbs")/getprop("/limits/tank")*100)</script>
  448. </binding>
  449. </key>
  450. <key n="95">
  451. <name>_</name>
  452. <desc>Fuel -</desc>
  453. <no-exit/>
  454. <binding>
  455. <command>nasal</command>
  456. <script>_ = sprintf("Fuel = %d lbs (%d%%)", ec130.adjust_fuel(-2),getprop("/consumables/fuel/tank/level-lbs")/getprop("/limits/tank")*100)</script>
  457. </binding>
  458. </key>
  459. </key>
  460. <key n="103">
  461. <name>g</name>
  462. <desc>toggle Selector Guard</desc>
  463. <exit/>
  464. <binding>
  465. <condition>
  466. <property>controls/engines/engine/startselector</property>
  467. </condition>
  468. <command>property-toggle</command>
  469. <property>controls/engines/engine/switchguard</property>
  470. </binding>
  471. </key>
  472. <key n="105">
  473. <name>i</name>
  474. <desc>Light Selector</desc>
  475. <binding>
  476. <command>null</command>
  477. </binding>
  478. <key n="48">
  479. <name>0</name>
  480. <desc>Day</desc>
  481. <exit/>
  482. <binding>
  483. <command>property-assign</command>
  484. <property>/controls/lighting/instrument-lights-selection</property>
  485. <value>0</value>
  486. </binding>
  487. </key>
  488. <key n="49">
  489. <name>1</name>
  490. <desc>Night1</desc>
  491. <exit/>
  492. <binding>
  493. <command>property-assign</command>
  494. <property>/controls/lighting/instrument-lights-selection</property>
  495. <value>1</value>
  496. </binding>
  497. </key>
  498. <key n="50">
  499. <name>2</name>
  500. <desc>Night2</desc>
  501. <exit/>
  502. <binding>
  503. <command>property-assign</command>
  504. <property>/controls/lighting/instrument-lights-selection</property>
  505. <value>2</value>
  506. </binding>
  507. </key>
  508. </key>
  509. <key n="106">
  510. <name>j</name>
  511. <desc>INST.1 dimming</desc>
  512. <binding>
  513. <command>null</command>
  514. </binding>
  515. <key n="94">
  516. <name>^</name>
  517. <desc>Light +</desc>
  518. <no-exit/>
  519. <binding>
  520. <command>nasal</command>
  521. <script>_ = sprintf("INST.1 = %d%%", ec130.adjust_inst1(0.05))</script>
  522. </binding>
  523. </key>
  524. <key n="95">
  525. <name>_</name>
  526. <desc>Light -</desc>
  527. <no-exit/>
  528. <binding>
  529. <command>nasal</command>
  530. <script>_ = sprintf("INST.1 = %d%%", ec130.adjust_inst1(-0.05))</script>
  531. </binding>
  532. </key>
  533. </key>
  534. <key n="107">
  535. <name>k</name>
  536. <desc>INST.2 dimming</desc>
  537. <binding>
  538. <command>null</command>
  539. </binding>
  540. <key n="94">
  541. <name>^</name>
  542. <desc>Light +</desc>
  543. <no-exit/>
  544. <binding>
  545. <command>nasal</command>
  546. <script>_ = sprintf("INST.2 = %d%%", ec130.adjust_inst2(0.05))</script>
  547. </binding>
  548. </key>
  549. <key n="95">
  550. <name>_</name>
  551. <desc>Light -</desc>
  552. <no-exit/>
  553. <binding>
  554. <command>nasal</command>
  555. <script>_ = sprintf("INST.2 = %d%%", ec130.adjust_inst2(-0.05))</script>
  556. </binding>
  557. </key>
  558. </key>
  559. <key n="114">
  560. <name>r</name>
  561. <desc>RPM dimming</desc>
  562. <binding>
  563. <command>null</command>
  564. </binding>
  565. <key n="94">
  566. <name>^</name>
  567. <desc>Light +</desc>
  568. <no-exit/>
  569. <binding>
  570. <command>nasal</command>
  571. <script>_ = sprintf("INST.1 = %d%%", ec130.adjust_rpm(0.05))</script>
  572. </binding>
  573. </key>
  574. <key n="95">
  575. <name>_</name>
  576. <desc>Light -</desc>
  577. <no-exit/>
  578. <binding>
  579. <command>nasal</command>
  580. <script>_ = sprintf("INST.1 = %d%%", ec130.adjust_rpm(-0.05))</script>
  581. </binding>
  582. </key>
  583. </key>
  584. <key n="115">
  585. <name>s</name>
  586. <desc>Stretcher adjust</desc>
  587. <binding>
  588. <command>null</command>
  589. </binding>
  590. <key n="94">
  591. <name>^</name>
  592. <desc>Backrest +</desc>
  593. <no-exit/>
  594. <binding>
  595. <command>nasal</command>
  596. <script>_ = sprintf("angle = %d", ec130.adjust_stretcher(2))</script>
  597. </binding>
  598. </key>
  599. <key n="95">
  600. <name>_</name>
  601. <desc>Backrest -</desc>
  602. <no-exit/>
  603. <binding>
  604. <command>nasal</command>
  605. <script>_ = sprintf("angle = %d", ec130.adjust_stretcher(-2))</script>
  606. </binding>
  607. </key>
  608. </key>
  609. <key n="89">
  610. <name>Y</name>
  611. <desc>Emergency Switch</desc>
  612. <key n="117">
  613. <name>u</name>
  614. <desc>unlock</desc>
  615. <exit/>
  616. <binding>
  617. <command>nasal</command>
  618. <script>ec130.unlock_emergency();</script>
  619. </binding>
  620. </key>
  621. <key n="120">
  622. <name>x</name>
  623. <desc>cancel</desc>
  624. <exit/>
  625. <binding>
  626. <command>null</command>
  627. </binding>
  628. </key>
  629. <key n="122">
  630. <name>z</name>
  631. <desc>switch</desc>
  632. <exit/>
  633. <binding>
  634. <command>nasal</command>
  635. <script>ec130.switch_emergency();</script>
  636. </binding>
  637. </key>
  638. </key>
  639. <key n="90">
  640. <name>Z</name>
  641. <desc>ELT Switch</desc>
  642. <key n="97">
  643. <name>a</name>
  644. <desc>arm</desc>
  645. <exit/>
  646. <binding>
  647. <command>property-assign</command>
  648. <property>/ELT/armed</property>
  649. <value>1</value>
  650. </binding>
  651. </key>
  652. <key n="98">
  653. <name>b</name>
  654. <desc>unarm</desc>
  655. <exit/>
  656. <binding>
  657. <command>property-assign</command>
  658. <property>/ELT/armed</property>
  659. <value>0</value>
  660. </binding>
  661. </key>
  662. <key n="116">
  663. <name>t</name>
  664. <desc>test</desc>
  665. <exit/>
  666. <binding>
  667. <command>nasal</command>
  668. <script>ec130.ELT_test();</script>
  669. </binding>
  670. </key>
  671. </key>
  672. <key n="109">
  673. <name>m</name>
  674. <desc>Horizon adjust</desc>
  675. <binding>
  676. <command>null</command>
  677. </binding>
  678. <key n="104">
  679. <name>h</name>
  680. <desc>Horizon Offset</desc>
  681. <binding>
  682. <command>null</command>
  683. </binding>
  684. <key n="94">
  685. <name>^</name>
  686. <desc>Offset +</desc>
  687. <no-exit/>
  688. <binding>
  689. <command>nasal</command>
  690. <script>_ = sprintf("Offset = %1.0f", ec130.adjust_horizon_offset(0.5))</script>
  691. </binding>
  692. </key>
  693. <key n="95">
  694. <name>_</name>
  695. <desc>Offset -</desc>
  696. <no-exit/>
  697. <binding>
  698. <command>nasal</command>
  699. <script>_ = sprintf("Offset = %1.0f", ec130.adjust_horizon_offset(-0.5))</script>
  700. </binding>
  701. </key>
  702. </key>
  703. <key n="112">
  704. <name>p</name>
  705. <exit/>
  706. <desc>toggle Pull To Cage</desc>
  707. <binding>
  708. <command>property-toggle</command>
  709. <property>instrumentation/attitude-indicator/caged</property>
  710. <value type="bool">true</value>
  711. </binding>
  712. </key>
  713. </key>
  714. <key n="110">
  715. <name>n</name>
  716. <desc>Gyro-Compass (HSI)</desc>
  717. <binding>
  718. <command>null</command>
  719. </binding>
  720. <key n="72">
  721. <name>H</name>
  722. <desc>Heading ADJUST</desc>
  723. <binding>
  724. <command>null</command>
  725. </binding>
  726. <key n="94">
  727. <name>^</name>
  728. <desc>Heading ++</desc>
  729. <no-exit/>
  730. <binding>
  731. <command>nasal</command>
  732. <script>_ = sprintf("HDG = %1.0f", ec130.adjust_heading(10))</script>
  733. </binding>
  734. </key>
  735. <key n="95">
  736. <name>_</name>
  737. <desc>Heading --</desc>
  738. <no-exit/>
  739. <binding>
  740. <command>nasal</command>
  741. <script>_ = sprintf("HDG = %1.0f", ec130.adjust_heading(-10))</script>
  742. </binding>
  743. </key>
  744. </key>
  745. <key n="79">
  746. <name>O</name>
  747. <desc>Bearing ADJUST</desc>
  748. <binding>
  749. <command>null</command>
  750. </binding>
  751. <key n="94">
  752. <name>^</name>
  753. <desc>Bearing ++</desc>
  754. <no-exit/>
  755. <binding>
  756. <command>nasal</command>
  757. <script>_ = sprintf("Bearing = %1.0f", ec130.adjust_obs(10))</script>
  758. </binding>
  759. </key>
  760. <key n="95">
  761. <name>_</name>
  762. <desc>Bearing --</desc>
  763. <no-exit/>
  764. <binding>
  765. <command>nasal</command>
  766. <script>_ = sprintf("Bearing = %1.0f", ec130.adjust_obs(-10))</script>
  767. </binding>
  768. </key>
  769. </key>
  770. <key n="104">
  771. <name>h</name>
  772. <desc>Heading adjust</desc>
  773. <binding>
  774. <command>null</command>
  775. </binding>
  776. <key n="94">
  777. <name>^</name>
  778. <desc>Heading +</desc>
  779. <no-exit/>
  780. <binding>
  781. <command>nasal</command>
  782. <script>_ = sprintf("HDG = %1.0f", ec130.adjust_heading(1))</script>
  783. </binding>
  784. </key>
  785. <key n="95">
  786. <name>_</name>
  787. <desc>Heading -</desc>
  788. <no-exit/>
  789. <binding>
  790. <command>nasal</command>
  791. <script>_ = sprintf("HDG = %1.0f", ec130.adjust_heading(-1))</script>
  792. </binding>
  793. </key>
  794. </key>
  795. <key n="111">
  796. <name>o</name>
  797. <desc>Bearing adjust</desc>
  798. <binding>
  799. <command>null</command>
  800. </binding>
  801. <key n="94">
  802. <name>^</name>
  803. <desc>Bearing +</desc>
  804. <no-exit/>
  805. <binding>
  806. <command>nasal</command>
  807. <script>_ = sprintf("Bearing = %1.0f", ec130.adjust_obs(1))</script>
  808. </binding>
  809. </key>
  810. <key n="95">
  811. <name>_</name>
  812. <desc>Bearing -</desc>
  813. <no-exit/>
  814. <binding>
  815. <command>nasal</command>
  816. <script>_ = sprintf("Bearing = %1.0f", ec130.adjust_obs(-1))</script>
  817. </binding>
  818. </key>
  819. </key>
  820. </key>
  821. <key n="118">
  822. <name>v</name>
  823. <desc>VEMD controls</desc>
  824. <binding>
  825. <command>null</command>
  826. </binding>
  827. <key n="49">
  828. <name>1</name>
  829. <desc>toggle screen 1</desc>
  830. <exit/>
  831. <binding>
  832. <command>property-toggle</command>
  833. <property>instrumentation/VEMD/buttons/OFF1</property>
  834. </binding>
  835. </key>
  836. <key n="50">
  837. <name>2</name>
  838. <desc>toggle screen 2</desc>
  839. <exit/>
  840. <binding>
  841. <command>property-toggle</command>
  842. <property>instrumentation/VEMD/buttons/OFF2</property>
  843. </binding>
  844. </key>
  845. <key n="115">
  846. <name>s</name>
  847. <desc>scroll</desc>
  848. <exit/>
  849. <binding>
  850. <command>property-assign</command>
  851. <property>instrumentation/VEMD/buttons/SCROLL</property>
  852. <value>1</value>
  853. </binding>
  854. </key>
  855. <key n="114">
  856. <name>r</name>
  857. <desc>switch</desc>
  858. <exit/>
  859. <binding>
  860. <command>property-assign</command>
  861. <property>instrumentation/VEMD/buttons/RESET</property>
  862. <value>1</value>
  863. </binding>
  864. </key>
  865. <key n="100">
  866. <name>d</name>
  867. <desc>VEMD dimming</desc>
  868. <binding>
  869. <command>null</command>
  870. </binding>
  871. <key n="94">
  872. <name>^</name>
  873. <desc>BRT +</desc>
  874. <no-exit/>
  875. <binding>
  876. <command>nasal</command>
  877. <script>_ = sprintf("VEMD = %d%%", ec130.adjust_vemd(0.05))</script>
  878. </binding>
  879. </key>
  880. <key n="95">
  881. <name>_</name>
  882. <desc>BRT -</desc>
  883. <no-exit/>
  884. <binding>
  885. <command>nasal</command>
  886. <script>_ = sprintf("VEMD = %d%%", ec130.adjust_vemd(-0.05))</script>
  887. </binding>
  888. </key>
  889. </key>
  890. </key>
  891. </key>
  892. </PropertyList>