APPENDIX B
Common PEN*KEY 6000 Series Information
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide B-11
F1–F12.
********************************************************************/
(void) DefineMacro(40,4,PAGEUP); /* Gold+up arrow */
(void) DefineMacro(50,4,PAGEDN); /* Gold+down arrow */
(void) DefineMacro(0,4,BTAB);
/* Gold+tab=backtab*/
(void) DefineMacro(11,2,PERIOD);
(void) DefineMacro(24,6,HOME);
(void) DefineMacro(26,6,END);
(void) DefineMacro(2,2,SPACE);
/*Gold+(col 0, row2)*/
// (void) DefineMacro(16,2,C);
// (void) DefineMacro(17,2,E);
// (void) DefineMacro(18,2,M);
}
UC KBDKEYS[64][2] = {
/********************************************************************
First number is the scan code returned. Second number is a set of attributes
identified as follows:
bit 0 1=Suspend/Resume key all other attributes ignored
bit 1 1=Gold shift key attribute bits 2–7 are ignored
bit 2 1=Extended Function key Scan code defined by the first byte
is preceded by an 0xe0 when sent to host
bit 3 reserved
bit 4 1=no beep on key repeat
bit 5 1=no key repeat
bit 6 1=Non-gold-shift-plane system event key. This causes the key code
value received to be sent to the host as a system event rather than
a keyboard interrupt. Bits 2,4,and 5 are ignored when this bit is
set. Macro key processing ignores this bit.
bit 7 reserved
********************************************************************/
/*COL 0 */
0x0f,0x20, /* 00 ROW 0
TAB */
0x0e,0x20, /* 01 ROW 1
BS */
0x4e,0x20, /* 02 ROW 2
+ */
0xfe,0x12, /* 03 ROW 3
GOLD */
0x1e,0x20, /* 04 ROW 4
A */
0x17,0x20, /* 05 ROW 5
I */
0x10,0x20, /* 06 ROW 6
Q */
0x09,0x11, /* 07 ROW 7
off/on */
/*COL 1 */
0x08,0x20, /* 08 ROW 0
7 */
0x05,0x20, /* 09 ROW 1
4 */
0x02,0x20, /* 10 ROW 2
1 */
0x01,0x20, /* 11 ROW 3
ESC */
0x30,0x20, /* 12 ROW 4
B */
0x24,0x20, /* 13 ROW 5
J */
0x13,0x20, /* 44 ROW 6
R */
0x15,0x20, /* 45 ROW 7
Y */
/*COL 2 */
0x09,0x20, /* 16 ROW 0
8 */
0x06,0x20, /* 17 ROW 1
5 */
0x03,0x20, /* 18 ROW 2
2 */
0x0b,0x20, /* 19 ROW 3
0 */
0x2e,0x20, /* 20 ROW 4
C */
0x25,0x20, /* 21 ROW 5
K */
0x1f,0x20, /* 42 ROW 6
S */
0x2c,0x20, /* 43 ROW 7
Z */
/*COL 3 */
0x0a,0x20, /* 24 ROW 0
9 */
0x07,0x20, /* 25 ROW 1
6 */
0x04,0x20, /* 26 ROW 2
3 */
0x1c,0x20, /* 27 ROW 3
ENT */
0x20,0x20, /* 28 ROW 4
D */
0x26,0x20, /* 29 ROW 5
L */
0x14,0x20, /* 30 ROW 6
T */
0x39,0x20, /* 31 ROW 7
space */
B. Common PEN*KEY
6000 Series Info.