Storyboard gesture support is provided by the
libgre-plugin-gesture plugin. The
gesture plugin options
are described in detail in the Storyboard plugin option
appendix of this document.
The gesture plugin interprets the inbounds
events and based on those observed events will generate custom gesture events. Gestures are only emitted
release occurs and a pattern has been matched.
Gestures are made up of a series of numbers. The numbers represent the direction that the cursor was traveling as a grid arranged from one (1) to eight (8) ordered clockwise:
Up and to the right
Down and to the right
Down and to the left
Up and to the left
By default the gesture plugin registers some default gestures
Other gestures can be created by registering them in a custom gesture definition file that is loaded by the gesture plugin.
The gesture definition file is a comma separated value text file that contains
a field for the name of the event followed by the numeric gesture sequence string
that needs to be matched to generate the event. For example, to define a
gesture, you could put the following in the a
This definition indicates when the gesture plugin detects a right, down and left, left
motion sequence that it should generate a
You can point the gesture plugin at the custom gesture definition file by running Storyboard
Engine with the option
-ogesture,file=filename , where
filename is the
name of the project relative file, for example
Gesture sequences are currently limited to 30 movements after which a warning will be generated and the gesture entry will be ignored.