* $Header:codes 12.0$
* $ACIS:codes 12.0$
* $Source: /ibm/acis/usr/sys/standca/RCS/codes,v $
* this file is processed by codes.awk into codes.h which is included
* by keyboard.c
#define SHIFT1	0x12
#define SHIFT2	0x59
#define ALT1	0x19
#define ALT2	0x39
#define BREAK	0xf0
#ifdef PC_KEYBOARD
#define SHIFT_LOCK 0x11		/* used to be control */
#define CNTRL	0x14		/* used to be shift lock */
#else
#define SHIFT_LOCK 0x14		/* key labeled caps lock */
#define CNTRL	0x11		/* key labeled control */
#endif
#define DEBUG_CHAR 0x62
#define PRINT_CHAR 0x57		/* print the screen */
#define ESC_FLAG	0x80	/* generate ESC + character */
#define ALT_FLAG	0x100	/* generate ALT + character */
#define NUM_LOCK 0x76		/* numeric lock */
#define SWITCH_CHAR 0x5f	/* scroll lock */
#define CLICK_CHAR 0x76		/* use num lock as it is useless */
#ifdef ESC2_CHAR
#define ESC1_CHAR	(033 + ESC_MARK)
#else
#define ESC1_CHAR	033
#endif
* start of character scan codes
* first column is hex code, second is unshifted, next is shifted
* any following columns are comments
08	\33	\33
0e	`	~
5c	\\	|
0d	\t	\b
16	1	!
1e	2	@
26	3	#
25	4	$
2e	5	%
36	6	^
3d	7	&
3e	8	*
46	9	(
45	0	)
4e	-	_
66	\b	\b
15	q	Q
1d	w	W
24	e	E
2d	r	R
2c	t	T
35	y	Y
3c	u	U
43	i	I
44	o	O
4d	p	P
54	[	{
5b	]	}
* 53	]	}
1c	a	A
1b	s	S
23	d	D
2b	f	F
34	g	G
33	h	H
3b	j	J
42	k	K
4b	l	L
4c	;	:
52	\'	"
1a	z	Z
22	x	X
21	c	C
2a	v	V
32	b	B
31	n	N
3a	m	M
41	,	<
49	.	>
4a	/	?
29	\40	\40
5a	\r	\r
6a	\EC	\EC	right arrow
63	\EA	\EA	up arrow
60	\EB	\EB	down arrow
61	\ED	\ED	left arrow
6e	\EH	\EH	home
64	\177	\177
55	=	+
13	<	>
70	0	0
69	1	1
72	2	2
7a	3	3
6b	4	4
73	5	5
74	6	6
6c	7	7
75	8	8
7d	9	9
7c	+	+
77	/	/
7e	*	*
84	-	-
71	.	.
79	\r	\r	enter key
* F1 - F12
07	\ES	\EI	f1
0f	\ET	\EJ	f2
17	\EU	\EK	f3
1f	\EV	\EL	f4
27	\EW	\EM	f5
2f	\EP	\EN	f6
37	\EQ	\EO	f7
3f	\ER	\EX	f8
47	\EY	\E-	f9
4f	\E<	\E>	f10
56	\E[	\E]	f11
5e	\E,	\E.	f12
* other keys
67	\0	\E\0	ins
6f	\EG	\Eg	page up
6d	\EE	\Ee	page down
65	\EF	\Ef	end
