Programming
173
7" Modero Widescreen Touch Panels
Input Commands
^MPS
Set mouse pass
through. Allows
mouse input to
multiple
destinations
simultaneously.
Destinations are
comma delimited.
Note: This
command causes
all mice
connected to the
G4 product and
any mice on a
computer
connected via a
VGA card with
USB output to
reset to position
0,0.
Syntax:
"'^MPS-<0-6>,<0-6>,...'"
Variable:
0 = Pass mouse input to G4 application.
1-4 = Pass mouse input data to a VGA card with USP output for redirection to a
computer.
5 = Pass mouse buttons to the NetLinx master in the form of a custom event.
6 = Pass mouse buttons and movement to the NetLinx master in the form of custom
events.
Example:
SEND COMMAND Panel,"'^MPS-0'"
Passes the mouse input to a connected G4 application.
^TPS
TPI only.
Set touch pass
through.
Syntax:
"'^TPS-<0-1>'"
Variable:
1 = Creates a transparent connection between the touch input serial port and the
program port. This is useful for connecting a PC to the program port and controlling
touch input on that PC from the touch panel connected to the touch input port. This will
cause the command terminal on the program port to shutdown.
0 = Undoes the changes.
Example:
SEND COMMAND Panel,"'^TPS-1'"
Enables the touch pass through.
^VKS
Send one or more
virtual key strokes
to the G4
application.
Key presses and key releases are not distinguished except in the case of CTRL, ALT, and
SHIFT.
Refer to theEmbedded Codes table on page 174 that define special characters which
can be included with the string but may not be represented by the ASCII character set.
Syntax:
"'^VKS-<string>'"
Variable:
string = Only 1 string per command/only one stroke per command.
Example:
SEND COMMAND Panel,"'^VKS-'8"
Sends out the keystroke 'backspace' to the G4 application.