Intermec 6200 Reference Guide

Page of 410
SECTION 5
Communications and Device Support
5-22    PEN*KEY
R
 6200/6300 Hand-Held Computer Programmer’s Reference Guide
Logical Keyboard
The keyboard, as viewed by a programmer, is defined as a logical keyboard.
However, the logical keyboard defines 64 key numbers instead of only the 30 or
56 keys of the keyboard for the 6200 Computer.  The key numbers are
sequential, starting at 0 and ending with 63.  Since there are more key numbers
than physical keys, some key numbers cannot be used (when reprogrammed,
they do not change the operation of the physical keyboard).
Every key number carries an unshifted and a shifted function definition.
Unshifted functions occur when pressing one key.  Shifted functions occur when
pressing the gold key immediately prior to pressing another key.
Standard Unshifted Keycode Definitions
Each unshifted key function is encoded by a twoĆbyte code.  The first byte
typically defines the PCĆcompatible scan code that is sent to the 386.  The second
byte defines an attribute code for each key.  Through the use of special attribute
codes, the first byte can be treated as an internal function rather than as a PC
scan code.
The attribute byte is defined as a bit field, in which each bit uniquely modifies
the function of the key.  The following table defines each bit in the attribute byte.
Bit Definition
0
1 = Suspend/Resume Key.  All other attribute bits ignored when this bit is set.
1
1 = [GOLD] key.  Attribute bits 2 through 7 are ignored when this bit is set.
2
1 = Extended function key, scan code defined by first byte preceded by 0xe0 when sent to PC.
3
1 = Alt key sequence, <Alt> key depress code precedes first byte and Alt key release code follows reĆ
lease code for first byte.
4
1 = No beep on key repeat.
5
1 = Key is sent to the PC once, even on key repeat.
0 = Key is repeatedly sent to the PC if on key repeat.
6
1 = First byte sent to host as system event on IRQ15 rather as scan code via keyboard interrupt.
Bits 2, 4, and 5 are ignored when this bit is set.
7
1 = Ctrl key sequence, <Ctrl> key depress code precedes first byte and Ctrl release code follows reĆ
lease code for first byte.
The internal functions include:
"
Suspend/resume
"
Increase contrast
"
Decrease contrast
"
Increase backlight brightness
"
Decrease backlight brightness
"
Toggle backlight on or off
"
Increase key beep volume
"
Decrease key beep volume
5. Communications
and Device Support