add HPW200EC keymap. patch by "Jeremiah Holt" <jholt5638@earthlink.net>

This commit is contained in:
uch 2004-06-28 14:44:28 +00:00
parent 7782d1dc8c
commit 378e6e4293
1 changed files with 41 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: hpckbdkeymap.h,v 1.27 2004/04/06 15:48:17 tv Exp $ */
/* $NetBSD: hpckbdkeymap.h,v 1.28 2004/06/28 14:44:28 uch Exp $ */
/*-
* Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@ -798,6 +798,35 @@ const int persona_hpw50pad_special_keymap[] = {
[KEY_SPECIAL_LIGHT] = -1
};
/*
* HITACHI PERSONA HPW200EC
*/
/* US */
const u_int8_t persona_hpw200ec_keytrans[] = {
/* 0 1 2 3 4 5 6 7 */
/* 0 */ SPL, UNK, 2, 3, UNK, 5, 6, UNK,
/* 1 */ UNK, UNK, UNK, 11, UNK, UNK, UNK, UNK,
/* 2 */ UNK, UNK, UNK, 19, UNK, 21, UNK, UNK,
/* 3 */ UNK, UNK, 26, 27, UNK, 29, 30, UNK,
/* 4 */ 32, UNK, 34, 35, UNK, UNK, 26, UNK,
/* 5 */ 40, UNK, 42, 43, UNK, UNK, 46, UNK,
/* 6 */ 48, UNK, 50, 51, UNK, 53, 54, UNK,
/* 7 */ 56, UNK, 58, 59, UNK, 61, 62, UNK,
/* 8 */ UNK, UNK, 66, 67, 68, 69, 70, 71,
/* 9 */ UNK, UNK, 74, 75, 76, 77, 78, 79,
/*10 */ UNK, UNK, 82, 83, 84, 85, UNK, UNK,
/*11 */ UNK, UNK, 90, 91, 92, 93, 94, 95,
/*12 */ UNK, UNK, 98, 99, 100, 101, 102, 103,
/*13 */ 104, UNK, 106, 107, 108, 109, 110, 111,
/*14 */ UNK, UNK, 114, 115, 124, 117, 118, 119,
/*15 */ UNK, UNK, 122, 123, UNK, UNK, 126, UNK,
};
const int persona_hpw200ec_special_keymap[] = {
[KEY_SPECIAL_OFF] = 0,
[KEY_SPECIAL_LIGHT] = -1
};
#endif /* hpcsh */
@ -1002,6 +1031,17 @@ const struct hpckbd_keymap_table {
persona_hpw50pad_special_keymap,
NULLCMDMAP,
KB_JP },
/*
* PERSONA HPW200EC
*/
/* US */
{ &platid_mask_MACH_HITACHI_PERSONA_HPW200EC,
persona_hpw200ec_keytrans,
persona_hpw200ec_special_keymap,
NULLCMDMAP,
KB_US },
#endif /* hpcsh */
{ NULL } /* end mark */
};