Actions AddGesture - thica/ORCA-Remote GitHub Wiki
Adds a gesture to the background or a widget. Currently no widgets are supported, but you can add gestures to the background. You can add multiple gestures. For backgrounds , you should add gestures in the pagestartactions for the specific page. You can not assign gestures in the appstart or definitionstart sections. You can set the Interface / Configuration name as well.
Attribute | Description |
---|---|
string | addgesture |
widgetname | Name of the widget to add the gesture, could be Background to add a gesture to the screen |
gesturename | Name of the gesture, which should be added. Must e name of a standard gesture, or a gesture name from the definition |
actionname | Action to execute, when the gesture is recognized |
A short example:
<action name="" string="addgesture" widgetname="Background" gesturename="$var($dvar(definition_alias_mediaplayer_template)_GESTURENAME[9])" actionname="$var($dvar(definition_alias_mediaplayer_template)_GESTUREACTION[9])" interface="$var($dvar(definition_alias_mediaplayer_template)_INTERFACE_MAIN)" configname="$var($dvar(definition_alias_mediaplayer_template)_CONFIGNAME_MAIN)" condition="$var($dvar(definition_alias_mediaplayer_template)_GESTUREACTION[9])!=NoAction"/>