4.0 Timing Constants
Several tming constants can be used to tailor the opera-
tion of the PS/2 Twiddler2. These are defined below
along with their default values. Note the format for
defining constants is similar to defining chords, but with
the thumb and finger codes set to special strings. All
values, except for the MCNS DBNC are * 0.005 sec-
onds. For example, the key repeat rate is 0.1s
(20*0.005s).
KCNS DLY = 100
sets the key repeat delay (0.5s)
KCNS RPT = 20
sets the key repeat rate (0.1s)
MCNS DLY = 300
sets the mouse function time
out(1.5s)
MCNS DBL = 20
sets the mouse double click
time (0.1s)
MCNS KEY = 10
sets the delay from sending the
alt, shift, ctrl key to actually
pressing the mouse button
(0.05s)
MCNS DBNC = 82
controls the debouncing of the
mouse activity detection algo-
rithm.
MCNS FLGS = 0
sets default behavior of mouse
keys to exit mouse mode upon
release. INV_EXIT causes it to
remain in mouse mode.
MCNS FLGS = 1
Sets default behavior of mouse
keys to remain in mouse mode
37
mode
M 0L00 = DBL+RIGHT
Double click right
M 00R0 = CTRL+LEFT
Control left click
M 00M0 = SHIFT+LEFT
Shift left click
M 00L0 = ALT+LEFT
Alt left click
M 000R = LEFT
Holds down/releases
the left button
M 000M = RIGHT Holds down/releases
the right button
M 000L = SHIFT+DBL+LEFT Shift left double click
3.3 Mouse On/Off
The predefined special code of MOUSE_ON and
MOUSE_OFF can be used to assign a chord to turn the
mouse function on and off, respectively. This function
can be used to save power when just entering text.
The default chords are defined below.
F MMMM = MOUSE_ON
F LLLL = MOUSE_OFF
36