Touch Gesture Recognition; Gesture Velocity; Gesture Prioritization; Afp - AMX MVP-9000i-GB Instruction Manual

Table of Contents

Advertisement

Transition Commands

^AFP

Flips to a page with the specified page name using an animated transition. If the page is active, do not redraw the current page.
If the page name is blank, flips to the previous page.
Animation is one of the following strings: slide, sldBounce, blkGlass, fade, pgCurl, doorFade, cntrDrFade
If animation is blank or invalid, the page flip will occur without any animated transition occurring.
Origin is a number representing one of the following values for where
the animated transition originates on the screen:
If the origin is blank or invalid, the default is 5 (right).
Time is the transition time in tenths of a second which can vary from 3 (0.3 seconds) to 30 (3.0 seconds). Values above or
below these values will be clamped. If the time is blank, then the default is 1.5 seconds.
Example:

Touch Gesture Recognition

Gesturing refers to the act of moving a finger or stylus across the overlay and having the panel recognize and process this motion
as a gesture.
Once a gesture is detected, it is processed as another external button on the panel. This enables the user to design pages that
translate gesture operations into any functionality available to external buttons. In addition, a gesture velocity is calculated and
transmitted to the master along with the gesture type itself in a custom event message. Nothing will be processed if the external
button associated with this gesture has no page flip operations programmed, is disabled, or has no values programmed for address,
channel, level, string output or command output. The custom event, however, is always transmitted.
The following seven gesture types are supported:
1.
Swipe up
2.
Swipe down
3.
Swipe right
4.
Swipe left
5.
Clockwise circle
6.
Counter-clockwise circle
7.
Double-Tap

Gesture Velocity

A gesture "velocity" is calculated to represent the speed of the gesture. This is done by measuring the time from when the user first
presses the screen until the user releases. The following simplified velocities are supported and transferred to the master in the
custom event message:
1.
Fast
2.
Normal
3.
Slow
A precise velocity is sent in the custom event message which represents the velocity in terms of pixels per second for slides and
circles. For a double tap, this value is the total time in milliseconds from the first press to the second release.

Gesture Prioritization

It is important to prioritize the operation of the presses, moves and releases of the user to avoid confusion over what the user
intended. The following process is used to determine what the user meant whenever a gesture operation is defined globally or for
this page.
Gesture Prioritization
The user presses outside of a button
or slider and moves before releasing.
The user presses inside of a slider and
moves before releasing.
The user presses inside of a joystick
button and moves before releasing.
The user moves a movable popup
page.
MVP-9000i - Instruction Manual
Syntax: "'^AFP-<page name>,<animation>,<origin>,<time>'"
1 - center (currently unused)
2 - top
3 - bottom
4 - left
5 - right
6 - lower left
7 - lower right
8 - upper left
9 - upper right
"'^AFP-MAIN,slide,5,10'"
Will transition to a page named MAIN using a slide effect from the right to the left and taking 1 second to complete.
The firmware will always try to recognize a gesture as long as the user moves at least 20 pixels
before the release occurs.
This will always be processed as a slider operation and no attempt will be made to recognize a
gesture.
This will always be processed as a joystick operation and no attempt will be made to recognize a
gesture.
This will always be processed as a popup page move and not a gesture.
Programming
89

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mvp-9000i-gw

Table of Contents