SECTION 5
Communications and Device Support
5-28 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
Logical Keyboard
The logical keyboard is the view of the keyboard that the programmer uses.
However, the logical keyboard defines 64 key numbers instead of the 22 keys of
the keyboard on the 6300 Computer. The key numbers are also sequential,
starting at zero and ending with 63.
Standard Keycode Definitions
When the
[GOLD]
key is not pressed, two bytes define each key number of the
logical keyboard. The first byte defines the PCĆcompatible scan code that is sent
to the 386 for each key press. The second byte defines an attribute code for each
key.
A system scan code is assigned for each key number in the logical keyboard.
This system scan code is translated to a specific character by the BIOS and
Windows drivers, based on ATĆstandard key code definitions. For each key
number and for both shifted and unshifted keys, the scan code and standard
character translation of that scan code are found in the table that follows.
"
NOTE:
GOLD is not the same as shift.
The
gold
and
off/on
(suspend/resume) keys have special meaning for the system.
If system functions such as contrast adjust, backlight adjust, etc. are to work,
these keys must have a position in the standard key table. In the following
table, key numbers found on the 22Ćkey keyboard on the 6300 Computer are
printed in bold typeface.
Key # Key Label Unshifted
Shifted
Scan Code
0
TAB
TAB
BTAB
0x0f
1
DEL
BS
BS
0x0e
2
ć
Minus
Dash
0x0c
3
GOLD
GOLD
0xfe
4
a
A
0x1e
5
i
I
0x17
6
q
Q
0x10
7
1 O
OFF/ON
OFF/ON
0x09
8
7
7
&
0x08
9
4
4
$
0x05
10
1
1
!
0x02
11
NO
ESC
ESC
0x01
5. Communications
and Device Support