6 led updates, 7 lookup chart (for experts only), 1 lookup value index – Videotec DCZ User Manual

Page 18: 6 led updates 9.7 lookup chart (for experts only)

Advertising
background image

EN - English - I

nstruc

tions manual

16

Changing lookup values enables you to:
• Have more keys which are acknowledged as the

same key;

• Change the default position and the number of

joystick keys in JOYHID mode.

9.7.1 Lookup value index

The lookup values range from 0.to 65535.
Certain value intervals have a special meaning:
0: Disabled key;
1..99: Normal key, the value is sent when the key is

pressed and released;

1001..1008: Shift Key descriptions;
50011..50089: Definition of multiple keys;
60001..60040: Assigning of keys in JOYHID mode;
60101..60103: For internal use, not available.
If a value of

01-99 is set, the corresponding code will

be sent by the keyboard when the key is pressed/
released in VCOM mode.
By setting a value between 1001-1008, the key
becomes a shift key. If any key is pressed while one
or more shift keys are pressed the message [

K+xx]

changes to [

K+xx:pressed_shift_list].

More than one shift key can be contemporaneously
pressed at any time.
If a value of

500rc (rc within the range of 11..89) is

set, this creates an alias and links the behaviour of the
key to another

rc. logical coordinate key. This allows

you to manage a number of keys with the same
behaviour as if they were one single key.
If a value of

600nn (nn in the range of 01-40) is set,

the key will be assigned to the corresponding joystick
key

nn in JOYHID mode.

9.7.2 Modifications to the lookup chart
to move and change the number of
joystick keys.

Modification to the lookup chart allows you to
change the position or the number of joystick keys
when in JOYHID mode.

9.6 LED updates

The effect of the [

Led+xx], [Led-xx] abe [Led/xx]

commands is usually immediate.
If it is necessary to set a number of LEDs at the same
time, there may be an update delay mainly due to the
asynchronous communication between the keyboard
and the PC.
A temporary buffer is used to avoid a delay of this
kind. After setting the temporary buffer values,
an update operation is performed so that the
contemporary change of all the modified LEDs is
visible.
The following commands are used to this purpose:

COMMAND

MEANING

[LedImmediate] The update of the LED is immediate.
[LedDelayed]

The update of the LEDs is delayed
until the first command is received

[LedUpdate].

In the meantime, all the

[Led+xx],

[Led-xx] and [Led/xx]

commands are memorized in a
temporary buffer.

[LedUpdate]

The temporary buffer is copied
to the active buffer and all the
modification made in the meantime
are now visible.

[LedCopy]

The active buffer copies back to the
temporary buffer.

Tab. 04

9.7 Lookup chart (for experts
only)

Each key is assigned a value found on the key
lookup. The default value corresponds to the logical
coordinates of the key (for instance, the

ESC

key row

1, column 3, corresponds to a value of 13).
The

LookupWrite command allows you to modify

the value assigned to a key.

h

The changing of lookup values can cause
apparent system malfunctions in the event
that it is necessary to replace the keyboard
at a later date. It is highly recommended to
document any modifications made.

Advertising