SECTION 5
Communications and Device Support
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-23
Gold Shifted Keypress Definitions
You invoke shifted key functions whenever you press any key after pressing the
gold key. Pressing the
[GOLD]
key a second time before any other keypress
cancels the first
[GOLD]
keypress. Shifted key functions automatically repeat
until you release the key.
The definitions for shifted functions are significantly different from those for
unshifted functions. You can use up to 12 bytes to define the function of a shifted
key. The byte count for the definition is stored in a separate byte. This byte is
sent before the defining bytes (up to 12) are sent. However, note that all 12
bytes are provided even though only a few bytes may be actually used in the
definition.
When a length (or count) of 0 is sent, the key has no shifted function. When a
length of 1 is sent, the key is treated as an internal function (similar to setting
bit 6 of the attribute byte for unshifted functions). Any time the length is
greater than 1, both the keyĆdepress scan codes and the keyĆrelease scan codes
must be provided for the shifted function.
The following table shows the default definitions for every shifted and unshifted
key function. Note that the unshifted functions are the same for both 56Ćkey and
30Ćkey keyboards. Only a few of the shifted functions are different for the two
types of keyboards.
Unused key numbers and functions are in gray. Although those functions can be
programmed, no key is available for the function.
The fields that contain N/A" indicate that a function is possible but that no
function has been programmed.
Key # Key Label Unshifted (encoding) Shifted 56ĆKey (encoding) Shifted 30ĆKey (encoding)
0
ON
suspend / resume
(0x09, 0x11)
N/A
N/A
1
F
F
(0x21, 0)
N/A
2
L
L
(0x26, 0)
_
(underscore)
(0x2A, 0x0C, 0x8C, 0xAA)
3
R
R
(0x13, 0)
|
(0x2A, 0x2B, 0xAB, 0xAA)
4
X
X
(0x2D, 0)
/
(0x35, 0xB5)
5
SP
spacebar
(0x39, 0)
Ins
(0x52, 0xD2)
6
7
8
A
A
(0x1E, 0)
increase contrast
(0x01)
9
G
G
(0x22, 0)
N/A
10
M
M
(0x32, 0)
"
(0x2A, 0x28, 0xA8, 0xAA)
11
S
S
(0x1F, 0)
\
(0x2B, 0xAB)
12
Y
Y
(0x15, 0)
`
(0x29, 0xA9)
5. Communications
and Device Support