Home | History | Annotate | Line # | Download | only in hpc
hpckbdkeymap.h revision 1.6
      1  1.6       uch /*	$NetBSD: hpckbdkeymap.h,v 1.6 2001/03/22 18:37:32 uch Exp $ */
      2  1.1       uch 
      3  1.1       uch /*-
      4  1.1       uch  * Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
      5  1.1       uch  * All rights reserved.
      6  1.1       uch  *
      7  1.1       uch  * Redistribution and use in source and binary forms, with or without
      8  1.1       uch  * modification, are permitted provided that the following conditions
      9  1.1       uch  * are met:
     10  1.1       uch  * 1. Redistributions of source code must retain the above copyright
     11  1.1       uch  *    notice, this list of conditions and the following disclaimer.
     12  1.1       uch  * 2. Redistributions in binary form must reproduce the above copyright
     13  1.1       uch  *    notice, this list of conditions and the following disclaimer in the
     14  1.1       uch  *    documentation and/or other materials provided with the distribution.
     15  1.1       uch  * 3. All advertising materials mentioning features or use of this software
     16  1.1       uch  *    must display the following acknowledgement:
     17  1.1       uch  *        This product includes software developed by the NetBSD
     18  1.1       uch  *        Foundation, Inc. and its contributors.
     19  1.1       uch  * 4. Neither the name of The NetBSD Foundation nor the names of its
     20  1.1       uch  *    contributors may be used to endorse or promote products derived
     21  1.1       uch  *    from this software without specific prior written permission.
     22  1.1       uch  *
     23  1.1       uch  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     24  1.1       uch  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     25  1.1       uch  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     26  1.1       uch  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     27  1.1       uch  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     28  1.1       uch  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     29  1.1       uch  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     30  1.1       uch  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     31  1.1       uch  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     32  1.1       uch  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     33  1.1       uch  * POSSIBILITY OF SUCH DAMAGE.
     34  1.1       uch  */
     35  1.1       uch 
     36  1.1       uch #define UNK		255	/* unknown */
     37  1.1       uch #define IGN		254	/* ignore */
     38  1.1       uch #define SPL		253	/* special key */
     39  1.1       uch #define KC(n)		KS_KEYCODE(n)
     40  1.1       uch #define CMDMAP(map)	{ map, (sizeof(map)/sizeof(keysym_t)) }
     41  1.1       uch #define NULLCMDMAP	{ NULL, 0 }
     42  1.1       uch 
     43  1.1       uch #define KEY_SPECIAL_OFF		0
     44  1.1       uch #define KEY_SPECIAL_LIGHT	1
     45  1.1       uch 
     46  1.1       uch const u_int8_t default_keymap[] = {
     47  1.1       uch /*      0    1    2    3    4    5    6    7 */
     48  1.1       uch /* 0 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     49  1.1       uch /* 1 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     50  1.1       uch /* 2 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     51  1.1       uch /* 3 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     52  1.1       uch /* 4 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     53  1.1       uch /* 5 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     54  1.1       uch /* 6 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     55  1.1       uch /* 7 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     56  1.1       uch /* 8 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     57  1.1       uch /* 9 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     58  1.1       uch /*10 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     59  1.1       uch /*11 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     60  1.1       uch /*12 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     61  1.1       uch /*13 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     62  1.1       uch /*14 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
     63  1.1       uch /*15 */	UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK
     64  1.1       uch };
     65  1.1       uch 
     66  1.1       uch const int default_special_keymap[] = {
     67  1.1       uch 	[KEY_SPECIAL_OFF]	= -1,
     68  1.1       uch 	[KEY_SPECIAL_LIGHT]	= -1
     69  1.1       uch };
     70  1.1       uch 
     71  1.1       uch #ifdef hpcmips
     72  1.1       uch const u_int8_t tc5165_mobilon_keymap[] = {
     73  1.1       uch /*      0    1    2    3    4    5    6    7 */
     74  1.1       uch /* 0 */	37 , 45 , 44 , UNK, 9  , 51 , 23 , UNK,
     75  1.1       uch /* 1 */	UNK, 56 , UNK, UNK, UNK, UNK, UNK, UNK,
     76  1.1       uch /* 2 */	UNK, UNK, 29 , UNK, UNK, UNK, UNK, UNK,
     77  1.1       uch /* 3 */	24 , 203, UNK, 38 , 10 , 27 , 13 , UNK,
     78  1.1       uch /* 4 */	40 , UNK, UNK, 39 , 26 , 53 , 11 , 12 ,
     79  1.1       uch /* 5 */	UNK, UNK, UNK, 53 , 25 , UNK, UNK, SPL, /* Light */
     80  1.1       uch /* 6 */	208, UNK, UNK, UNK, 52 , UNK, 43 , 14 ,
     81  1.1       uch /* 7 */	205, 200, UNK, UNK, SPL, UNK, UNK, 28 , /* Off key */
     82  1.1       uch /* 8 */	UNK, 41 , 59 , 15 , 2  , UNK, UNK, UNK,
     83  1.1       uch /* 9 */	63 , 64 , 1  , UNK, 65 , 16 , 17 , UNK,
     84  1.1       uch /*10 */	60 , UNK, 61 , 62 , 3  , UNK, UNK, UNK,
     85  1.1       uch /*11 */	UNK, UNK, UNK, 42 , 58 , UNK, UNK, UNK,
     86  1.1       uch /*12 */	47 , 33 , 46 , 5  , 4  , 18 , 19 , UNK,
     87  1.1       uch /*13 */	34 , 35 , 20 , 48 , 6  , 7  , 21 , 49 ,
     88  1.1       uch /*14 */	22 , 31 , 32 , 36 , 8  , 30 , 50 , 57 ,
     89  1.1       uch /*15 */	UNK, IGN, UNK, UNK, UNK, UNK, UNK, UNK /* Windows key */
     90  1.1       uch };
     91  1.1       uch 
     92  1.1       uch const int tc5165_mobilon_special_keymap[] = {
     93  1.1       uch 	[KEY_SPECIAL_OFF]	= 60,
     94  1.1       uch 	[KEY_SPECIAL_LIGHT]	= 47
     95  1.1       uch };
     96  1.1       uch 
     97  1.1       uch const u_int8_t tc5165_telios_jp_keymap[] = {
     98  1.1       uch /*      0    1    2    3    4    5    6    7 */
     99  1.1       uch /* 0 */	58,  15,  IGN, 1,   IGN, IGN, IGN, IGN,
    100  1.1       uch /* 1 */	IGN, IGN, IGN, IGN, 54,  42,  IGN, IGN,
    101  1.1       uch /* 2 */	31,  18,  4,   IGN, IGN, 32,  45,  59,
    102  1.1       uch /* 3 */	33,  19,  5,   61,  IGN, 46,  123, 60,
    103  1.1       uch /* 4 */	35,  21,  8,   64,  IGN, 48,  49,  63,
    104  1.1       uch /* 5 */	17,  16,  3,   IGN, 2,   30,  44,  41,
    105  1.1       uch /* 6 */	IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    106  1.1       uch /* 7 */	IGN, IGN, IGN, IGN, IGN, IGN, 56,  IGN,
    107  1.1       uch /* 8 */	34,  20,  7,   IGN, 6,   47,  57,  62,
    108  1.1       uch /* 9 */	IGN, IGN, IGN, IGN, IGN, IGN, 29,  IGN,
    109  1.4  takemura /*10 */	27,  125, 13,  203, 208, 40,  115, 68,
    110  1.1       uch /*11 */	39,  26,  25,  IGN, 12,  52,  53,  67,
    111  1.1       uch /*12 */	37,  24,  11,  IGN, 10,  38,  51,  66,
    112  1.1       uch /*13 */	23,  22,  9,   IGN, IGN, 36,  50,  65,
    113  1.4  takemura /*14 */	28,  43,  14,  200, 205,  IGN, IGN, 211,
    114  1.1       uch /*15 */	IGN, IGN, IGN, IGN, IGN, IGN, 221, IGN
    115  1.1       uch };
    116  1.1       uch 
    117  1.1       uch const u_int8_t tc5165_compaq_c_jp_keymap[] = {
    118  1.1       uch /*      0    1    2    3    4    5    6    7 */
    119  1.1       uch /* 0 */	38,  50,  49,  48,  47,  46,  45,  44,
    120  1.1       uch /* 1 */	56,  IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    121  1.1       uch /* 2 */	13,  IGN, 112, 121, 123, 41,  28,  57,
    122  1.4  takemura /* 3 */	205, 203, 208, 200, 39,  53,  52,  51,
    123  1.1       uch /* 4 */	24,  25,  40,  IGN, 43,  26,  115, 58,
    124  1.1       uch /* 5 */	54,  IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    125  1.1       uch /* 6 */	IGN, IGN, IGN, SPL, IGN, IGN, IGN, IGN, /* Light */
    126  1.1       uch /* 7 */	IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    127  1.1       uch /* 8 */	42,  IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    128  1.1       uch /* 9 */	29,  IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    129  1.1       uch /*10 */	221, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    130  1.1       uch /*11 */	221, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    131  1.1       uch /*12 */	14,  27,  12,  11,  10,  15,  1,   125,
    132  1.1       uch /*13 */	9,   8,   7,   6,   5,   4,   3,   2,
    133  1.1       uch /*14 */	23,  22,  21,  20,  19,  18,  17,  16,
    134  1.1       uch /*15 */	37,  36,  35,  34,  33,  32,  31,  30
    135  1.1       uch };
    136  1.1       uch 
    137  1.1       uch const int tc5165_compaq_c_jp_special_keymap[] = {
    138  1.1       uch 	[KEY_SPECIAL_OFF]	= -1, /* don't have off button */
    139  1.1       uch 	[KEY_SPECIAL_LIGHT]	= 51
    140  1.1       uch };
    141  1.1       uch 
    142  1.1       uch const u_int8_t m38813c_keymap[] = {
    143  1.1       uch /*      0    1    2    3    4    5    6    7 */
    144  1.1       uch /* 0 */	0,   1,   2,   3,   4,   5,   6,   7,
    145  1.1       uch /* 1 */	8,   9,   10,  11,  12,  13,  14,  15,
    146  1.1       uch /* 2 */	16,  17,  18,  19,  20,  21,  22,  23,
    147  1.1       uch /* 3 */	24,  25,  26,  27,  28,  29,  30,  31,
    148  1.1       uch /* 4 */	32,  33,  34,  35,  36,  37,  38,  39,
    149  1.1       uch /* 5 */	40,  41,  42,  43,  44,  45,  46,  47,
    150  1.1       uch /* 6 */	48,  49,  50,  51,  52,  53,  54,  55,
    151  1.1       uch /* 7 */	56,  57,  58,  59,  60,  61,  62,  63,
    152  1.1       uch /* 8 */	64,  65,  66,  67,  68,  69,  70,  71,
    153  1.4  takemura /* 9 */	200, 73,  74,  203, 76,  205,  78,  79,
    154  1.4  takemura /*10 */	208, 81,  82,  83,  84,  85,  86,  87,
    155  1.1       uch /*11 */	88,  89,  90,  91,  92,  93,  94,  95,
    156  1.1       uch /*12 */	96,  97,  98,  99,  100, 101, 102, 103,
    157  1.1       uch /*13 */	104, 105, 106, 107, 108, 109, 110, 111,
    158  1.1       uch /*14 */	112, 113, 114, 115, 116, 117, 118, 119,
    159  1.1       uch /*15 */	120, 121, 122, 123, 124, 125, 126, 127
    160  1.1       uch };
    161  1.1       uch 
    162  1.1       uch /* NEC MobileGearII MCR series (Japan) */
    163  1.1       uch static u_int8_t mcr_jp_keytrans[] = {
    164  1.1       uch /*00	right	ent	p	.	y	b	z	space	*/
    165  1.1       uch /*08	down	/	o	,	t	v	a	nfer	*/
    166  1.1       uch /*10	left	\	i	m	r	c	w	menu	*/
    167  1.1       uch /*18	^	-	u	-	e	x	q	1	*/
    168  1.1       uch /*20	pgdn	h/z	0	l	:	g	tab	f1	*/
    169  1.1       uch /*28	xfer	;	9	n	5	f	2	k	*/
    170  1.1       uch /*30	up	[	8	j	4	d	6	-	*/
    171  1.1       uch /*38	-	@	7	h	3	]	s	-	*/
    172  1.1       uch /*40	caps	-	-	-	bs	fnc	f8	f3	*/
    173  1.1       uch /*48	-	alt	-	-	|	k/h	f7	f4	*/
    174  1.1       uch /*50	-	-	ctrl	-	f10	pgup	f6	f2	*/
    175  1.1       uch /*58	-	-	-	shift	del	f9	f5	esc	*/
    176  1.1       uch /*----------------------------------------------------------------------*/
    177  1.4  takemura /*00*/	205,	 28,	 25,	 52,	 21,	 48,	 44,	 57,
    178  1.4  takemura /*08*/	208,	 53,	 24,	 51,	 20,	 47,	 30,	123,
    179  1.4  takemura /*10*/	203,	115,	 23,	 50,	 19,	 46,	 17,	221,
    180  1.1       uch /*18*/	 13,	IGN,	 22,	IGN,	 18,	 45,	 16,	  2,
    181  1.1       uch /*20*/	 81,	 41,	 11,	 38,	 40,	 34,	 15,	 59,
    182  1.1       uch /*28*/	121,	 39,	 10,	 49,	  6,	 33,	  3,	 37,
    183  1.4  takemura /*30*/	200,	 27,	  9,	 36,	  5,	 32,	  7,	IGN,
    184  1.1       uch /*38*/	 12,	 26,	  8,	 35,	  4,	 43,	 31,	IGN,
    185  1.1       uch /*40*/	 58,	IGN,	IGN,	IGN,	 14,	184,	 66,	 61,
    186  1.1       uch /*48*/	IGN,	 56,	IGN,	IGN,	125,	112,	 65,	 62,
    187  1.1       uch /*50*/	IGN,	IGN,	 29,	IGN,	 68,	 73,	 64,	 60,
    188  1.1       uch /*58*/	IGN,	IGN,	IGN,	 42,	 14,	 67,	 63,	  1,
    189  1.1       uch };
    190  1.1       uch 
    191  1.1       uch static const keysym_t mcr_jp_cmdmap[] = {
    192  1.1       uch /*	pos      command		normal		shifted		*/
    193  1.1       uch 	KC(184), KS_Cmd,		KS_Alt_R,	KS_Multi_key,
    194  1.1       uch 	KC(73),  KS_Cmd_BrightnessUp,	KS_KP_Prior,	KS_KP_9,
    195  1.1       uch 	KC(81),  KS_Cmd_BrightnessDown,	KS_KP_Next,	KS_KP_3,
    196  1.1       uch 	KC(51),  KS_Cmd_ContrastDown,	KS_comma,	KS_less,
    197  1.1       uch 	KC(52),  KS_Cmd_ContrastUp,	KS_period,	KS_greater,
    198  1.1       uch 	KC(57),  KS_Cmd_BacklightToggle,KS_space,
    199  1.1       uch };
    200  1.1       uch 
    201  1.1       uch /* IBM WorkPad z50 */
    202  1.1       uch static u_int8_t z50_keytrans[] = {
    203  1.1       uch /*00	f1	f3	f5	f7	f9	-	-	f11	*/
    204  1.1       uch /*08	f2	f4	f6	f8	f10	-	-	f12	*/
    205  1.1       uch /*10	'	[	-	0	p	;	up	/	*/
    206  1.1       uch /*18	-	-	-	9	o	l	.	-	*/
    207  1.1       uch /*20	left	]	=	8	i	k	,	-	*/
    208  1.1       uch /*28	h	y	6	7	u	j	m	n	*/
    209  1.1       uch /*30	-	bs	num	del	-	\	ent	sp	*/
    210  1.1       uch /*38	g	t	5	4	r	f	v	b	*/
    211  1.1       uch /*40	-	-	-	3	e	d	c	right	*/
    212  1.1       uch /*48	-	-	-	2	w	s	x	down	*/
    213  1.1       uch /*50	esc	tab	~	1	q	a	z	-	*/
    214  1.1       uch /*58	menu	Ls	Lc	Rc	La	Ra	Rs	-	*/
    215  1.1       uch /*----------------------------------------------------------------------*/
    216  1.1       uch /*00*/	 59,	 61,	 63,	 65,	 67,	IGN,	IGN,	 87,
    217  1.1       uch /*08*/	 60,	 62,	 64,	 66,	 68,	IGN,	IGN,	 88,
    218  1.4  takemura /*10*/	 40,	 26,	 12,	 11,	 25,	 39,	200,	 53,
    219  1.1       uch /*18*/	IGN,	IGN,	IGN,	 10,	 24,	 38,	 52,	IGN,
    220  1.4  takemura /*20*/	203,	 27,	 13,	  9,	 23,	 37,	 51,	IGN,
    221  1.1       uch /*28*/	 35,	 21,	  7,	  8,	 22,	 36,	 50,	 49,
    222  1.1       uch /*30*/	IGN,	 14,	 69,	 14,	IGN,	 43,	 28,	 57,
    223  1.1       uch /*38*/	 34,	 20,	  6,	  5,	 19,	 33,	 47,	 48,
    224  1.4  takemura /*40*/	IGN,	IGN,	IGN,	  4,	 18,	 32,	 46,	205,
    225  1.4  takemura /*48*/	IGN,	IGN,	IGN,	  3,	 17,	 31,	 45,	208,
    226  1.1       uch /*50*/	  1,	 15,	 41,	  2,	 16,	 30,	 44,	IGN,
    227  1.1       uch /*58*/	221,	 42,	 29,	 29,	 56,	 56,	 54,	IGN,
    228  1.1       uch };
    229  1.1       uch 
    230  1.1       uch /* Sharp Tripad PV6000 and VADEM CLIO */
    231  1.1       uch static u_int8_t tripad_keytrans[] = {
    232  1.1       uch /*00	lsh	tab	`	q	esc	1	WIN	-	*/
    233  1.1       uch /*08	ctrl	z	x	a	s	w	e	2	*/
    234  1.1       uch /*10	lalt	sp	c	v	d	f	r	3	*/
    235  1.1       uch /*18	b	n	g	h	t	y	4	5	*/
    236  1.1       uch /*20	m	,	j	k	u	i	6	7	*/
    237  1.1       uch /*28	Fn	caps	l	o	p	8	9	0	*/
    238  1.1       uch /*30	[	]	la	.	/	;	-	=	*/
    239  1.1       uch /*38	rsh	ra	ua	da	'	ent	\	del	*/
    240  1.1       uch /*40	-	-	-	-	-	-	-	-	*/
    241  1.1       uch /*48	-	-	-	-	-	-	-	-	*/
    242  1.1       uch /*50	-	-	-	-	-	-	-	-	*/
    243  1.1       uch /*58	-	-	-	-	-	-	-	-	*/
    244  1.1       uch /*----------------------------------------------------------------------*/
    245  1.1       uch /*00*/	 42,	 15,	 41,	 16,	  1,	  2,	104,	221,
    246  1.1       uch /*08*/	 29,	 44,	 45,	 30,	 31,	 17,	 18,	  3,
    247  1.1       uch /*10*/	 56,	 57,	 46,	 47,	 32,	 33,	 19,	  4,
    248  1.1       uch /*18*/	 48,	 49,	 34,	 35,	 20,	 21,	  5,	  6,
    249  1.1       uch /*20*/	 50,	 51,	 36,	 37,	 22,	 23,	  7,	  8,
    250  1.1       uch /*28*/	105,	 58,	 38,	 24,	 25,	  9,	 10,	 11,
    251  1.4  takemura /*30*/	 26,	 27,	203,	 52,	 53,	 39,	 12,	 13,
    252  1.4  takemura /*38*/	 54,	205,	200,	208,	 40,	 28,	 43,	 14,
    253  1.1       uch /*40*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    254  1.1       uch /*48*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    255  1.1       uch /*50*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    256  1.1       uch /*58*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    257  1.1       uch };
    258  1.1       uch 
    259  1.1       uch /* NEC Mobile Gear MCCS series */
    260  1.1       uch static u_int8_t mccs_keytrans[] = {
    261  1.1       uch /*00	caps	cr	rar	p	.	y	b	z	*/
    262  1.1       uch /*08	alt	[	dar	o	,	t	v	a	*/
    263  1.1       uch /*10	zen	@	lar	i	m	r	c	w	*/
    264  1.1       uch /*18	lctrl	;	uar	u	n	e	x	q	*/
    265  1.1       uch /*20	lshft	bs	\	0	l	6	g	tab	*/
    266  1.1       uch /*28	nconv	|	/	9	k	5	f	2	*/
    267  1.1       uch /*30	conv	=	]	8	j	4	d	1	*/
    268  1.1       uch /*38	hira	-	'	7	h	3	s	esc	*/
    269  1.1       uch /*40	-	sp	-	-	-	-	-	-	*/
    270  1.1       uch /*48	-	-	-	-	-	-	-	-	*/
    271  1.1       uch /*50	-	-	-	-	-	-	-	-	*/
    272  1.1       uch /*58	-	-	-	-	-	-	-	-	*/
    273  1.1       uch /*----------------------------------------------------------------------*/
    274  1.4  takemura /*00*/	 58,	 28,	205,	 25,	 52,	 21,	 48,	 44,
    275  1.4  takemura /*08*/	 56,	 27,	208,	 24,	 51,	 20,	 47,	 30,
    276  1.4  takemura /*10*/	 41,	 26,	203,	 23,	 50,	 19,	 46,	 17,
    277  1.4  takemura /*18*/	 29,	 39,	200,	 22,	 49,	 18,	 45,	 16,
    278  1.1       uch /*20*/	 42,	 14,	115,	 11,	 38,	  7,	 34,	 15,
    279  1.1       uch /*28*/	123,	125,	 53,	 10,	 37,	  6,	 33,	  3,
    280  1.1       uch /*30*/	121,	 13,	 43,	  9,	 36,	  5,	 32,	  2,
    281  1.1       uch /*38*/	112,	 12,	 40,	  8,	 35,	  4,	 31,	  1,
    282  1.1       uch /*40*/	IGN,	 57,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    283  1.1       uch /*48*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    284  1.1       uch /*50*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    285  1.1       uch /*58*/	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,	IGN,
    286  1.1       uch };
    287  1.1       uch 
    288  1.1       uch static const keysym_t mccs_cmdmap[] = {
    289  1.1       uch /*	pos      command		normal		shifted		*/
    290  1.1       uch 	KC(51),  KS_Cmd_ContrastDown,	KS_comma,	KS_less,
    291  1.1       uch 	KC(52),  KS_Cmd_ContrastUp,	KS_period,	KS_greater,
    292  1.1       uch 	KC(57),  KS_Cmd_BacklightToggle,KS_space,
    293  1.1       uch };
    294  1.1       uch 
    295  1.1       uch static u_int8_t mobilepro_keytrans[] = {
    296  1.1       uch /*00	space	]	\	/	-	-	enter	l	*/
    297  1.1       uch /*08	-	[	'	;	-	-	.	o	*/
    298  1.1       uch /*10	-	-	-	Windows	v	c	x	z	*/
    299  1.1       uch /*18	-	=	\-	`	f	d	s	a	*/
    300  1.1       uch /*20	8	7	6	5	r	e	w	q	*/
    301  1.1       uch /*28	,	m	n	b	-	-	0	9	*/
    302  1.1       uch /*30	k	j	h	g	4	3	2	1	*/
    303  1.1       uch /*38	i	u	y	t	-	caps	del	esc	*/
    304  1.1       uch /*40	alt_R	-	-	-	BS	p	TAB	Fn	*/
    305  1.1       uch /*48	-	alt_L	-	-	f12	f11	f10	f9	*/
    306  1.1       uch /*50	-	-	ctrl	-	f8	f7	f6	f5	*/
    307  1.1       uch /*58	-	-	-	shift	f4	f3	f2	f1	*/
    308  1.1       uch /*----------------------------------------------------------------------*/
    309  1.4  takemura /*00*/	 57,	 27,	 43,	 53,	203,	208,	 28,	 38,
    310  1.4  takemura /*08*/	IGN,	 26,	 40,	 39,	205,	200,	 52,	 24,
    311  1.1       uch /*10*/	IGN,	IGN,	IGN,	221,	 47,	 46,	 45,	 44,
    312  1.1       uch /*18*/	IGN,	 13,	 12,	 41,	 33,	 32,	 31,	 30,
    313  1.1       uch /*20*/	  9,	  8,	  7,	  6,	 19,	 18,	 17,	 16,
    314  1.1       uch /*28*/	 51,	 50,	 49,	 48,	IGN,	IGN,	 11,	 10,
    315  1.1       uch /*30*/	 37,	 36,	 35,	 34,	  5,	  4,	  3,	  2,
    316  1.1       uch /*38*/	 23,	 22,	 21,	 20,	IGN,	 58,	 14,	  1,
    317  1.1       uch /*40*/	184,	IGN,	IGN,	IGN,	 14,	 25,	 15,	IGN,
    318  1.1       uch /*48*/	IGN,	 56,	IGN,	IGN,	 88,	 87,	 68,	 67,
    319  1.1       uch /*50*/	IGN,	IGN,	 29,	IGN,	 66,	 65,	 64,	 63,
    320  1.1       uch /*58*/	IGN,	IGN,	IGN,	 42,	 62,	 61,	 60,	 59,
    321  1.1       uch };
    322  1.1       uch 
    323  1.1       uch /* NEC MobilePro 750c by "Castor Fu" <castor (at) geocast.com> */
    324  1.1       uch static u_int8_t mobilepro750c_keytrans[] = {
    325  1.1       uch /*00	right	\	p	.	y	b	z	space	*/
    326  1.1       uch /*08	down	/	o	,	t	v	a	-	*/
    327  1.1       uch /*10	left	enter	i	m	r	c	w	Win	*/
    328  1.1       uch /*18	num	]	u	n	e	x	q	caps	*/
    329  1.1       uch /*20	pgdn	-	0	l	:	g	tab	esc	*/
    330  1.1       uch /*28	-	;	9	k	5	f	2	`	*/
    331  1.1       uch /*30	up	[	8	j	4	d	1	'	*/
    332  1.1       uch /*38	-	@	7	h	3	s	del	-	*/
    333  1.1       uch /*40	shift	-	-	-	bs	f12	f8	f4	*/
    334  1.1       uch /*48	-	alt	-	-	|	f11	f7	f3	*/
    335  1.1       uch /*50	-	-	ctrl	-	f10	f10	f6	f2	*/
    336  1.1       uch /*58	-	-	-	shift	del	f9	f5	f1	*/
    337  1.1       uch /*----------------------------------------------------------------------*/
    338  1.4  takemura /*00*/	205,	43,	25,	52,	21,	48,	44,	57,
    339  1.4  takemura /*08*/	208,	53,	24,	51,	20,	47,	30,	IGN,
    340  1.4  takemura /*10*/	203,	28,	23,	50,	19,	46,	17,	221,
    341  1.1       uch /*18*/	69,	27,	22,	49,	18,	45,	16,	58,
    342  1.1       uch /*20*/	81,	IGN,	11,	38,	7,	34,	15,	1,
    343  1.1       uch /*28*/	IGN,	39,	10,	37,	6,	33,	3,	41,
    344  1.4  takemura /*30*/	200,	26,	9,	36,	5,	32,	2,	40,
    345  1.1       uch /*38*/	12,	26,	8,	35,	4,	31,	83,	IGN,
    346  1.1       uch /*40*/	42,	IGN,	IGN,	IGN,	14,	88,	66,	62,
    347  1.1       uch /*48*/	IGN,	56,	IGN,	IGN,	125,	87,	65,	61,
    348  1.1       uch /*50*/	IGN,	IGN,	29,	IGN,	68,	68,	64,	60,
    349  1.1       uch /*58*/	IGN,	IGN,	IGN,	42,	13,	67,	63,	59,
    350  1.1       uch };
    351  1.1       uch 
    352  1.1       uch /* FUJITSU INTERTOP CX300 */
    353  1.1       uch static u_int8_t intertop_keytrans[] = {
    354  1.1       uch /*00	space   a2      1       tab     enter   caps    left    zenkaku	*/
    355  1.1       uch /*08	hiraga  a1      2       q       -       a       fnc     esc	*/
    356  1.1       uch /*10	ins     w       3       s       del     ]       down    x	*/
    357  1.1       uch /*18	z       e       4       d       a10     \       right   c	*/
    358  1.1       uch /*20	backsla r       ;       f       a9      @       ^       v	*/
    359  1.1       uch /*28	/       t       5       g       a8      p       -       b	*/
    360  1.1       uch /*30	.       y       6       h       a7      l       0       n	*/
    361  1.1       uch /*38	-       u       7       j       a5      o       bs      m	*/
    362  1.1       uch /*40	-       a3      8       a4      -       i       k       ,	*/
    363  1.1       uch /*48	num     :       9       [       a6      -       up      -	*/
    364  1.1       uch /*50	-       -       -       -       shift_L -       -       shift_R	*/
    365  1.1       uch /*58	ctrl    win     muhenka henkan  alt     -       -       -	*/
    366  1.1       uch /*----------------------------------------------------------------------*/
    367  1.4  takemura /*00*/	57,	60,	2,	15,	28,	58,	205,	41,
    368  1.1       uch /*08*/	112,	59,	3,	16,	IGN,	30,	56,	1,
    369  1.4  takemura /*10*/	210,	17,	4,	31,	83,	43,	208,	45,
    370  1.4  takemura /*18*/	44,	18,	5,	32,	68,	125,	203,	46,
    371  1.1       uch /*20*/	115,	19,	39,	33,	67,	26,	13,	47,
    372  1.1       uch /*28*/	53,	20,	6,	34,	66,	25,	12,	48,
    373  1.1       uch /*30*/	52,	21,	7,	35,	65,	38,	11,	49,
    374  1.1       uch /*38*/	IGN,	22,	8,	36,	63,	24,	14,	50,
    375  1.1       uch /*40*/	IGN,	61,	9,	62,	IGN,	23,	37,	51,
    376  1.4  takemura /*48*/	69,	40,	10,	27,	64,	IGN,	200,	IGN,
    377  1.1       uch /*50*/	IGN,	IGN,	IGN,	IGN,	42,	IGN,	IGN,	54,
    378  1.1       uch /*58*/	29,	221,	123,	121,	184,	IGN,	IGN,	IGN,
    379  1.1       uch };
    380  1.1       uch 
    381  1.1       uch /* DoCoMo sigmarion (Japan) */
    382  1.1       uch static u_int8_t sigmarion_jp_keytrans[] = {
    383  1.1       uch /*00	right	ent	p	.	y	b	z	space	*/
    384  1.1       uch /*08	down	/	o	,	t	v	a	nfer	*/
    385  1.1       uch /*10	left	\	i	m	r	c	w	menu	*/
    386  1.1       uch /*18	|	-	u	-	e	x	q	1	*/
    387  1.1       uch /*20	pgdn	h/z	0	l	:	g	tab	f1	*/
    388  1.1       uch /*28	xfer	;	9	n	5	f	2	k	*/
    389  1.1       uch /*30	up	[	8	j	4	d	6	-	*/
    390  1.1       uch /*38	-	@	7	h	3	]	s	-	*/
    391  1.1       uch /*40	caps	-	-	-	bs	fnc	f8	f3	*/
    392  1.1       uch /*48	-	alt	-	-	^	k/h	f7	f4	*/
    393  1.1       uch /*50	-	-	ctrl	-	f10	pgup	f6	f2	*/
    394  1.1       uch /*58	-	-	-	shift	del	f9	f5	esc	*/
    395  1.1       uch /*----------------------------------------------------------------------*/
    396  1.4  takemura /*00*/	205,	 28,	 25,	 52,	 21,	 48,	 44,	 57,
    397  1.4  takemura /*08*/	208,	 53,	 24,	 51,	 20,	 47,	 30,	123,
    398  1.4  takemura /*10*/	203,	115,	 23,	 50,	 19,	 46,	 17,	221,
    399  1.1       uch /*18*/	125,	IGN,	 22,	IGN,	 18,	 45,	 16,	  2,
    400  1.1       uch /*20*/	 81,	 41,	 11,	 38,	 40,	 34,	 15,	IGN,
    401  1.1       uch /*28*/	121,	 39,	 10,	 49,	  6,	 33,	  3,	 37,
    402  1.4  takemura /*30*/	200,	 27,	  9,	 36,	  5,	 32,	  7,	IGN,
    403  1.1       uch /*38*/	 12,	 26,	  8,	 35,	  4,	 43,	 31,	IGN,
    404  1.1       uch /*40*/	 58,	IGN,	IGN,	IGN,	 14,	184,	 66,	IGN,
    405  1.1       uch /*48*/	IGN,	 56,	IGN,	IGN,	 13,	112,	 65,	IGN,
    406  1.1       uch /*50*/	IGN,	IGN,	 29,	IGN,	 68,	 73,	 64,	IGN,
    407  1.1       uch /*58*/	IGN,	IGN,	IGN,	 42,	 14,	 67,	IGN,	  1,
    408  1.1       uch };
    409  1.1       uch 
    410  1.1       uch static const keysym_t sigmarion_cmdmap[] = {
    411  1.1       uch /*	pos      command		normal		shifted		*/
    412  1.1       uch 	KC(184), KS_Cmd,		KS_Alt_R,	KS_Multi_key,
    413  1.1       uch 	KC(64),  KS_Cmd_Screen1,	KS_f6,		KS_f1,
    414  1.1       uch 	KC(65),  KS_Cmd_Screen2,	KS_f7,		KS_f2,
    415  1.1       uch 	KC(66),  KS_Cmd_Screen3,	KS_f8,		KS_f3,
    416  1.1       uch 	KC(67),  KS_Cmd_Screen4,	KS_f9,		KS_f4,
    417  1.1       uch 	KC(68),  KS_Cmd_Screen5,	KS_f10,		KS_f5,
    418  1.1       uch 	KC(27),  KS_Cmd_BrightnessUp,	KS_bracketleft,	KS_braceleft,
    419  1.1       uch 	KC(43),  KS_Cmd_BrightnessDown,	KS_bracketright,KS_braceright,
    420  1.1       uch 	KC(51),  KS_Cmd_ContrastDown,	KS_comma,	KS_less,
    421  1.1       uch 	KC(52),  KS_Cmd_ContrastUp,	KS_period,	KS_greater,
    422  1.1       uch 	KC(57),  KS_Cmd_BacklightToggle,KS_space,
    423  1.1       uch };
    424  1.5  takemura 
    425  1.5  takemura /* NTT DoCoMo Pocket PostPet (Japan) */
    426  1.5  takemura static u_int8_t pocketpostpet_keytrans[] = {
    427  1.5  takemura /*00	esc	1	q	a	ctrl	-	down	left	*/
    428  1.5  takemura /*08	tab	2	w	s	z	-	right	up	*/
    429  1.5  takemura /*10	pgup	3	e	d	x	shift	-	-	*/
    430  1.5  takemura /*18	pgdn	4	r	f	c	alt	-	-	*/
    431  1.5  takemura /*20	f5	5	t	g	v	nfer	-	-	*/
    432  1.5  takemura /*28	f6	6	y	h	b	-	-	-	*/
    433  1.5  takemura /*30	f7	7	u	j	n	space	-	-	*/
    434  1.5  takemura /*38	f8	8	i	k	m	-	-	-	*/
    435  1.5  takemura /*40	f9	9	o	l	,	xfer	-	-	*/
    436  1.5  takemura /*48	f10	0	p	;	.	-	-	-	*/
    437  1.5  takemura /*50	\|	minus	@	:	/	ent	-	-	*/
    438  1.5  takemura /*58	bs	^	[	]	\_	del	-	-	*/
    439  1.5  takemura /* MailCheck  -> tab	*/
    440  1.5  takemura /* Prev       -> pgup	*/
    441  1.5  takemura /* Next       -> pgdn	*/
    442  1.5  takemura /* tab        -> ctrl	*/
    443  1.5  takemura /* h/z        -> menu	*/
    444  1.5  takemura /* k/h        -> alt	*/
    445  1.5  takemura /* knj        -> nfer	*/
    446  1.5  takemura /* eng        -> xfer	*/
    447  1.5  takemura /*----------------------------------------------------------------------*/
    448  1.5  takemura /*00*/	1,	2,	16,	30,	29,	UNK,	208,	203,
    449  1.5  takemura /*08*/	15,	3,	17,	31,	44,	UNK,	205,	200,
    450  1.5  takemura /*10*/	73,	4,	18,	32,	45,	42,	UNK,	UNK,
    451  1.5  takemura /*08*/	81,	5,	19,	33,	46,	56,	UNK,	UNK,
    452  1.5  takemura /*20*/	63,	6,	20,	34,	47,	123,	UNK,	UNK,
    453  1.5  takemura /*28*/	64,	7,	21,	35,	48,	UNK,	UNK,	UNK,
    454  1.5  takemura /*30*/	65,	8,	22,	36,	49,	57,	UNK,	UNK,
    455  1.5  takemura /*38*/	66,	9,	23,	37,	50,	UNK,	UNK,	UNK,
    456  1.5  takemura /*40*/	67,	10,	24,	38,	51,	121,	UNK,	UNK,
    457  1.5  takemura /*48*/	68,	11,	25,	39,	52,	UNK,	UNK,	UNK,
    458  1.5  takemura /*50*/	125,	12,	26,	40,	53,	28,	UNK,	UNK,
    459  1.5  takemura /*58*/	14,	13,	27,	43,	115,	14,	UNK,	UNK,
    460  1.5  takemura };
    461  1.1       uch #endif /* hpcmips */
    462  1.1       uch 
    463  1.2       uch #ifdef hpcsh
    464  1.6       uch /* HP Jornada 680/690 */
    465  1.6       uch /* Japanese */
    466  1.3       uch const u_int8_t jornada6x0_jp_keytrans[] = {
    467  1.2       uch /*      0    1    2    3    4    5    6    7 */
    468  1.2       uch /* 0 */ 59 , 45 , 31 , 17 , 3  , UNK, 29 , UNK, /* ctrl 29 */
    469  1.2       uch /* 1 */ 60 , 46 , 32 , 18 , 4  , 42 , UNK, UNK, /* shift L 42 */
    470  1.2       uch /* 2 */ 61 , 47 , 33 , 19 , 5  , UNK, 57 , UNK,
    471  1.2       uch /* 3 */ 66 , 52 , 38 , 24 , 10 , UNK, 14 , 203,
    472  1.2       uch /* 4 */ 65 , 51 , 37 , 23 , 9  , UNK, 115, UNK,
    473  1.2       uch /* 5 */ 64 , 50 , 36 , 22 , 8  , UNK, 121, UNK,
    474  1.2       uch /* 6 */ 62 , 48 , 34 , 20 , 6  , UNK, UNK, 56 , /* alt 56 */
    475  1.2       uch /* 7 */ 63 , 49 , 35 , 21 , 7  , UNK, UNK, 123,
    476  1.2       uch /* 8 */ IGN, 53 , 39 , 25 , 11 , 200, UNK, 208,
    477  1.2       uch /* 9 */ 112, 40 , 27 , 26 , 12 , 125, UNK, 205,
    478  1.2       uch /*10 */ 41 , 28 , 43 , 14 , 13 , 54 , UNK, UNK, /* shift R 54 */
    479  1.2       uch /*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
    480  1.2       uch /*12 */ 1  , 44 , 30 , 16 , 2  , 15 , 221, UNK,
    481  1.2       uch /*13 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
    482  1.2       uch /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
    483  1.2       uch /*15 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
    484  1.2       uch };
    485  1.2       uch 
    486  1.6       uch /* Hungarian */
    487  1.6       uch const u_int8_t jornada6x0_hu_keytrans[] = {
    488  1.6       uch /*      0    1    2    3    4    5    6    7 */
    489  1.6       uch /* 0 */ 59 ,  45,  31,  17,   3, UNK,  29, UNK,
    490  1.6       uch /* 1 */ 60 ,  46,  32,  18,   4,  42, UNK, UNK,
    491  1.6       uch /* 2 */ 61 ,  47,  33,  19,   5, UNK,  57, UNK,
    492  1.6       uch /* 3 */ 66 ,  52,  38,  24,  10, UNK,  14, 203,
    493  1.6       uch /* 4 */ 65 ,  51,  37,  23,   9, UNK, 184, UNK,
    494  1.6       uch /* 5 */ 64 ,  50,  36,  22,   8, UNK, UNK, UNK,
    495  1.6       uch /* 6 */ 62 ,  48,  34,  20,   6, UNK, UNK,  56,
    496  1.6       uch /* 7 */ 63 ,  49,  35,  21,   7, UNK, UNK,  41,
    497  1.6       uch /* 8 */ 67 ,  53,  39,  25,  11, 200, UNK, 208,
    498  1.6       uch /* 9 */ 68 ,  40,  27,  26,  12, UNK, UNK, 205,
    499  1.6       uch /*10 */ 87 ,  28,  43,  14,  13,  54, UNK, UNK,
    500  1.6       uch /*11 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
    501  1.6       uch /*12 */   1,  44,  30,  16,   2,  15, UNK, UNK,
    502  1.6       uch /*13 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
    503  1.6       uch /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
    504  1.6       uch /*15 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK
    505  1.6       uch };
    506  1.6       uch 
    507  1.6       uch const int jornada6x0_special_keymap[] = {
    508  1.2       uch 	[KEY_SPECIAL_OFF]	= 88,
    509  1.2       uch 	[KEY_SPECIAL_LIGHT]	= -1
    510  1.2       uch };
    511  1.2       uch 
    512  1.2       uch #endif /* hpcsh */
    513  1.2       uch 
    514  1.1       uch const struct hpckbd_keymap_table {
    515  1.1       uch 	platid_t	*ht_platform;
    516  1.1       uch 	const u_int8_t	*ht_keymap;
    517  1.1       uch 	const int	*ht_special;
    518  1.1       uch 	struct {
    519  1.1       uch 		const keysym_t	*map;
    520  1.1       uch 		int size;
    521  1.1       uch 	} ht_cmdmap;
    522  1.1       uch 	kbd_t		ht_layout;
    523  1.1       uch } hpckbd_keymap_table[] = {
    524  1.1       uch #ifdef hpcmips
    525  1.1       uch 	{	&platid_mask_MACH_COMPAQ_C,
    526  1.1       uch 		tc5165_compaq_c_jp_keymap,
    527  1.1       uch 		tc5165_compaq_c_jp_special_keymap,
    528  1.1       uch 		NULLCMDMAP,
    529  1.1       uch 		KB_JP },
    530  1.1       uch 	{	&platid_mask_MACH_VICTOR_INTERLINK,
    531  1.1       uch 		m38813c_keymap,
    532  1.1       uch 		default_special_keymap,
    533  1.1       uch 		NULLCMDMAP,
    534  1.1       uch 		KB_JP },
    535  1.1       uch 	{	&platid_mask_MACH_SHARP_TELIOS,
    536  1.1       uch 		tc5165_telios_jp_keymap,
    537  1.1       uch 		default_special_keymap,
    538  1.1       uch 		NULLCMDMAP,
    539  1.1       uch 		KB_JP },
    540  1.1       uch 	{	&platid_mask_MACH_SHARP_MOBILON,
    541  1.1       uch 		tc5165_mobilon_keymap,
    542  1.1       uch 		tc5165_mobilon_special_keymap,
    543  1.1       uch 		NULLCMDMAP,
    544  1.1       uch 		KB_US },
    545  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_500A,
    546  1.1       uch 		mobilepro750c_keytrans,
    547  1.1       uch 		NULL,
    548  1.1       uch 		NULLCMDMAP,
    549  1.1       uch 		KB_US },
    550  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_520A,
    551  1.1       uch 		mobilepro_keytrans,
    552  1.1       uch 		NULL,
    553  1.1       uch 		NULLCMDMAP,
    554  1.1       uch 		KB_US },
    555  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_530A,
    556  1.1       uch 		mobilepro_keytrans,
    557  1.1       uch 		NULL,
    558  1.1       uch 		NULLCMDMAP,
    559  1.1       uch 		KB_US },
    560  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_700A,
    561  1.1       uch 		mobilepro_keytrans,
    562  1.1       uch 		NULL,
    563  1.1       uch 		NULLCMDMAP,
    564  1.1       uch 		KB_US },
    565  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_730A,
    566  1.1       uch 		mobilepro_keytrans,
    567  1.1       uch 		NULL,
    568  1.1       uch 		NULLCMDMAP,
    569  1.1       uch 		KB_US },
    570  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_MPRO700,
    571  1.1       uch 		mobilepro_keytrans,
    572  1.1       uch 		NULL,
    573  1.1       uch 		NULLCMDMAP,
    574  1.1       uch 		KB_US },
    575  1.1       uch 	{	&platid_mask_MACH_NEC_MCR_SIGMARION,
    576  1.1       uch 		sigmarion_jp_keytrans,
    577  1.1       uch 		NULL,
    578  1.1       uch 		CMDMAP(sigmarion_cmdmap),
    579  1.1       uch 		KB_JP },
    580  1.1       uch 	{	&platid_mask_MACH_NEC_MCR,
    581  1.1       uch 		mcr_jp_keytrans,
    582  1.1       uch 		NULL,
    583  1.1       uch 		CMDMAP(mcr_jp_cmdmap),
    584  1.1       uch 		KB_JP },
    585  1.1       uch 	{	&platid_mask_MACH_IBM_WORKPAD_Z50,
    586  1.1       uch 		z50_keytrans,
    587  1.1       uch 		NULL,
    588  1.1       uch 		NULLCMDMAP,
    589  1.1       uch 		KB_US },
    590  1.1       uch 	{	&platid_mask_MACH_SHARP_TRIPAD,
    591  1.1       uch 		tripad_keytrans,
    592  1.1       uch 		NULL,
    593  1.1       uch 		NULLCMDMAP,
    594  1.1       uch 		KB_US },
    595  1.1       uch 	{	&platid_mask_MACH_VADEM_CLIO_C,
    596  1.1       uch 		tripad_keytrans,
    597  1.1       uch 		NULL,
    598  1.1       uch 		NULLCMDMAP,
    599  1.1       uch 		KB_US },
    600  1.1       uch 	{	&platid_mask_MACH_NEC_MCCS,
    601  1.1       uch 		mccs_keytrans,
    602  1.1       uch 		NULL,
    603  1.1       uch 		CMDMAP(mccs_cmdmap),
    604  1.1       uch 		KB_JP },
    605  1.1       uch 	{	&platid_mask_MACH_FUJITSU_INTERTOP,
    606  1.1       uch 		intertop_keytrans,
    607  1.5  takemura 		NULL,
    608  1.5  takemura 		NULLCMDMAP,
    609  1.5  takemura 		KB_JP },
    610  1.5  takemura 	{	&platid_mask_MACH_CASIO_POCKETPOSTPET,
    611  1.5  takemura 		pocketpostpet_keytrans,
    612  1.1       uch 		NULL,
    613  1.1       uch 		NULLCMDMAP,
    614  1.1       uch 		KB_JP },
    615  1.1       uch #endif /* hpcmips */
    616  1.2       uch #ifdef hpcsh
    617  1.6       uch 	/* Japanese */
    618  1.6       uch 	{	&platid_mask_MACH_HP_JORNADA_680JP,
    619  1.3       uch 		jornada6x0_jp_keytrans,
    620  1.6       uch 		jornada6x0_special_keymap,
    621  1.3       uch 		NULLCMDMAP,
    622  1.3       uch 		KB_JP },
    623  1.6       uch 	{	&platid_mask_MACH_HP_JORNADA_690JP,
    624  1.3       uch 		jornada6x0_jp_keytrans,
    625  1.6       uch 		jornada6x0_special_keymap,
    626  1.2       uch 		NULLCMDMAP,
    627  1.2       uch 		KB_JP },
    628  1.6       uch 	/* Hungarian */
    629  1.6       uch 	{	&platid_mask_MACH_HP_JORNADA_680HU,
    630  1.6       uch 		jornada6x0_hu_keytrans,
    631  1.6       uch 		jornada6x0_special_keymap,
    632  1.6       uch 		NULLCMDMAP,
    633  1.6       uch 		KB_US }, /* XXX should be KB_HU */
    634  1.6       uch 	{	&platid_mask_MACH_HP_JORNADA_690HU,
    635  1.6       uch 		jornada6x0_hu_keytrans,
    636  1.6       uch 		jornada6x0_special_keymap,
    637  1.6       uch 		NULLCMDMAP,
    638  1.6       uch 		KB_US }, /* XXX should be KB_HU */
    639  1.6       uch 	/* German */
    640  1.6       uch 	{	&platid_mask_MACH_HP_JORNADA_680DE,
    641  1.6       uch 		jornada6x0_hu_keytrans, /* XXX may be */
    642  1.6       uch 		jornada6x0_special_keymap,
    643  1.6       uch 		NULLCMDMAP,
    644  1.6       uch 		KB_DE },
    645  1.6       uch 	{	&platid_mask_MACH_HP_JORNADA_690DE,
    646  1.6       uch 		jornada6x0_hu_keytrans, /* XXX may be */
    647  1.6       uch 		jornada6x0_special_keymap,
    648  1.6       uch 		NULLCMDMAP,
    649  1.6       uch 		KB_DE },
    650  1.2       uch #endif /* hpcsh */
    651  1.1       uch 	{ NULL } /* end mark */
    652  1.1       uch };
    653