diff options
| author | kiyohara <kiyohara@NetBSD.org> | 2005-09-05 18:54:10 +0000 |
|---|---|---|
| committer | kiyohara <kiyohara@NetBSD.org> | 2005-09-05 18:54:10 +0000 |
| commit | 17587c61041029b74aa41ec2d87fce8645c4b4a7 (patch) | |
| tree | ef1b7f81a237f0686dc2d627b44fcb31898c5db6 /sys/dev | |
| parent | dc5a3ff210491c34ba497325b82650747da177ff (diff) | |
Support LCD screen driver for PERSONA SH3 machines.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/DEVNAMES | 3 | ||||
| -rw-r--r-- | sys/dev/hpc/hpckbdkeymap.h | 19 |
2 files changed, 18 insertions, 4 deletions
diff --git a/sys/dev/DEVNAMES b/sys/dev/DEVNAMES index 9a41fb00a3c..7624c441cda 100644 --- a/sys/dev/DEVNAMES +++ b/sys/dev/DEVNAMES @@ -1,4 +1,4 @@ -# $NetBSD: DEVNAMES,v 1.186 2005/07/30 06:14:50 skrll Exp $ +# $NetBSD: DEVNAMES,v 1.187 2005/09/05 18:54:10 kiyohara Exp $ # # This file contains all used device names and defined attributes in # alphabetical order. New devices added to the system somewhere should first @@ -1005,6 +1005,7 @@ ppbus MI ppi hp300 pps MI ps vax +psh3lcd hpcsh psh3tp hpcsh psycho sparc64 ptsc acorn32 diff --git a/sys/dev/hpc/hpckbdkeymap.h b/sys/dev/hpc/hpckbdkeymap.h index 2855d6419b8..a936e479ebd 100644 --- a/sys/dev/hpc/hpckbdkeymap.h +++ b/sys/dev/hpc/hpckbdkeymap.h @@ -1,4 +1,4 @@ -/* $NetBSD: hpckbdkeymap.h,v 1.36 2005/07/30 22:45:13 nakayama Exp $ */ +/* $NetBSD: hpckbdkeymap.h,v 1.37 2005/09/05 18:54:10 kiyohara Exp $ */ /*- * Copyright (c) 1999-2002 The NetBSD Foundation, Inc. @@ -840,7 +840,7 @@ const uint8_t persona_hpw50pad_jp_keytrans[] = { /* 5 */ 30 , 16 , 21 , 24 , 28 , 54 , UNK, UNK, /* 6 */ 17 , 4 , UNK, 10 , 12 , 205, UNK, UNK, /* 7 */ 31 , 18 , 7 , 25 , 13 , 83 , UNK, UNK, -/* 8 */ 60 , 62 , 64 , 66 , 68 , IGN, UNK, UNK, /* REC button */ +/* 8 */ 60 , 62 , 64 , 66 , 68 , UNK, UNK, UNK, /* 9 */ UNK, 123, 49 , 53 , 203, UNK, UNK, UNK, /*10 */ 56 , 46 , 50 , 57 , 208, UNK, UNK, UNK, /*11 */ 15 , 33 , 36 , 39 , 43 , UNK, UNK, UNK, @@ -855,6 +855,19 @@ const int persona_hpw50pad_special_keymap[] = { [KEY_SPECIAL_LIGHT] = -1 }; +static const keysym_t persona_hpw50pad_jp_keydesc[] = { +/* pos command normal shifted */ + KC(63), KS_Cmd_ContrastDown, KS_f5, + KC(64), KS_Cmd_ContrastUp, KS_f6, + KC(65), KS_Cmd_BrightnessDown, KS_f7, + KC(66), KS_Cmd_BrightnessUp, KS_f8, + + KC(200),KS_Cmd_ScrollFastUp, KS_Up, + KC(208),KS_Cmd_ScrollFastDown, KS_Down, + KC(203),KS_KP_Home, KS_Left, + KC(205),KS_KP_End, KS_Right, +}; + /* * HITACHI PERSONA HPW200EC */ @@ -1104,7 +1117,7 @@ const struct hpckbd_keymap_table { { &platid_mask_MACH_HITACHI_PERSONA_HPW50PAD, persona_hpw50pad_jp_keytrans, persona_hpw50pad_special_keymap, - NULLCMDMAP, + CMDMAP(persona_hpw50pad_jp_keydesc), KB_JP }, /* |
