xref: /csrg-svn/sys/luna68k/stand/kbdreg.h (revision 63199)
157088Sakito /*
257088Sakito  * Copyright (c) 1992 OMRON Corporation.
3*63199Sbostic  * Copyright (c) 1992, 1993
4*63199Sbostic  *	The Regents of the University of California.  All rights reserved.
557088Sakito  *
657088Sakito  * This code is derived from software contributed to Berkeley by
757088Sakito  * OMRON Corporation.
857088Sakito  *
957088Sakito  * %sccs.include.redist.c%
1057088Sakito  *
11*63199Sbostic  *	@(#)kbdreg.h	8.1 (Berkeley) 06/10/93
1257088Sakito  */
1357088Sakito 
1457088Sakito /*
1557088Sakito  * kbdreg.h --
1657088Sakito  *
1757088Sakito  */
1857088Sakito 
1957088Sakito struct kbd_keymap {
2057088Sakito 	int	km_type;
2157088Sakito 	int	km_code[2];
2257088Sakito };
2357088Sakito 
2457088Sakito #define KC_CHAR		0x000000FF
2557088Sakito #define KC_TYPE		0x0000FF00
2657088Sakito #define	KC_CODE		0x00000000
2757088Sakito #define	KC_SHIFT	0x00000100
2857088Sakito #define	KC_IGNORE	0x0000FF00
2957088Sakito 
3057088Sakito #define KS_SHIFT	0
3157088Sakito #define KS_CTRL		1
3257088Sakito #define KS_META		2
33