Specifications

Remote Control
47
AMX InspiredSignage XPress Programming Guide
You specify the mapping from key to value in the Key Identifiers tab in the keystroke.svg file (FIG. 46). Key
identifiers may be augmented with “modifiers”, so as to match on the key stroke only if some other control key
is down at the same time. The valid modifiers are Ctrl, Alt, Shift, AltGr. and Meta. For instance, to match a
stroke on “A” while the holding the Control key down, the key identifier is “Ctrl+A”.
In the example (FIG. 47), a mapping is made for the key codes sent by common USB remote controls used for
PowerPoint presentations, while Ctrl+A trigger the alternate content of the sample.
Switching content from another device
It is possible to change a variable remotely from another device simply by creating a shared variable object
with the name of the control variable suffixed by the @ sign and the hostname or IP address of the target
device, and if not using the default port, followed by a colon and the port number. For instance for the control
variable “menu” on the device “target”, the variable name is “menu@target”.
To generate this command you can use the menu_buttons.svg template located in the Interactivity folder. (For
more information on the Interactivity folder, please refer to the Interactivity template files section on page 71.).
This template let you configure 'buttons' and associate each button with a given action. This template can be
used to control local or remote shared variables depending on the presence of the @ sign in the variable name.
FIG. 46 Key Identifiers tab
FIG. 47 Key code example