1465e00f9Sakito /* 2465e00f9Sakito * Copyright (c) 1992 OMRON Corporation. 3*28a62f4dSbostic * Copyright (c) 1992, 1993 4*28a62f4dSbostic * The Regents of the University of California. All rights reserved. 5465e00f9Sakito * 6465e00f9Sakito * This code is derived from software contributed to Berkeley by 7465e00f9Sakito * OMRON Corporation. 8465e00f9Sakito * 9465e00f9Sakito * %sccs.include.redist.c% 10465e00f9Sakito * 11*28a62f4dSbostic * @(#)kbdreg.h 8.1 (Berkeley) 06/10/93 12465e00f9Sakito */ 13465e00f9Sakito 14465e00f9Sakito /* 15465e00f9Sakito * kbdreg.h -- 16465e00f9Sakito * 17465e00f9Sakito */ 18465e00f9Sakito 19465e00f9Sakito struct kbd_keymap { 20465e00f9Sakito int km_type; 21465e00f9Sakito int km_code[2]; 22465e00f9Sakito }; 23465e00f9Sakito 24465e00f9Sakito #define KC_CHAR 0x000000FF 25465e00f9Sakito #define KC_TYPE 0x0000FF00 26465e00f9Sakito #define KC_CODE 0x00000000 27465e00f9Sakito #define KC_SHIFT 0x00000100 28465e00f9Sakito #define KC_IGNORE 0x0000FF00 29465e00f9Sakito 30465e00f9Sakito #define KS_SHIFT 0 31465e00f9Sakito #define KS_CTRL 1 32465e00f9Sakito #define KS_META 2 33