Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hpc add HP 620LX Japanese model keymap.
details: https://anonhg.NetBSD.org/src/rev/1b7b48832251
branches: trunk
changeset: 507532:1b7b48832251
user: uch <uch%NetBSD.org@localhost>
date: Sat Mar 24 17:33:12 2001 +0000
description:
add HP 620LX Japanese model keymap.
diffstat:
sys/dev/hpc/hpckbdkeymap.h | 47 ++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 45 insertions(+), 2 deletions(-)
diffs (82 lines):
diff -r cc0ac52154c1 -r 1b7b48832251 sys/dev/hpc/hpckbdkeymap.h
--- a/sys/dev/hpc/hpckbdkeymap.h Sat Mar 24 16:08:36 2001 +0000
+++ b/sys/dev/hpc/hpckbdkeymap.h Sat Mar 24 17:33:12 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpckbdkeymap.h,v 1.6 2001/03/22 18:37:32 uch Exp $ */
+/* $NetBSD: hpckbdkeymap.h,v 1.7 2001/03/24 17:33:12 uch Exp $ */
/*-
* Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
@@ -461,7 +461,9 @@
#endif /* hpcmips */
#ifdef hpcsh
-/* HP Jornada 680/690 */
+/*
+ * HP Jornada 680/690
+ */
/* Japanese */
const u_int8_t jornada6x0_jp_keytrans[] = {
/* 0 1 2 3 4 5 6 7 */
@@ -509,6 +511,35 @@
[KEY_SPECIAL_LIGHT] = -1
};
+/*
+ * HP 620LX
+ */
+/* Japanese */
+const u_int8_t hp620lx_jp_keytrans[] = {
+/* 0 1 2 3 4 5 6 7 */
+/* 0 */ 2 , 16 , 112, UNK, IGN, UNK, 42 , 30 , /* REC button */
+/* 1 */ 3 , 17 , 58 , 44 , UNK, 45 , 15 , 31 ,
+/* 2 */ 4 , 18 , UNK, 56 , 59 , 46 , 1 , 32 ,
+/* 3 */ 5 , 19 , UNK, UNK, 60 , 123, UNK, 33 ,
+/* 4 */ 6 , 20 , 47 , 57 , 61 , 48 , UNK, 34 ,
+/* 5 */ 7 , 21 , UNK, 121, 62 , 49 , UNK, 35 ,
+/* 6 */ 8 , 22 , UNK, 125, 63 , 50 , UNK, 36 ,
+/* 7 */ 9 , 23 , 52 , 115, 64 , 51 , UNK, 37 ,
+/* 8 */ 10 , 24 , 53 , 203, 65 , 200, 39 , 38 ,
+/* 9 */ 11 , 25 , 40 , 208, 66 , 205, 27 , 26 ,
+/*10 */ 12 , 13 , 28 , UNK, UNK, UNK, 41 , 43 ,
+/*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN, /* ON button */
+/*12 */ 29 , IGN, IGN, IGN, IGN, IGN, IGN, IGN,
+/*13 */ 14 , IGN, IGN, IGN, IGN, IGN, IGN, IGN,
+/*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
+/*15 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN /* LED button */
+};
+
+const int hp620lx_special_keymap[] = {
+ [KEY_SPECIAL_OFF] = 88,
+ [KEY_SPECIAL_LIGHT] = 120
+};
+
#endif /* hpcsh */
const struct hpckbd_keymap_table {
@@ -614,6 +645,9 @@
KB_JP },
#endif /* hpcmips */
#ifdef hpcsh
+ /*
+ * HP Jornada 680/690
+ */
/* Japanese */
{ &platid_mask_MACH_HP_JORNADA_680JP,
jornada6x0_jp_keytrans,
@@ -647,6 +681,15 @@
jornada6x0_special_keymap,
NULLCMDMAP,
KB_DE },
+ /*
+ * HP 620LX
+ */
+ /* Japanese */
+ { &platid_mask_MACH_HP_LX_620JP,
+ hp620lx_jp_keytrans,
+ hp620lx_special_keymap,
+ NULLCMDMAP,
+ KB_JP },
#endif /* hpcsh */
{ NULL } /* end mark */
};
Home |
Main Index |
Thread Index |
Old Index