2 typographic conventions, 3 sintax of messages, 4 messages from keyboard to pc – Videotec DCZ User Manual
Page 16: 3 syntax of messages

EN - English - I
nstruc
tions manual
14
9.4 Messages from keyboard to PC
The DCZ keyboard transmits every event to the PC
and does not expect an acknowledge message.
The events are:
EVENT
MESSAGE
PARAMETERS
Pressing of a
touch key.
[K+val]
val: Value of the
key in the lookup
chart.
Pressing of a
touch key +
shift.
[K+val:shift] val: Value of the
key in the lookup
chart.
shift: Pressed
"shift" keys (‘1’..’8’).
Release of a
touch key.
[K-val]
val: Value of the
key in the lookup
chart.
Pressing a
"shift" key.
[H+shift]
shift: Number of
"shift" key (‘1’..’8’).
Releasing a
"shift" key.
[H-shift]
shift: Number of
"shift" key (‘1’..’8’).
Movement of
the joystick.
[J±pp±tt±zz]
±pp, ±tt, ±zz: Pan,
tilt, zoom position
-07..+07.
Movement of
the shuttle.
[S±aa]
±aa: Rotation angle
-70°..+70°.
Movement of
the jog dial.
[D+1]
Clockwise rotation
by one click (10
clicks per turn
angle).
Movement of
the jog dial.
[D-1]
Counter clockwise
rotation by one
click (10 clicks per
turn angle).
Tab. 02
9.2 Typographic conventions
The following typographic conventions are used in
the protocol described below:
• [messages]: Transmitted message
•
variable_parameter: Variable parameter
inside a message
• ±: Plus or minus sign.
9.3 Syntax of messages
The messages sent to and from the PC consist in
printable characters (from ASCII 32 to ASCII 127
codes, excluding ASCII 91 and 93) which are delimited
by brackets [ and ]:
• [ (ASCII 91) Open square bracket, STX start of
transmission
• Message text of variable length
• [ (ASCII 93) Closed square bracket, STX start of
transmission
Given the type of messages transmitted and the
quality of the USB communication, no checksum
system is foreseen.
Example: When the
ESC
key is pressed (row
1, column 3) the default keyboard will transmit
[K+13]:
•
[: Identifies the start of the message
•
K+: Pressed key
•
13: Key lookup value (row 1, column 3)
•
]: Identifies the end of the message.