Reference Definition cmdfavorites_template - thica/ORCA-Remote GitHub Wiki
This template definition provides the settings and elements to send commands. Please notice, that the left and right blocks and the screenshot below are defined to use them in your definition (landscape and portrait mode). There are popups defined as well.
This definition has the following capabilities
Capability | Description |
---|---|
Orientation | Landscape and portrait |
Screen Size |
|
Interfaces | No Interfaces |
This definition uses the following definitionvars:
- "definition_alias_cmdfavorites_template": default value = "Command Favorites"
This template defines the following settings:
- $dvar(definition_alias_cmdfavorites_template)_cmdname[x]"
- $dvar(definition_alias_cmdfavorites_template)_cmdaction[x]"
- $dvar(definition_alias_cmdfavorites_template)_cmdparameter[x]"
There are no default commands defined (default action is NoAction
You can import the definition by using the following syntax in your definition.xml
<def_parameter>
<definitionvars>{"definition_alias_cmdfavorites_template":"Command Favorites"}</definitionvars>
</def_parameter>
<definitionimports>
<definition
importlanguages ="1"
importpages ="1"
importsettings ="1"
importactions ="1"
alias ="$dvar(definition_alias_cmdfavorites_template)"
definitionvars ='{"definition_alias_cmdfavorites_template":"$dvar(definition_alias_cmdfavorites_template)"}'>cmdfavorites_template</definition>
</definitionimports>
The following elements are defined to use:
- block_buttons_cmdstart: A block of buttons to send commands
- block_buttons_cmdstart_vertical: A block of buttons to send commands (vertical version)
<element name='Anchor Cmd Buttons' type='ANCHOR' posx='%97' posy='of:totop:Anchor BottomGap' width='%35' height='of:width:self' >
<xi:include href="$var(DEFINITIONPATH[cmdfavorites_template])/block_buttons_cmdstart.xml" parse="xml" />
</element>
The following button actions are defined for each command button Normal tap: Sends the commands Long tap: No Action Double Tap: No Action
The following pages are defined:
- Page_Device_CMDS: A dummy page, not for any use
- Page_$dvar(definition_alias_cmdfavorites_template)_CMDS_Popup: A popup page to show the block of buttons
- age_$dvar(definition_alias_cmdfavorites_template)_CMDS_Popup_Vertical: A popup page to show the block of buttons (vertical version)
No actions defined