Skip to content

template#

A template describes a functionality that can be placed on a key. Foremost it describes how a key works, how the LED is set and what happens when key is pressed. It also carries a list of parameters that need to be filled when this function is assigned to key. parameters: name: Text identifying the Template. Has to be unique. Will be referenced in key structure to store which template was used. Free usable text or android resource tag starting with "@string/" type: string prio: Priority of this template when presenting a list to choose the function-type a key. The higher the number, the higher this type is placed in the list. type: integer description: type: string icon: The icon of the key, base64 encoded. The icon is scaled to fit the display container. If starting with @drawable/ a android resource is used type: string label: When set this will be the default-label for a key of this type. Can be set to refer to a value of a specific parameter via "@param-@string/paramName" type: string

Xpath: /templates/template