Keys

keys.xml
  1. <!-- All keys that can be configured -->
  2. <keys>
  3. <!-- On D-400: 20 virtual Xtension keys as part of the home-screen.
  4. type: list
  5. maximum: 20 elements -->
  6. <phoneXtensions>
  7. <!-- Describes a single functionkey.
  8. keyNumber: The number of the key. Uniquely identifies a key within a module.
  9. label: The name of the key. If starting with @string/ an android resource is used..
  10. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  11. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  12. -->
  13. <key keyNumber="" label="" info="" icon="">
  14. <!-- Various configuration parameters for a functionkey.
  15. This can either be:
  16. - lua code
  17. - a line
  18. - a list of functions assigned to the key
  19. -->
  20. <!-- -->
  21. <keyConfiguration>
  22. <!-- Describes a single function for a functionkey.
  23. This can any one (or both) of:
  24. - a reaction to something
  25. - invoking an action
  26. -->
  27. <function>
  28. <!-- An array of possible reactions for a functionkey
  29. type: list -->
  30. <reactions>
  31. <!-- -->
  32. <reaction>
  33. <!-- LED reactions for a key -->
  34. <ledSetting ledColor="off" ledBlinking="false">
  35. </ledSetting>
  36. </reaction>
  37. <!-- -->
  38. <reaction>
  39. <!-- -->
  40. <presence>
  41. <!-- -->
  42. <subscribe type="dialog">
  43. <!--
  44. type: string -->
  45. <uri></uri>
  46. <!-- If left out, the first available line is used.
  47. -->
  48. <line>
  49. <!--
  50. type: string -->
  51. <id></id>
  52. <!--
  53. type: string -->
  54. <component></component>
  55. </line>
  56. <!-- If the subscribeType is dialog, you can specify here
  57. what to listen for. In every other case, this option
  58. is ignored.
  59.  
  60. type: string -->
  61. <listenFor></listenFor>
  62. </subscribe>
  63. </presence>
  64. </reaction>
  65. </reactions>
  66. <!-- An array of possible actions for a functionkey
  67. type: list
  68. minimum: 1 element -->
  69. <invocations>
  70. <!-- -->
  71. <invocation>
  72. <!-- A HTTP request action that can be triggered by pressing a functionkey.
  73. -->
  74. </invocation>
  75. <!-- -->
  76. <invocation>
  77. <!-- -->
  78. <setting path="">
  79. <!--
  80. type: list
  81. minimum: 1 element -->
  82. <values>
  83. </values>
  84. <!-- LED reactions for a key -->
  85. <other ledColor="off" ledBlinking="false">
  86. </other>
  87. </setting>
  88. </invocation>
  89. <!-- -->
  90. <invocation>
  91. <!-- Creates a message dialog on the screen.
  92. type: string -->
  93. <dialog></dialog>
  94. </invocation>
  95. <!-- -->
  96. <invocation>
  97. <!-- -->
  98. <invite hidden="false">
  99. <!--
  100. type: string -->
  101. <uri></uri>
  102. <!-- -->
  103. <line>
  104. <!--
  105. type: string -->
  106. <id></id>
  107. <!--
  108. type: string -->
  109. <component></component>
  110. </line>
  111. </invite>
  112. </invocation>
  113. <!-- -->
  114. <invocation>
  115. <!-- -->
  116. <intent>
  117. <!--
  118. type: string -->
  119. <action></action>
  120. <!--
  121. type: string -->
  122. <data></data>
  123. <!--
  124. type: string -->
  125. <component></component>
  126. <!-- A map of `'string': bool | int | string`
  127.  
  128. type: list -->
  129. <extras>
  130. </extras>
  131. </intent>
  132. </invocation>
  133. </invocations>
  134. </function>
  135. </keyConfiguration>
  136. <!-- Reference to the text element of the template name.
  137.  
  138. type: string -->
  139. <templateName></templateName>
  140. </key>
  141. </phoneXtensions>
  142. <!-- 60 Xtension keys on an extension module.
  143. type: list
  144. maximum: 60 elements -->
  145. <extensionModule1>
  146. <!-- Describes a single functionkey.
  147. keyNumber: The number of the key. Uniquely identifies a key within a module.
  148. label: The name of the key. If starting with @string/ an android resource is used..
  149. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  150. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  151. -->
  152. <key keyNumber="" label="" info="" icon="">
  153. <!-- Various configuration parameters for a functionkey.
  154. This can either be:
  155. - lua code
  156. - a line
  157. - a list of functions assigned to the key
  158. -->
  159. <!-- -->
  160. <keyConfiguration>
  161. <!-- -->
  162. <line>
  163. <!--
  164. type: string -->
  165. <id></id>
  166. <!--
  167. type: string -->
  168. <component></component>
  169. </line>
  170. </keyConfiguration>
  171. <!-- Reference to the text element of the template name.
  172.  
  173. type: string -->
  174. <templateName></templateName>
  175. </key>
  176. </extensionModule1>
  177. <!-- 60 Xtension keys on an extension module.
  178. type: list
  179. maximum: 60 elements -->
  180. <extensionModule2>
  181. <!-- Describes a single functionkey.
  182. keyNumber: The number of the key. Uniquely identifies a key within a module.
  183. label: The name of the key. If starting with @string/ an android resource is used..
  184. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  185. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  186. -->
  187. <key keyNumber="" label="" info="" icon="">
  188. <!-- Various configuration parameters for a functionkey.
  189. This can either be:
  190. - lua code
  191. - a line
  192. - a list of functions assigned to the key
  193. -->
  194. <!-- -->
  195. <keyConfiguration>
  196. <!-- Describes a single function for a functionkey.
  197. This can any one (or both) of:
  198. - a reaction to something
  199. - invoking an action
  200. -->
  201. <function>
  202. <!-- An array of possible reactions for a functionkey
  203. type: list -->
  204. <reactions>
  205. <!-- -->
  206. <reaction>
  207. <!-- LED reactions for a key -->
  208. <ledSetting ledColor="off" ledBlinking="false">
  209. </ledSetting>
  210. </reaction>
  211. <!-- -->
  212. <reaction>
  213. <!-- -->
  214. <presence>
  215. <!-- -->
  216. <subscribe type="dialog">
  217. <!--
  218. type: string -->
  219. <uri></uri>
  220. <!-- If left out, the first available line is used.
  221. -->
  222. <line>
  223. <!--
  224. type: string -->
  225. <id></id>
  226. <!--
  227. type: string -->
  228. <component></component>
  229. </line>
  230. <!-- If the subscribeType is dialog, you can specify here
  231. what to listen for. In every other case, this option
  232. is ignored.
  233.  
  234. type: string -->
  235. <listenFor></listenFor>
  236. </subscribe>
  237. </presence>
  238. </reaction>
  239. </reactions>
  240. <!-- An array of possible actions for a functionkey
  241. type: list
  242. minimum: 1 element -->
  243. <invocations>
  244. <!-- -->
  245. <invocation>
  246. <!-- A HTTP request action that can be triggered by pressing a functionkey.
  247. -->
  248. </invocation>
  249. <!-- -->
  250. <invocation>
  251. <!-- -->
  252. <setting path="">
  253. <!--
  254. type: list
  255. minimum: 1 element -->
  256. <values>
  257. </values>
  258. <!-- LED reactions for a key -->
  259. <other ledColor="off" ledBlinking="false">
  260. </other>
  261. </setting>
  262. </invocation>
  263. <!-- -->
  264. <invocation>
  265. <!-- Creates a message dialog on the screen.
  266. type: string -->
  267. <dialog></dialog>
  268. </invocation>
  269. <!-- -->
  270. <invocation>
  271. <!-- -->
  272. <invite hidden="false">
  273. <!--
  274. type: string -->
  275. <uri></uri>
  276. <!-- -->
  277. <line>
  278. <!--
  279. type: string -->
  280. <id></id>
  281. <!--
  282. type: string -->
  283. <component></component>
  284. </line>
  285. </invite>
  286. </invocation>
  287. <!-- -->
  288. <invocation>
  289. <!-- -->
  290. <intent>
  291. <!--
  292. type: string -->
  293. <action></action>
  294. <!--
  295. type: string -->
  296. <data></data>
  297. <!--
  298. type: string -->
  299. <component></component>
  300. <!-- A map of `'string': bool | int | string`
  301.  
  302. type: list -->
  303. <extras>
  304. </extras>
  305. </intent>
  306. </invocation>
  307. </invocations>
  308. </function>
  309. </keyConfiguration>
  310. <!-- Reference to the text element of the template name.
  311.  
  312. type: string -->
  313. <templateName></templateName>
  314. </key>
  315. </extensionModule2>
  316. <!-- 60 Xtension keys on an extension module.
  317. type: list
  318. maximum: 60 elements -->
  319. <extensionModule3>
  320. <!-- Describes a single functionkey.
  321. keyNumber: The number of the key. Uniquely identifies a key within a module.
  322. label: The name of the key. If starting with @string/ an android resource is used..
  323. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  324. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  325. -->
  326. <key keyNumber="" label="" info="" icon="">
  327. <!-- Various configuration parameters for a functionkey.
  328. This can either be:
  329. - lua code
  330. - a line
  331. - a list of functions assigned to the key
  332. -->
  333. <!-- -->
  334. <keyConfiguration>
  335. <!-- Describes a single function for a functionkey.
  336. This can any one (or both) of:
  337. - a reaction to something
  338. - invoking an action
  339. -->
  340. <function>
  341. <!-- An array of possible reactions for a functionkey
  342. type: list -->
  343. <reactions>
  344. <!-- -->
  345. <reaction>
  346. <!-- LED reactions for a key -->
  347. <ledSetting ledColor="off" ledBlinking="false">
  348. </ledSetting>
  349. </reaction>
  350. <!-- -->
  351. <reaction>
  352. <!-- -->
  353. <presence>
  354. <!-- -->
  355. <subscribe type="dialog">
  356. <!--
  357. type: string -->
  358. <uri></uri>
  359. <!-- If left out, the first available line is used.
  360. -->
  361. <line>
  362. <!--
  363. type: string -->
  364. <id></id>
  365. <!--
  366. type: string -->
  367. <component></component>
  368. </line>
  369. <!-- If the subscribeType is dialog, you can specify here
  370. what to listen for. In every other case, this option
  371. is ignored.
  372.  
  373. type: string -->
  374. <listenFor></listenFor>
  375. </subscribe>
  376. </presence>
  377. </reaction>
  378. </reactions>
  379. <!-- An array of possible actions for a functionkey
  380. type: list
  381. minimum: 1 element -->
  382. <invocations>
  383. <!-- -->
  384. <invocation>
  385. <!-- A HTTP request action that can be triggered by pressing a functionkey.
  386. -->
  387. </invocation>
  388. <!-- -->
  389. <invocation>
  390. <!-- -->
  391. <setting path="">
  392. <!--
  393. type: list
  394. minimum: 1 element -->
  395. <values>
  396. </values>
  397. <!-- LED reactions for a key -->
  398. <other ledColor="off" ledBlinking="false">
  399. </other>
  400. </setting>
  401. </invocation>
  402. <!-- -->
  403. <invocation>
  404. <!-- Creates a message dialog on the screen.
  405. type: string -->
  406. <dialog></dialog>
  407. </invocation>
  408. <!-- -->
  409. <invocation>
  410. <!-- -->
  411. <invite hidden="false">
  412. <!--
  413. type: string -->
  414. <uri></uri>
  415. <!-- -->
  416. <line>
  417. <!--
  418. type: string -->
  419. <id></id>
  420. <!--
  421. type: string -->
  422. <component></component>
  423. </line>
  424. </invite>
  425. </invocation>
  426. <!-- -->
  427. <invocation>
  428. <!-- -->
  429. <intent>
  430. <!--
  431. type: string -->
  432. <action></action>
  433. <!--
  434. type: string -->
  435. <data></data>
  436. <!--
  437. type: string -->
  438. <component></component>
  439. <!-- A map of `'string': bool | int | string`
  440.  
  441. type: list -->
  442. <extras>
  443. </extras>
  444. </intent>
  445. </invocation>
  446. </invocations>
  447. </function>
  448. </keyConfiguration>
  449. <!-- Reference to the text element of the template name.
  450.  
  451. type: string -->
  452. <templateName></templateName>
  453. </key>
  454. </extensionModule3>
  455. <!-- 4 keys below the display
  456. type: list
  457. minimum: 4 elements
  458. maximum: 4 elements -->
  459. <homeScreen>
  460. <!-- Describes a single functionkey.
  461. keyNumber: The number of the key. Uniquely identifies a key within a module.
  462. label: The name of the key. If starting with @string/ an android resource is used..
  463. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  464. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  465. -->
  466. <key keyNumber="" label="" info="" icon="">
  467. <!-- Various configuration parameters for a functionkey.
  468. This can either be:
  469. - lua code
  470. - a line
  471. - a list of functions assigned to the key
  472. -->
  473. <!-- -->
  474. <keyConfiguration>
  475. <!-- Describes a single function for a functionkey.
  476. This can any one (or both) of:
  477. - a reaction to something
  478. - invoking an action
  479. -->
  480. <function>
  481. <!-- An array of possible reactions for a functionkey
  482. type: list -->
  483. <reactions>
  484. <!-- -->
  485. <reaction>
  486. <!-- LED reactions for a key -->
  487. <ledSetting ledColor="off" ledBlinking="false">
  488. </ledSetting>
  489. </reaction>
  490. <!-- -->
  491. <reaction>
  492. <!-- -->
  493. <presence>
  494. <!-- -->
  495. <subscribe type="dialog">
  496. <!--
  497. type: string -->
  498. <uri></uri>
  499. <!-- If left out, the first available line is used.
  500. -->
  501. <line>
  502. <!--
  503. type: string -->
  504. <id></id>
  505. <!--
  506. type: string -->
  507. <component></component>
  508. </line>
  509. <!-- If the subscribeType is dialog, you can specify here
  510. what to listen for. In every other case, this option
  511. is ignored.
  512.  
  513. type: string -->
  514. <listenFor></listenFor>
  515. </subscribe>
  516. </presence>
  517. </reaction>
  518. </reactions>
  519. <!-- An array of possible actions for a functionkey
  520. type: list
  521. minimum: 1 element -->
  522. <invocations>
  523. <!-- -->
  524. <invocation>
  525. <!-- A HTTP request action that can be triggered by pressing a functionkey.
  526. -->
  527. </invocation>
  528. <!-- -->
  529. <invocation>
  530. <!-- -->
  531. <setting path="">
  532. <!--
  533. type: list
  534. minimum: 1 element -->
  535. <values>
  536. </values>
  537. <!-- LED reactions for a key -->
  538. <other ledColor="off" ledBlinking="false">
  539. </other>
  540. </setting>
  541. </invocation>
  542. <!-- -->
  543. <invocation>
  544. <!-- Creates a message dialog on the screen.
  545. type: string -->
  546. <dialog></dialog>
  547. </invocation>
  548. <!-- -->
  549. <invocation>
  550. <!-- -->
  551. <invite hidden="false">
  552. <!--
  553. type: string -->
  554. <uri></uri>
  555. <!-- -->
  556. <line>
  557. <!--
  558. type: string -->
  559. <id></id>
  560. <!--
  561. type: string -->
  562. <component></component>
  563. </line>
  564. </invite>
  565. </invocation>
  566. <!-- -->
  567. <invocation>
  568. <!-- -->
  569. <intent>
  570. <!--
  571. type: string -->
  572. <action></action>
  573. <!--
  574. type: string -->
  575. <data></data>
  576. <!--
  577. type: string -->
  578. <component></component>
  579. <!-- A map of `'string': bool | int | string`
  580.  
  581. type: list -->
  582. <extras>
  583. </extras>
  584. </intent>
  585. </invocation>
  586. </invocations>
  587. </function>
  588. </keyConfiguration>
  589. <!-- Reference to the text element of the template name.
  590.  
  591. type: string -->
  592. <templateName></templateName>
  593. </key>
  594. <!-- Describes a single functionkey.
  595. keyNumber: The number of the key. Uniquely identifies a key within a module.
  596. label: The name of the key. If starting with @string/ an android resource is used..
  597. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  598. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  599. -->
  600. <key keyNumber="" label="" info="" icon="">
  601. <!-- Various configuration parameters for a functionkey.
  602. This can either be:
  603. - lua code
  604. - a line
  605. - a list of functions assigned to the key
  606. -->
  607. <!-- -->
  608. <keyConfiguration>
  609. <!-- Describes a single function for a functionkey.
  610. This can any one (or both) of:
  611. - a reaction to something
  612. - invoking an action
  613. -->
  614. <function>
  615. <!-- An array of possible reactions for a functionkey
  616. type: list -->
  617. <reactions>
  618. <!-- -->
  619. <reaction>
  620. <!-- LED reactions for a key -->
  621. <ledSetting ledColor="off" ledBlinking="false">
  622. </ledSetting>
  623. </reaction>
  624. <!-- -->
  625. <reaction>
  626. <!-- -->
  627. <presence>
  628. <!-- -->
  629. <subscribe type="dialog">
  630. <!--
  631. type: string -->
  632. <uri></uri>
  633. <!-- If left out, the first available line is used.
  634. -->
  635. <line>
  636. <!--
  637. type: string -->
  638. <id></id>
  639. <!--
  640. type: string -->
  641. <component></component>
  642. </line>
  643. <!-- If the subscribeType is dialog, you can specify here
  644. what to listen for. In every other case, this option
  645. is ignored.
  646.  
  647. type: string -->
  648. <listenFor></listenFor>
  649. </subscribe>
  650. </presence>
  651. </reaction>
  652. </reactions>
  653. <!-- An array of possible actions for a functionkey
  654. type: list
  655. minimum: 1 element -->
  656. <invocations>
  657. <!-- -->
  658. <invocation>
  659. <!-- A HTTP request action that can be triggered by pressing a functionkey.
  660. -->
  661. </invocation>
  662. <!-- -->
  663. <invocation>
  664. <!-- -->
  665. <setting path="">
  666. <!--
  667. type: list
  668. minimum: 1 element -->
  669. <values>
  670. </values>
  671. <!-- LED reactions for a key -->
  672. <other ledColor="off" ledBlinking="false">
  673. </other>
  674. </setting>
  675. </invocation>
  676. <!-- -->
  677. <invocation>
  678. <!-- Creates a message dialog on the screen.
  679. type: string -->
  680. <dialog></dialog>
  681. </invocation>
  682. <!-- -->
  683. <invocation>
  684. <!-- -->
  685. <invite hidden="false">
  686. <!--
  687. type: string -->
  688. <uri></uri>
  689. <!-- -->
  690. <line>
  691. <!--
  692. type: string -->
  693. <id></id>
  694. <!--
  695. type: string -->
  696. <component></component>
  697. </line>
  698. </invite>
  699. </invocation>
  700. <!-- -->
  701. <invocation>
  702. <!-- -->
  703. <intent>
  704. <!--
  705. type: string -->
  706. <action></action>
  707. <!--
  708. type: string -->
  709. <data></data>
  710. <!--
  711. type: string -->
  712. <component></component>
  713. <!-- A map of `'string': bool | int | string`
  714.  
  715. type: list -->
  716. <extras>
  717. </extras>
  718. </intent>
  719. </invocation>
  720. </invocations>
  721. </function>
  722. </keyConfiguration>
  723. <!-- Reference to the text element of the template name.
  724.  
  725. type: string -->
  726. <templateName></templateName>
  727. </key>
  728. <!-- Describes a single functionkey.
  729. keyNumber: The number of the key. Uniquely identifies a key within a module.
  730. label: The name of the key. If starting with @string/ an android resource is used..
  731. info: Detail info of the key mostly displayed on a second line. If starting with @string/ an android resource is used.
  732. icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ an android resource is used.
  733. -->
  734. <key keyNumber="" label="" info="" icon="">
  735. <!-- Various configuration parameters for a functionkey.
  736. This can either be:
  737. - lua code
  738. - a line
  739. - a list of functions assigned to the key
  740. -->
  741. <!-- -->
  742. <keyConfiguration>
  743. <!-- -->
  744. <lua>
  745. <!-- a lua-script
  746. type: string -->
  747. <code></code>
  748. <!--
  749. type: list -->
  750. <params>
  751. <!-- A parameter for lua scripts to be set by the template. -->
  752. <param name="">
  753. <!--
  754. type: string -->
  755. <value></value>
  756. </param>
  757. </params>
  758. </lua>
  759. </keyConfiguration>
  760. <!-- Reference to the text element of the template name.
  761.  
  762. type: string -->
  763. <templateName></templateName>
  764. </key>
  765. </homeScreen>
  766. </keys>
  767.