hpckbdkeymap.h revision 1.37 1 1.37 kiyohara /* $NetBSD: hpckbdkeymap.h,v 1.37 2005/09/05 18:54:10 kiyohara Exp $ */
2 1.1 uch
3 1.1 uch /*-
4 1.13 uch * Copyright (c) 1999-2002 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.32 uwe const uint8_t default_keymap[] = {
47 1.33 uwe /* 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.32 uwe const uint8_t tc5165_mobilon_keymap[] = {
73 1.33 uwe /* 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.32 uwe const uint8_t tc5165_telios_jp_keymap[] = {
98 1.33 uwe /* 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.36 nakayama /* 6 */ IGN, IGN, IGN, IGN, IGN, IGN, 221, 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.36 nakayama /*11 */ 39, 26, 25, 112, 12, 52, 53, 67,
111 1.36 nakayama /*12 */ 37, 24, 11, 121, 10, 38, 51, 66,
112 1.1 uch /*13 */ 23, 22, 9, IGN, IGN, 36, 50, 65,
113 1.36 nakayama /*14 */ 28, 43, 14, 200, 205, IGN, IGN, 211,
114 1.36 nakayama /*15 */ IGN, IGN, IGN, IGN, IGN, IGN, 184, IGN
115 1.36 nakayama };
116 1.36 nakayama
117 1.36 nakayama static const keysym_t tc5165_telios_jp_cmdmap[] = {
118 1.36 nakayama /* pos command normal shifted */
119 1.36 nakayama KC(184), KS_Cmd, KS_Alt_R, KS_Multi_key,
120 1.36 nakayama KC(205), KS_Cmd_BrightnessUp, KS_Right,
121 1.36 nakayama KC(203), KS_Cmd_BrightnessDown, KS_Left,
122 1.36 nakayama KC(57), KS_Cmd_BacklightToggle,KS_space,
123 1.1 uch };
124 1.1 uch
125 1.32 uwe const uint8_t tc5165_compaq_c_jp_keymap[] = {
126 1.33 uwe /* 0 1 2 3 4 5 6 7 */
127 1.33 uwe /* 0 */ 38, 50, 49, 48, 47, 46, 45, 44,
128 1.1 uch /* 1 */ 56, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
129 1.33 uwe /* 2 */ 13, IGN, 112, 121, 123, 41, 28, 57,
130 1.4 takemura /* 3 */ 205, 203, 208, 200, 39, 53, 52, 51,
131 1.1 uch /* 4 */ 24, 25, 40, IGN, 43, 26, 115, 58,
132 1.1 uch /* 5 */ 54, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
133 1.1 uch /* 6 */ IGN, IGN, IGN, SPL, IGN, IGN, IGN, IGN, /* Light */
134 1.1 uch /* 7 */ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
135 1.1 uch /* 8 */ 42, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
136 1.1 uch /* 9 */ 29, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
137 1.1 uch /*10 */ 221, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
138 1.1 uch /*11 */ 221, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
139 1.1 uch /*12 */ 14, 27, 12, 11, 10, 15, 1, 125,
140 1.1 uch /*13 */ 9, 8, 7, 6, 5, 4, 3, 2,
141 1.1 uch /*14 */ 23, 22, 21, 20, 19, 18, 17, 16,
142 1.1 uch /*15 */ 37, 36, 35, 34, 33, 32, 31, 30
143 1.1 uch };
144 1.1 uch
145 1.1 uch const int tc5165_compaq_c_jp_special_keymap[] = {
146 1.1 uch [KEY_SPECIAL_OFF] = -1, /* don't have off button */
147 1.1 uch [KEY_SPECIAL_LIGHT] = 51
148 1.1 uch };
149 1.1 uch
150 1.32 uwe const uint8_t m38813c_keymap[] = {
151 1.33 uwe /* 0 1 2 3 4 5 6 7 */
152 1.1 uch /* 0 */ 0, 1, 2, 3, 4, 5, 6, 7,
153 1.1 uch /* 1 */ 8, 9, 10, 11, 12, 13, 14, 15,
154 1.1 uch /* 2 */ 16, 17, 18, 19, 20, 21, 22, 23,
155 1.1 uch /* 3 */ 24, 25, 26, 27, 28, 29, 30, 31,
156 1.1 uch /* 4 */ 32, 33, 34, 35, 36, 37, 38, 39,
157 1.1 uch /* 5 */ 40, 41, 42, 43, 44, 45, 46, 47,
158 1.1 uch /* 6 */ 48, 49, 50, 51, 52, 53, 54, 55,
159 1.1 uch /* 7 */ 56, 57, 58, 59, 60, 61, 62, 63,
160 1.1 uch /* 8 */ 64, 65, 66, 67, 68, 69, 70, 71,
161 1.4 takemura /* 9 */ 200, 73, 74, 203, 76, 205, 78, 79,
162 1.4 takemura /*10 */ 208, 81, 82, 83, 84, 85, 86, 87,
163 1.1 uch /*11 */ 88, 89, 90, 91, 92, 93, 94, 95,
164 1.1 uch /*12 */ 96, 97, 98, 99, 100, 101, 102, 103,
165 1.1 uch /*13 */ 104, 105, 106, 107, 108, 109, 110, 111,
166 1.1 uch /*14 */ 112, 113, 114, 115, 116, 117, 118, 119,
167 1.1 uch /*15 */ 120, 121, 122, 123, 124, 125, 126, 127
168 1.1 uch };
169 1.1 uch
170 1.1 uch /* NEC MobileGearII MCR series (Japan) */
171 1.32 uwe static uint8_t mcr_jp_keytrans[] = {
172 1.1 uch /*00 right ent p . y b z space */
173 1.1 uch /*08 down / o , t v a nfer */
174 1.1 uch /*10 left \ i m r c w menu */
175 1.1 uch /*18 ^ - u - e x q 1 */
176 1.1 uch /*20 pgdn h/z 0 l : g tab f1 */
177 1.1 uch /*28 xfer ; 9 n 5 f 2 k */
178 1.1 uch /*30 up [ 8 j 4 d 6 - */
179 1.1 uch /*38 - @ 7 h 3 ] s - */
180 1.1 uch /*40 caps - - - bs fnc f8 f3 */
181 1.1 uch /*48 - alt - - | k/h f7 f4 */
182 1.1 uch /*50 - - ctrl - f10 pgup f6 f2 */
183 1.1 uch /*58 - - - shift del f9 f5 esc */
184 1.1 uch /*----------------------------------------------------------------------*/
185 1.4 takemura /*00*/ 205, 28, 25, 52, 21, 48, 44, 57,
186 1.4 takemura /*08*/ 208, 53, 24, 51, 20, 47, 30, 123,
187 1.4 takemura /*10*/ 203, 115, 23, 50, 19, 46, 17, 221,
188 1.1 uch /*18*/ 13, IGN, 22, IGN, 18, 45, 16, 2,
189 1.1 uch /*20*/ 81, 41, 11, 38, 40, 34, 15, 59,
190 1.1 uch /*28*/ 121, 39, 10, 49, 6, 33, 3, 37,
191 1.4 takemura /*30*/ 200, 27, 9, 36, 5, 32, 7, IGN,
192 1.1 uch /*38*/ 12, 26, 8, 35, 4, 43, 31, IGN,
193 1.1 uch /*40*/ 58, IGN, IGN, IGN, 14, 184, 66, 61,
194 1.1 uch /*48*/ IGN, 56, IGN, IGN, 125, 112, 65, 62,
195 1.1 uch /*50*/ IGN, IGN, 29, IGN, 68, 73, 64, 60,
196 1.1 uch /*58*/ IGN, IGN, IGN, 42, 14, 67, 63, 1,
197 1.1 uch };
198 1.1 uch
199 1.1 uch static const keysym_t mcr_jp_cmdmap[] = {
200 1.1 uch /* pos command normal shifted */
201 1.1 uch KC(184), KS_Cmd, KS_Alt_R, KS_Multi_key,
202 1.1 uch KC(73), KS_Cmd_BrightnessUp, KS_KP_Prior, KS_KP_9,
203 1.1 uch KC(81), KS_Cmd_BrightnessDown, KS_KP_Next, KS_KP_3,
204 1.1 uch KC(51), KS_Cmd_ContrastDown, KS_comma, KS_less,
205 1.1 uch KC(52), KS_Cmd_ContrastUp, KS_period, KS_greater,
206 1.1 uch KC(57), KS_Cmd_BacklightToggle,KS_space,
207 1.1 uch };
208 1.1 uch
209 1.1 uch /* IBM WorkPad z50 */
210 1.32 uwe static uint8_t z50_keytrans[] = {
211 1.1 uch /*00 f1 f3 f5 f7 f9 - - f11 */
212 1.1 uch /*08 f2 f4 f6 f8 f10 - - f12 */
213 1.1 uch /*10 ' [ - 0 p ; up / */
214 1.1 uch /*18 - - - 9 o l . - */
215 1.1 uch /*20 left ] = 8 i k , - */
216 1.1 uch /*28 h y 6 7 u j m n */
217 1.1 uch /*30 - bs num del - \ ent sp */
218 1.1 uch /*38 g t 5 4 r f v b */
219 1.1 uch /*40 - - - 3 e d c right */
220 1.1 uch /*48 - - - 2 w s x down */
221 1.1 uch /*50 esc tab ~ 1 q a z - */
222 1.1 uch /*58 menu Ls Lc Rc La Ra Rs - */
223 1.1 uch /*----------------------------------------------------------------------*/
224 1.1 uch /*00*/ 59, 61, 63, 65, 67, IGN, IGN, 87,
225 1.1 uch /*08*/ 60, 62, 64, 66, 68, IGN, IGN, 88,
226 1.4 takemura /*10*/ 40, 26, 12, 11, 25, 39, 200, 53,
227 1.1 uch /*18*/ IGN, IGN, IGN, 10, 24, 38, 52, IGN,
228 1.4 takemura /*20*/ 203, 27, 13, 9, 23, 37, 51, IGN,
229 1.1 uch /*28*/ 35, 21, 7, 8, 22, 36, 50, 49,
230 1.1 uch /*30*/ IGN, 14, 69, 14, IGN, 43, 28, 57,
231 1.1 uch /*38*/ 34, 20, 6, 5, 19, 33, 47, 48,
232 1.4 takemura /*40*/ IGN, IGN, IGN, 4, 18, 32, 46, 205,
233 1.4 takemura /*48*/ IGN, IGN, IGN, 3, 17, 31, 45, 208,
234 1.1 uch /*50*/ 1, 15, 41, 2, 16, 30, 44, IGN,
235 1.1 uch /*58*/ 221, 42, 29, 29, 56, 56, 54, IGN,
236 1.1 uch };
237 1.1 uch
238 1.1 uch /* Sharp Tripad PV6000 and VADEM CLIO */
239 1.32 uwe static uint8_t tripad_keytrans[] = {
240 1.1 uch /*00 lsh tab ` q esc 1 WIN - */
241 1.1 uch /*08 ctrl z x a s w e 2 */
242 1.1 uch /*10 lalt sp c v d f r 3 */
243 1.1 uch /*18 b n g h t y 4 5 */
244 1.1 uch /*20 m , j k u i 6 7 */
245 1.1 uch /*28 Fn caps l o p 8 9 0 */
246 1.1 uch /*30 [ ] la . / ; - = */
247 1.1 uch /*38 rsh ra ua da ' ent \ del */
248 1.1 uch /*40 - - - - - - - - */
249 1.1 uch /*48 - - - - - - - - */
250 1.1 uch /*50 - - - - - - - - */
251 1.1 uch /*58 - - - - - - - - */
252 1.1 uch /*----------------------------------------------------------------------*/
253 1.1 uch /*00*/ 42, 15, 41, 16, 1, 2, 104, 221,
254 1.1 uch /*08*/ 29, 44, 45, 30, 31, 17, 18, 3,
255 1.1 uch /*10*/ 56, 57, 46, 47, 32, 33, 19, 4,
256 1.1 uch /*18*/ 48, 49, 34, 35, 20, 21, 5, 6,
257 1.1 uch /*20*/ 50, 51, 36, 37, 22, 23, 7, 8,
258 1.1 uch /*28*/ 105, 58, 38, 24, 25, 9, 10, 11,
259 1.4 takemura /*30*/ 26, 27, 203, 52, 53, 39, 12, 13,
260 1.4 takemura /*38*/ 54, 205, 200, 208, 40, 28, 43, 14,
261 1.1 uch /*40*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
262 1.1 uch /*48*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
263 1.1 uch /*50*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
264 1.1 uch /*58*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
265 1.1 uch };
266 1.1 uch
267 1.1 uch /* NEC Mobile Gear MCCS series */
268 1.32 uwe static uint8_t mccs_keytrans[] = {
269 1.1 uch /*00 caps cr rar p . y b z */
270 1.1 uch /*08 alt [ dar o , t v a */
271 1.1 uch /*10 zen @ lar i m r c w */
272 1.1 uch /*18 lctrl ; uar u n e x q */
273 1.1 uch /*20 lshft bs \ 0 l 6 g tab */
274 1.1 uch /*28 nconv | / 9 k 5 f 2 */
275 1.1 uch /*30 conv = ] 8 j 4 d 1 */
276 1.1 uch /*38 hira - ' 7 h 3 s esc */
277 1.1 uch /*40 - sp - - - - - - */
278 1.1 uch /*48 - - - - - - - - */
279 1.1 uch /*50 - - - - - - - - */
280 1.1 uch /*58 - - - - - - - - */
281 1.1 uch /*----------------------------------------------------------------------*/
282 1.4 takemura /*00*/ 58, 28, 205, 25, 52, 21, 48, 44,
283 1.4 takemura /*08*/ 56, 27, 208, 24, 51, 20, 47, 30,
284 1.4 takemura /*10*/ 41, 26, 203, 23, 50, 19, 46, 17,
285 1.4 takemura /*18*/ 29, 39, 200, 22, 49, 18, 45, 16,
286 1.1 uch /*20*/ 42, 14, 115, 11, 38, 7, 34, 15,
287 1.1 uch /*28*/ 123, 125, 53, 10, 37, 6, 33, 3,
288 1.1 uch /*30*/ 121, 13, 43, 9, 36, 5, 32, 2,
289 1.1 uch /*38*/ 112, 12, 40, 8, 35, 4, 31, 1,
290 1.1 uch /*40*/ IGN, 57, IGN, IGN, IGN, IGN, IGN, IGN,
291 1.1 uch /*48*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
292 1.1 uch /*50*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
293 1.1 uch /*58*/ IGN, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
294 1.1 uch };
295 1.1 uch
296 1.1 uch static const keysym_t mccs_cmdmap[] = {
297 1.1 uch /* pos command normal shifted */
298 1.1 uch KC(51), KS_Cmd_ContrastDown, KS_comma, KS_less,
299 1.1 uch KC(52), KS_Cmd_ContrastUp, KS_period, KS_greater,
300 1.1 uch KC(57), KS_Cmd_BacklightToggle,KS_space,
301 1.1 uch };
302 1.1 uch
303 1.32 uwe static uint8_t mobilepro_keytrans[] = {
304 1.10 takemura /*00 space ] \ / left down enter l */
305 1.10 takemura /*08 - [ ' ; right up . o */
306 1.1 uch /*10 - - - Windows v c x z */
307 1.1 uch /*18 - = \- ` f d s a */
308 1.1 uch /*20 8 7 6 5 r e w q */
309 1.1 uch /*28 , m n b - - 0 9 */
310 1.1 uch /*30 k j h g 4 3 2 1 */
311 1.1 uch /*38 i u y t - caps del esc */
312 1.1 uch /*40 alt_R - - - BS p TAB Fn */
313 1.8 sato /*48 - alt_L - - pgdn pgup f10 f9 */
314 1.1 uch /*50 - - ctrl - f8 f7 f6 f5 */
315 1.1 uch /*58 - - - shift f4 f3 f2 f1 */
316 1.1 uch /*----------------------------------------------------------------------*/
317 1.4 takemura /*00*/ 57, 27, 43, 53, 203, 208, 28, 38,
318 1.4 takemura /*08*/ IGN, 26, 40, 39, 205, 200, 52, 24,
319 1.1 uch /*10*/ IGN, IGN, IGN, 221, 47, 46, 45, 44,
320 1.1 uch /*18*/ IGN, 13, 12, 41, 33, 32, 31, 30,
321 1.1 uch /*20*/ 9, 8, 7, 6, 19, 18, 17, 16,
322 1.1 uch /*28*/ 51, 50, 49, 48, IGN, IGN, 11, 10,
323 1.1 uch /*30*/ 37, 36, 35, 34, 5, 4, 3, 2,
324 1.1 uch /*38*/ 23, 22, 21, 20, IGN, 58, 14, 1,
325 1.8 sato /*40*/ 184, IGN, IGN, IGN, 14, 25, 15, 219,
326 1.8 sato /*48*/ IGN, 56, IGN, IGN, 81, 73, 68, 67,
327 1.1 uch /*50*/ IGN, IGN, 29, IGN, 66, 65, 64, 63,
328 1.1 uch /*58*/ IGN, IGN, IGN, 42, 62, 61, 60, 59,
329 1.1 uch };
330 1.1 uch
331 1.8 sato static const keysym_t mobilepro_cmdmap[] = {
332 1.8 sato /* pos command normal shifted */
333 1.8 sato KC(219), KS_Cmd, KS_Meta_L, KS_Multi_key,
334 1.8 sato KC(73), KS_Cmd_BrightnessUp, KS_KP_Prior, KS_KP_9,
335 1.8 sato KC(81), KS_Cmd_BrightnessDown, KS_KP_Next, KS_KP_3,
336 1.8 sato KC(51), KS_Cmd_ContrastDown, KS_comma, KS_less,
337 1.8 sato KC(52), KS_Cmd_ContrastUp, KS_period, KS_greater,
338 1.8 sato KC(57), KS_Cmd_BacklightToggle,KS_space,
339 1.8 sato };
340 1.8 sato
341 1.1 uch /* NEC MobilePro 750c by "Castor Fu" <castor (at) geocast.com> */
342 1.32 uwe static uint8_t mobilepro750c_keytrans[] = {
343 1.1 uch /*00 right \ p . y b z space */
344 1.1 uch /*08 down / o , t v a - */
345 1.1 uch /*10 left enter i m r c w Win */
346 1.1 uch /*18 num ] u n e x q caps */
347 1.1 uch /*20 pgdn - 0 l : g tab esc */
348 1.1 uch /*28 - ; 9 k 5 f 2 ` */
349 1.1 uch /*30 up [ 8 j 4 d 1 ' */
350 1.1 uch /*38 - @ 7 h 3 s del - */
351 1.1 uch /*40 shift - - - bs f12 f8 f4 */
352 1.1 uch /*48 - alt - - | f11 f7 f3 */
353 1.1 uch /*50 - - ctrl - f10 f10 f6 f2 */
354 1.1 uch /*58 - - - shift del f9 f5 f1 */
355 1.1 uch /*----------------------------------------------------------------------*/
356 1.4 takemura /*00*/ 205, 43, 25, 52, 21, 48, 44, 57,
357 1.4 takemura /*08*/ 208, 53, 24, 51, 20, 47, 30, IGN,
358 1.4 takemura /*10*/ 203, 28, 23, 50, 19, 46, 17, 221,
359 1.1 uch /*18*/ 69, 27, 22, 49, 18, 45, 16, 58,
360 1.1 uch /*20*/ 81, IGN, 11, 38, 7, 34, 15, 1,
361 1.1 uch /*28*/ IGN, 39, 10, 37, 6, 33, 3, 41,
362 1.4 takemura /*30*/ 200, 26, 9, 36, 5, 32, 2, 40,
363 1.1 uch /*38*/ 12, 26, 8, 35, 4, 31, 83, IGN,
364 1.1 uch /*40*/ 42, IGN, IGN, IGN, 14, 88, 66, 62,
365 1.1 uch /*48*/ IGN, 56, IGN, IGN, 125, 87, 65, 61,
366 1.1 uch /*50*/ IGN, IGN, 29, IGN, 68, 68, 64, 60,
367 1.1 uch /*58*/ IGN, IGN, IGN, 42, 13, 67, 63, 59,
368 1.1 uch };
369 1.1 uch
370 1.10 takemura /* NEC MobilePro 780 */
371 1.32 uwe static uint8_t mobilepro780_keytrans[] = {
372 1.10 takemura /*00 space ] \ / left right enter l */
373 1.10 takemura /*08 - [ ' ; up down . o */
374 1.10 takemura /*10 - - - Windows v c x z */
375 1.10 takemura /*18 - = \- ` f d s a */
376 1.10 takemura /*20 8 7 6 5 r e w q */
377 1.10 takemura /*28 , m n b - - 0 9 */
378 1.10 takemura /*30 k j h g 4 3 2 1 */
379 1.10 takemura /*38 i u y t - caps del esc */
380 1.10 takemura /*40 alt_R - - - BS p TAB Fn */
381 1.10 takemura /*48 - alt_L - - f12 f11 f10 f9 */
382 1.10 takemura /*50 - - ctrl - f8 f7 f6 f5 */
383 1.10 takemura /*58 - - - shift f4 f3 f2 f1 */
384 1.10 takemura /*----------------------------------------------------------------------*/
385 1.10 takemura /*00*/ 57, 27, 43, 53, 203, 205, 28, 38,
386 1.10 takemura /*08*/ IGN, 26, 40, 39, 200, 208, 52, 24,
387 1.10 takemura /*10*/ IGN, IGN, IGN, 221, 47, 46, 45, 44,
388 1.10 takemura /*18*/ IGN, 13, 12, 41, 33, 32, 31, 30,
389 1.10 takemura /*20*/ 9, 8, 7, 6, 19, 18, 17, 16,
390 1.10 takemura /*28*/ 51, 50, 49, 48, IGN, IGN, 11, 10,
391 1.10 takemura /*30*/ 37, 36, 35, 34, 5, 4, 3, 2,
392 1.10 takemura /*38*/ 23, 22, 21, 20, IGN, 58, 14, 1,
393 1.10 takemura /*40*/ 184, IGN, IGN, IGN, 14, 25, 15, IGN,
394 1.10 takemura /*48*/ IGN, 56, IGN, IGN, 88, 87, 68, 67,
395 1.10 takemura /*50*/ IGN, IGN, 29, IGN, 66, 65, 64, 63,
396 1.10 takemura /*58*/ IGN, IGN, IGN, 42, 62, 61, 60, 59,
397 1.10 takemura };
398 1.10 takemura
399 1.27 tv /* NEC MobilePro 8x0 */
400 1.32 uwe static uint8_t mobilepro8x0_keytrans[] = {
401 1.27 tv /*00 space ] \ / left right enter l */
402 1.27 tv /*08 - [ ' ; up down . o */
403 1.27 tv /*10 - - - Windows v c x z */
404 1.27 tv /*18 - = \- ` f d s a */
405 1.27 tv /*20 8 7 6 5 r e w q */
406 1.27 tv /*28 , m n b - - 0 9 */
407 1.27 tv /*30 k j h g 4 3 2 1 */
408 1.27 tv /*38 i u y t - caps del esc */
409 1.27 tv /*40 alt_R - - - BS p TAB Fn */
410 1.27 tv /*48 - alt_L - - pgdn pgup f10 f9 */
411 1.27 tv /*50 - - ctrl - f8 f7 f6 f5 */
412 1.27 tv /*58 - - - shift f4 f3 f2 f1 */
413 1.27 tv /*----------------------------------------------------------------------*/
414 1.27 tv /*00*/ 57, 27, 43, 53, 203, 205, 28, 38,
415 1.27 tv /*08*/ IGN, 26, 40, 39, 200, 208, 52, 24,
416 1.27 tv /*10*/ IGN, IGN, IGN, 221, 47, 46, 45, 44,
417 1.27 tv /*18*/ IGN, 13, 12, 41, 33, 32, 31, 30,
418 1.27 tv /*20*/ 9, 8, 7, 6, 19, 18, 17, 16,
419 1.27 tv /*28*/ 51, 50, 49, 48, IGN, IGN, 11, 10,
420 1.27 tv /*30*/ 37, 36, 35, 34, 5, 4, 3, 2,
421 1.27 tv /*38*/ 23, 22, 21, 20, IGN, 58, 14, 1,
422 1.27 tv /*40*/ 184, IGN, IGN, IGN, 14, 25, 15, 219,
423 1.27 tv /*48*/ IGN, 56, IGN, IGN, 81, 73, 68, 67,
424 1.27 tv /*50*/ IGN, IGN, 29, IGN, 66, 65, 64, 63,
425 1.27 tv /*58*/ IGN, IGN, IGN, 42, 62, 61, 60, 59,
426 1.27 tv };
427 1.27 tv
428 1.27 tv static const keysym_t mobilepro8x0_cmdmap[] = {
429 1.27 tv /* pos command normal shifted */
430 1.27 tv KC(219), KS_Cmd, KS_Meta_L, KS_Multi_key,
431 1.27 tv KC(73), KS_Cmd_BrightnessUp, KS_KP_Prior, KS_KP_9,
432 1.27 tv KC(81), KS_Cmd_BrightnessDown, KS_KP_Next, KS_KP_3,
433 1.27 tv KC(51), KS_Cmd_ContrastDown, KS_comma, KS_less,
434 1.27 tv KC(52), KS_Cmd_ContrastUp, KS_period, KS_greater,
435 1.27 tv KC(57), KS_Cmd_BacklightToggle,KS_space,
436 1.27 tv };
437 1.27 tv
438 1.1 uch /* FUJITSU INTERTOP CX300 */
439 1.32 uwe static uint8_t intertop_keytrans[] = {
440 1.1 uch /*00 space a2 1 tab enter caps left zenkaku */
441 1.1 uch /*08 hiraga a1 2 q - a fnc esc */
442 1.1 uch /*10 ins w 3 s del ] down x */
443 1.1 uch /*18 z e 4 d a10 \ right c */
444 1.1 uch /*20 backsla r ; f a9 @ ^ v */
445 1.1 uch /*28 / t 5 g a8 p - b */
446 1.1 uch /*30 . y 6 h a7 l 0 n */
447 1.1 uch /*38 - u 7 j a5 o bs m */
448 1.1 uch /*40 - a3 8 a4 - i k , */
449 1.1 uch /*48 num : 9 [ a6 - up - */
450 1.1 uch /*50 - - - - shift_L - - shift_R */
451 1.1 uch /*58 ctrl win muhenka henkan alt - - - */
452 1.1 uch /*----------------------------------------------------------------------*/
453 1.4 takemura /*00*/ 57, 60, 2, 15, 28, 58, 205, 41,
454 1.1 uch /*08*/ 112, 59, 3, 16, IGN, 30, 56, 1,
455 1.4 takemura /*10*/ 210, 17, 4, 31, 83, 43, 208, 45,
456 1.4 takemura /*18*/ 44, 18, 5, 32, 68, 125, 203, 46,
457 1.1 uch /*20*/ 115, 19, 39, 33, 67, 26, 13, 47,
458 1.1 uch /*28*/ 53, 20, 6, 34, 66, 25, 12, 48,
459 1.1 uch /*30*/ 52, 21, 7, 35, 65, 38, 11, 49,
460 1.1 uch /*38*/ IGN, 22, 8, 36, 63, 24, 14, 50,
461 1.1 uch /*40*/ IGN, 61, 9, 62, IGN, 23, 37, 51,
462 1.4 takemura /*48*/ 69, 40, 10, 27, 64, IGN, 200, IGN,
463 1.1 uch /*50*/ IGN, IGN, IGN, IGN, 42, IGN, IGN, 54,
464 1.1 uch /*58*/ 29, 221, 123, 121, 184, IGN, IGN, IGN,
465 1.1 uch };
466 1.1 uch
467 1.1 uch /* DoCoMo sigmarion (Japan) */
468 1.32 uwe static uint8_t sigmarion_jp_keytrans[] = {
469 1.1 uch /*00 right ent p . y b z space */
470 1.1 uch /*08 down / o , t v a nfer */
471 1.1 uch /*10 left \ i m r c w menu */
472 1.1 uch /*18 | - u - e x q 1 */
473 1.1 uch /*20 pgdn h/z 0 l : g tab f1 */
474 1.1 uch /*28 xfer ; 9 n 5 f 2 k */
475 1.1 uch /*30 up [ 8 j 4 d 6 - */
476 1.1 uch /*38 - @ 7 h 3 ] s - */
477 1.1 uch /*40 caps - - - bs fnc f8 f3 */
478 1.1 uch /*48 - alt - - ^ k/h f7 f4 */
479 1.1 uch /*50 - - ctrl - f10 pgup f6 f2 */
480 1.1 uch /*58 - - - shift del f9 f5 esc */
481 1.1 uch /*----------------------------------------------------------------------*/
482 1.4 takemura /*00*/ 205, 28, 25, 52, 21, 48, 44, 57,
483 1.4 takemura /*08*/ 208, 53, 24, 51, 20, 47, 30, 123,
484 1.4 takemura /*10*/ 203, 115, 23, 50, 19, 46, 17, 221,
485 1.1 uch /*18*/ 125, IGN, 22, IGN, 18, 45, 16, 2,
486 1.1 uch /*20*/ 81, 41, 11, 38, 40, 34, 15, IGN,
487 1.1 uch /*28*/ 121, 39, 10, 49, 6, 33, 3, 37,
488 1.4 takemura /*30*/ 200, 27, 9, 36, 5, 32, 7, IGN,
489 1.1 uch /*38*/ 12, 26, 8, 35, 4, 43, 31, IGN,
490 1.1 uch /*40*/ 58, IGN, IGN, IGN, 14, 184, 66, IGN,
491 1.1 uch /*48*/ IGN, 56, IGN, IGN, 13, 112, 65, IGN,
492 1.1 uch /*50*/ IGN, IGN, 29, IGN, 68, 73, 64, IGN,
493 1.1 uch /*58*/ IGN, IGN, IGN, 42, 14, 67, IGN, 1,
494 1.1 uch };
495 1.1 uch
496 1.1 uch static const keysym_t sigmarion_cmdmap[] = {
497 1.1 uch /* pos command normal shifted */
498 1.1 uch KC(184), KS_Cmd, KS_Alt_R, KS_Multi_key,
499 1.9 sato KC(64), KS_Cmd_Screen0, KS_f6, KS_f1,
500 1.9 sato KC(65), KS_Cmd_Screen1, KS_f7, KS_f2,
501 1.9 sato KC(66), KS_Cmd_Screen2, KS_f8, KS_f3,
502 1.9 sato KC(67), KS_Cmd_Screen3, KS_f9, KS_f4,
503 1.9 sato KC(68), KS_Cmd_Screen4, KS_f10, KS_f5,
504 1.1 uch KC(27), KS_Cmd_BrightnessUp, KS_bracketleft, KS_braceleft,
505 1.1 uch KC(43), KS_Cmd_BrightnessDown, KS_bracketright,KS_braceright,
506 1.1 uch KC(51), KS_Cmd_ContrastDown, KS_comma, KS_less,
507 1.1 uch KC(52), KS_Cmd_ContrastUp, KS_period, KS_greater,
508 1.1 uch KC(57), KS_Cmd_BacklightToggle,KS_space,
509 1.1 uch };
510 1.5 takemura
511 1.5 takemura /* NTT DoCoMo Pocket PostPet (Japan) */
512 1.32 uwe static uint8_t pocketpostpet_keytrans[] = {
513 1.5 takemura /*00 esc 1 q a ctrl - down left */
514 1.5 takemura /*08 tab 2 w s z - right up */
515 1.5 takemura /*10 pgup 3 e d x shift - - */
516 1.5 takemura /*18 pgdn 4 r f c alt - - */
517 1.5 takemura /*20 f5 5 t g v nfer - - */
518 1.5 takemura /*28 f6 6 y h b - - - */
519 1.5 takemura /*30 f7 7 u j n space - - */
520 1.5 takemura /*38 f8 8 i k m - - - */
521 1.5 takemura /*40 f9 9 o l , xfer - - */
522 1.5 takemura /*48 f10 0 p ; . - - - */
523 1.5 takemura /*50 \| minus @ : / ent - - */
524 1.5 takemura /*58 bs ^ [ ] \_ del - - */
525 1.5 takemura /* MailCheck -> tab */
526 1.5 takemura /* Prev -> pgup */
527 1.5 takemura /* Next -> pgdn */
528 1.5 takemura /* tab -> ctrl */
529 1.5 takemura /* h/z -> menu */
530 1.5 takemura /* k/h -> alt */
531 1.5 takemura /* knj -> nfer */
532 1.5 takemura /* eng -> xfer */
533 1.5 takemura /*----------------------------------------------------------------------*/
534 1.5 takemura /*00*/ 1, 2, 16, 30, 29, UNK, 208, 203,
535 1.5 takemura /*08*/ 15, 3, 17, 31, 44, UNK, 205, 200,
536 1.5 takemura /*10*/ 73, 4, 18, 32, 45, 42, UNK, UNK,
537 1.5 takemura /*08*/ 81, 5, 19, 33, 46, 56, UNK, UNK,
538 1.5 takemura /*20*/ 63, 6, 20, 34, 47, 123, UNK, UNK,
539 1.5 takemura /*28*/ 64, 7, 21, 35, 48, UNK, UNK, UNK,
540 1.5 takemura /*30*/ 65, 8, 22, 36, 49, 57, UNK, UNK,
541 1.5 takemura /*38*/ 66, 9, 23, 37, 50, UNK, UNK, UNK,
542 1.5 takemura /*40*/ 67, 10, 24, 38, 51, 121, UNK, UNK,
543 1.5 takemura /*48*/ 68, 11, 25, 39, 52, UNK, UNK, UNK,
544 1.5 takemura /*50*/ 125, 12, 26, 40, 53, 28, UNK, UNK,
545 1.5 takemura /*58*/ 14, 13, 27, 43, 115, 14, UNK, UNK,
546 1.5 takemura };
547 1.1 uch #endif /* hpcmips */
548 1.1 uch
549 1.2 uch #ifdef hpcsh
550 1.33 uwe /*
551 1.33 uwe * HP Jornada 680/690
552 1.7 uch */
553 1.6 uch /* Japanese */
554 1.32 uwe const uint8_t jornada6x0_jp_keytrans[] = {
555 1.33 uwe /* 0 1 2 3 4 5 6 7 */
556 1.2 uch /* 0 */ 59 , 45 , 31 , 17 , 3 , UNK, 29 , UNK, /* ctrl 29 */
557 1.2 uch /* 1 */ 60 , 46 , 32 , 18 , 4 , 42 , UNK, UNK, /* shift L 42 */
558 1.2 uch /* 2 */ 61 , 47 , 33 , 19 , 5 , UNK, 57 , UNK,
559 1.2 uch /* 3 */ 66 , 52 , 38 , 24 , 10 , UNK, 14 , 203,
560 1.2 uch /* 4 */ 65 , 51 , 37 , 23 , 9 , UNK, 115, UNK,
561 1.2 uch /* 5 */ 64 , 50 , 36 , 22 , 8 , UNK, 121, UNK,
562 1.2 uch /* 6 */ 62 , 48 , 34 , 20 , 6 , UNK, UNK, 56 , /* alt 56 */
563 1.2 uch /* 7 */ 63 , 49 , 35 , 21 , 7 , UNK, UNK, 123,
564 1.2 uch /* 8 */ IGN, 53 , 39 , 25 , 11 , 200, UNK, 208,
565 1.2 uch /* 9 */ 112, 40 , 27 , 26 , 12 , 125, UNK, 205,
566 1.2 uch /*10 */ 41 , 28 , 43 , 14 , 13 , 54 , UNK, UNK, /* shift R 54 */
567 1.2 uch /*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
568 1.2 uch /*12 */ 1 , 44 , 30 , 16 , 2 , 15 , 221, UNK,
569 1.2 uch /*13 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
570 1.2 uch /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
571 1.2 uch /*15 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
572 1.2 uch };
573 1.2 uch
574 1.19 uwe /* US/UK - Fn to the left of the space bar and missing few keys */
575 1.32 uwe const uint8_t jornada6x0_us_keytrans[] = {
576 1.18 uwe /* 0 1 2 3 4 5 6 7 */
577 1.18 uwe /* 0 */ 59 , 45 , 31 , 17 , 3 , UNK, 29 , UNK,
578 1.18 uwe /* 1 */ 60 , 46 , 32 , 18 , 4 , 42 , UNK, UNK,
579 1.13 uch /* 2 */ 61 , 47 , 33 , 19 , 5 , UNK, 57 , UNK,
580 1.17 uwe /* 3 */ 66 , 52 , 38 , 24 , 10 , UNK, 211, 203,
581 1.18 uwe /* 4 */ 65 , 51 , 37 , 23 , 9 , UNK, 53 , UNK,
582 1.13 uch /* 5 */ 64 , 50 , 36 , 22 , 8 , UNK, UNK, UNK,
583 1.18 uwe /* 6 */ 62 , 48 , 34 , 20 , 6 , UNK, UNK, 56 ,
584 1.18 uwe /* 7 */ 63 , 49 , 35 , 21 , 7 , UNK, UNK, 184,
585 1.18 uwe /* 8 */ 67 , UNK, 39 , 25 , 11 , 200, UNK, 208,
586 1.18 uwe /* 9 */ 68 , 40 , UNK, 43 , 12 , UNK, UNK, 205,
587 1.18 uwe /*10 */ 87 , 28 , UNK, 14 , 13 , 54 , UNK, UNK,
588 1.13 uch /*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
589 1.17 uwe /*12 */ 1 , 44 , 30 , 16 , 2 , 15 , 219, UNK,
590 1.13 uch /*13 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
591 1.13 uch /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
592 1.13 uch /*15 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
593 1.13 uch };
594 1.13 uch
595 1.19 uwe /* US (ABA), UK (ABU) */
596 1.19 uwe static const keysym_t jornada6x0_us_keydesc[] = {
597 1.19 uwe /* pos normal shifted altgr */
598 1.19 uwe KC(2), KS_1, KS_exclam, KS_asciitilde,
599 1.19 uwe KC(3), KS_2, KS_at, KS_grave,
600 1.19 uwe KC(4), KS_3, KS_numbersign, KS_sterling,
601 1.22 uwe #ifdef KS_euro
602 1.19 uwe KC(5), KS_4, KS_dollar, KS_euro,
603 1.19 uwe #endif
604 1.19 uwe KC(25), KS_p, KS_P, KS_braceleft,
605 1.19 uwe KC(39), KS_semicolon, KS_colon, KS_bracketleft,
606 1.19 uwe KC(40), KS_apostrophe, KS_quotedbl, KS_bracketright,
607 1.19 uwe KC(43), KS_backslash, KS_bar, KS_braceright,
608 1.19 uwe KC(184), KS_Mode_switch, KS_Multi_key,
609 1.23 uwe
610 1.23 uwe KC(200), KS_Cmd_BrightnessUp, KS_Up,
611 1.23 uwe KC(203), KS_Cmd_ContrastDown, KS_Left,
612 1.23 uwe KC(205), KS_Cmd_ContrastUp, KS_Right,
613 1.23 uwe KC(208), KS_Cmd_BrightnessDown, KS_Down,
614 1.19 uwe };
615 1.19 uwe
616 1.19 uwe
617 1.19 uwe /* International - AltGr to the right and extra keys in three middle rows */
618 1.32 uwe const uint8_t jornada6x0_intl_keytrans[] = {
619 1.33 uwe /* 0 1 2 3 4 5 6 7 */
620 1.18 uwe /* 0 */ 59 , 45 , 31 , 17 , 3 , UNK, 29 , UNK,
621 1.18 uwe /* 1 */ 60 , 46 , 32 , 18 , 4 , 42 , UNK, UNK,
622 1.18 uwe /* 2 */ 61 , 47 , 33 , 19 , 5 , UNK, 57 , UNK,
623 1.18 uwe /* 3 */ 66 , 52 , 38 , 24 , 10 , UNK, 211, 203,
624 1.18 uwe /* 4 */ 65 , 51 , 37 , 23 , 9 , UNK, 184, UNK,
625 1.18 uwe /* 5 */ 64 , 50 , 36 , 22 , 8 , UNK, UNK, UNK,
626 1.18 uwe /* 6 */ 62 , 48 , 34 , 20 , 6 , UNK, UNK, 56 ,
627 1.18 uwe /* 7 */ 63 , 49 , 35 , 21 , 7 , UNK, UNK, 41 ,
628 1.18 uwe /* 8 */ 67 , 53 , 39 , 25 , 11 , 200, UNK, 208,
629 1.18 uwe /* 9 */ 68 , 40 , 27 , 26 , 12 , UNK, UNK, 205,
630 1.18 uwe /*10 */ 87 , 28 , 43 , 14 , 13 , 54 , UNK, UNK,
631 1.18 uwe /*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN,
632 1.18 uwe /*12 */ 1 , 44 , 30 , 16 , 2 , 15 , 219, UNK,
633 1.6 uch /*13 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
634 1.6 uch /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
635 1.18 uwe /*15 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
636 1.6 uch };
637 1.6 uch
638 1.19 uwe /*
639 1.19 uwe * XXX: Add AltGr layer for #ABB here? OTOH, all the keys necessary
640 1.19 uwe * for basic actions in DDB or shell are on the primary layer, so it
641 1.19 uwe * makes sense to support AltGr via wsconsctl(8) instead, as the same
642 1.19 uwe * primary layer is used e.g. in Russian models. But it does make
643 1.19 uwe * sense to define the <AltGr> key itself here, as we base this layout
644 1.19 uwe * on KB_US that defines it as the right <Alt>.
645 1.19 uwe */
646 1.19 uwe /* European English (ABB) */
647 1.19 uwe static const keysym_t jornada6x0_intl_keydesc[] = {
648 1.19 uwe /* pos normal shifted altgr */
649 1.19 uwe KC(184), KS_Mode_switch, KS_Multi_key,
650 1.23 uwe
651 1.23 uwe KC(200), KS_Cmd_BrightnessUp, KS_Up,
652 1.23 uwe KC(203), KS_Cmd_ContrastDown, KS_Left,
653 1.23 uwe KC(205), KS_Cmd_ContrastUp, KS_Right,
654 1.23 uwe KC(208), KS_Cmd_BrightnessDown, KS_Down,
655 1.19 uwe };
656 1.19 uwe
657 1.19 uwe /* German (ABD) */
658 1.19 uwe static const keysym_t jornada6x0_de_keydesc[] = {
659 1.19 uwe /* pos normal shifted altgr */
660 1.19 uwe KC(2), KS_1, KS_exclam, KS_brokenbar,
661 1.19 uwe KC(5), KS_4, KS_dollar, KS_ccedilla,
662 1.19 uwe KC(6), KS_5, KS_percent, KS_sterling,
663 1.19 uwe KC(7), KS_6, KS_ampersand, KS_notsign,
664 1.22 uwe #ifdef KS_euro
665 1.19 uwe KC(18), KS_e, KS_E, KS_euro,
666 1.19 uwe #endif
667 1.19 uwe KC(27), KS_plus, KS_asterisk, KS_asciitilde, /* NB: not dead */
668 1.19 uwe KC(30), KS_a, KS_A, KS_bar,
669 1.19 uwe KC(41), KS_asciicircum, KS_degree, /* NB: not dead */
670 1.19 uwe KC(43), KS_numbersign, KS_apostrophe, KS_dead_diaeresis,
671 1.19 uwe KC(44), KS_y, KS_Y, KS_less,
672 1.19 uwe KC(45), KS_x, KS_X, KS_greater,
673 1.19 uwe KC(46), KS_c, KS_C, KS_cent,
674 1.23 uwe
675 1.23 uwe KC(200), KS_Cmd_BrightnessUp, KS_Up,
676 1.23 uwe KC(203), KS_Cmd_ContrastDown, KS_Left,
677 1.23 uwe KC(205), KS_Cmd_ContrastUp, KS_Right,
678 1.23 uwe KC(208), KS_Cmd_BrightnessDown, KS_Down,
679 1.19 uwe };
680 1.19 uwe
681 1.21 uwe /* French (ABF) */
682 1.21 uwe static const keysym_t jornada6x0_fr_keydesc[] = {
683 1.21 uwe /* pos normal shifted altgr */
684 1.21 uwe KC(2), KS_ampersand, KS_1, KS_plusminus,
685 1.22 uwe #ifdef KS_euro
686 1.21 uwe KC(18), KS_e, KS_E, KS_euro,
687 1.21 uwe #endif
688 1.21 uwe KC(19), KS_r, KS_R, KS_onequarter,
689 1.21 uwe KC(20), KS_t, KS_T, KS_onehalf,
690 1.21 uwe KC(21), KS_y, KS_Y, KS_threequarters,
691 1.21 uwe KC(25), KS_p, KS_P, KS_paragraph,
692 1.21 uwe KC(30), KS_q, KS_Q, KS_brokenbar,
693 1.21 uwe KC(31), KS_s, KS_S, KS_guillemotleft,
694 1.21 uwe KC(32), KS_d, KS_D, KS_guillemotright,
695 1.21 uwe KC(40), KS_ugrave, KS_percent, KS_dead_acute,
696 1.21 uwe KC(41), KS_twosuperior, KS_voidSymbol, KS_threesuperior,
697 1.21 uwe KC(43), KS_asterisk, KS_mu, KS_notsign,
698 1.21 uwe KC(44), KS_w, KS_W, KS_less,
699 1.21 uwe KC(45), KS_x, KS_X, KS_greater,
700 1.21 uwe KC(46), KS_c, KS_C, KS_cent,
701 1.21 uwe KC(50), KS_comma, KS_question, KS_mu,
702 1.21 uwe KC(53), KS_exclam, KS_section, KS_Eacute,
703 1.21 uwe KC(184), KS_Mode_switch, KS_Multi_key,
704 1.23 uwe
705 1.23 uwe KC(200), KS_Cmd_BrightnessUp, KS_Up,
706 1.23 uwe KC(203), KS_Cmd_ContrastDown, KS_Left,
707 1.23 uwe KC(205), KS_Cmd_ContrastUp, KS_Right,
708 1.23 uwe KC(208), KS_Cmd_BrightnessDown, KS_Down,
709 1.21 uwe };
710 1.21 uwe
711 1.26 uwe /* Scandinavian */
712 1.26 uwe static const keysym_t jornada6x0_scnv_keydesc[] = {
713 1.26 uwe /* pos normal shifted altgr */
714 1.26 uwe KC(2), KS_1, KS_exclam, KS_asciitilde,
715 1.26 uwe KC(3), KS_2, KS_quotedbl, KS_at,
716 1.26 uwe KC(4), KS_3, KS_numbersign, KS_sterling,
717 1.26 uwe KC(5), KS_4, KS_currency, KS_dollar,
718 1.26 uwe KC(7), KS_6, KS_ampersand,
719 1.26 uwe KC(8), KS_7, KS_slash, KS_braceleft,
720 1.26 uwe KC(9), KS_8, KS_parenleft, KS_bracketleft,
721 1.26 uwe KC(10), KS_9, KS_parenright, KS_bracketright,
722 1.26 uwe KC(11), KS_0, KS_equal, KS_braceright,
723 1.26 uwe KC(12), KS_plus, KS_question, KS_backslash,
724 1.26 uwe KC(13), KS_apostrophe, KS_grave,
725 1.26 uwe KC(25), KS_p, KS_P, KS_braceleft,
726 1.26 uwe KC(26), KS_aring,
727 1.26 uwe /*
728 1.26 uwe * XXX: KC(39) and KC(40) has odiaeresis/adiaeresis *and*
729 1.26 uwe * oslash/ae on them. Apparently localized WinCE uses the former
730 1.26 uwe * for Swedish and Finnish and the latter for Danish and
731 1.26 uwe * Norwegian. But as the keyboard doesn't seem to have
732 1.26 uwe * semicolon/colon and minus/underscore nowhere on the primary and
733 1.26 uwe * altgr layers, I put them here (semicolon/colon is inherited).
734 1.26 uwe */
735 1.26 uwe KC(40), KS_minus, KS_underscore, /* XXX */
736 1.26 uwe KC(41), KS_paragraph, KS_onehalf, KS_bar,
737 1.26 uwe KC(184), KS_Mode_switch, KS_Multi_key,
738 1.26 uwe
739 1.26 uwe KC(200), KS_Cmd_BrightnessUp, KS_Up,
740 1.26 uwe KC(203), KS_Cmd_ContrastDown, KS_Left,
741 1.26 uwe KC(205), KS_Cmd_ContrastUp, KS_Right,
742 1.26 uwe KC(208), KS_Cmd_BrightnessDown, KS_Down,
743 1.26 uwe };
744 1.26 uwe
745 1.30 uwe /* Spanish (ABE) */
746 1.30 uwe static const keysym_t jornada6x0_es_keydesc[] = {
747 1.30 uwe /* pos normal shifted altgr */
748 1.30 uwe KC(2), KS_1, KS_exclam, KS_ordfeminine,
749 1.30 uwe KC(3), KS_2, KS_quotedbl, KS_masculine,
750 1.30 uwe KC(4), KS_3, KS_numbersign,
751 1.30 uwe KC(12), KS_apostrophe, KS_question, KS_backslash,
752 1.30 uwe KC(13), KS_questiondown,KS_exclamdown,
753 1.30 uwe KC(16), KS_q, KS_Q, KS_at,
754 1.30 uwe #ifdef KS_euro
755 1.30 uwe KC(18), KS_e, KS_E, KS_euro,
756 1.30 uwe #endif
757 1.30 uwe KC(26), KS_dead_acute, KS_dead_diaeresis,
758 1.30 uwe KC(27), KS_plus, KS_asterisk, KS_dead_tilde,
759 1.30 uwe KC(40), KS_braceleft, KS_bracketleft,KS_dead_circumflex,
760 1.30 uwe KC(41), KS_bar, KS_degree, KS_notsign,
761 1.30 uwe KC(43), KS_braceright, KS_bracketright,KS_dead_grave,
762 1.30 uwe KC(44), KS_z, KS_Z, KS_less,
763 1.30 uwe KC(45), KS_x, KS_X, KS_greater,
764 1.30 uwe KC(46), KS_c, KS_C, KS_Ccedilla,
765 1.30 uwe
766 1.30 uwe KC(200), KS_Cmd_BrightnessUp, KS_Up,
767 1.30 uwe KC(203), KS_Cmd_ContrastDown, KS_Left,
768 1.30 uwe KC(205), KS_Cmd_ContrastUp, KS_Right,
769 1.30 uwe KC(208), KS_Cmd_BrightnessDown, KS_Down,
770 1.30 uwe };
771 1.26 uwe
772 1.6 uch const int jornada6x0_special_keymap[] = {
773 1.29 uch [KEY_SPECIAL_OFF] = -1,
774 1.2 uch [KEY_SPECIAL_LIGHT] = -1
775 1.2 uch };
776 1.2 uch
777 1.35 uwe
778 1.33 uwe /*
779 1.7 uch * HP 620LX
780 1.7 uch */
781 1.7 uch /* Japanese */
782 1.32 uwe const uint8_t hp620lx_jp_keytrans[] = {
783 1.33 uwe /* 0 1 2 3 4 5 6 7 */
784 1.7 uch /* 0 */ 2 , 16 , 112, UNK, IGN, UNK, 42 , 30 , /* REC button */
785 1.7 uch /* 1 */ 3 , 17 , 58 , 44 , UNK, 45 , 15 , 31 ,
786 1.7 uch /* 2 */ 4 , 18 , UNK, 56 , 59 , 46 , 1 , 32 ,
787 1.7 uch /* 3 */ 5 , 19 , UNK, UNK, 60 , 123, UNK, 33 ,
788 1.7 uch /* 4 */ 6 , 20 , 47 , 57 , 61 , 48 , UNK, 34 ,
789 1.7 uch /* 5 */ 7 , 21 , UNK, 121, 62 , 49 , UNK, 35 ,
790 1.7 uch /* 6 */ 8 , 22 , UNK, 125, 63 , 50 , UNK, 36 ,
791 1.7 uch /* 7 */ 9 , 23 , 52 , 115, 64 , 51 , UNK, 37 ,
792 1.7 uch /* 8 */ 10 , 24 , 53 , 203, 65 , 200, 39 , 38 ,
793 1.7 uch /* 9 */ 11 , 25 , 40 , 208, 66 , 205, 27 , 26 ,
794 1.7 uch /*10 */ 12 , 13 , 28 , UNK, UNK, UNK, 41 , 43 ,
795 1.7 uch /*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN, /* ON button */
796 1.7 uch /*12 */ 29 , IGN, IGN, IGN, IGN, IGN, IGN, IGN,
797 1.7 uch /*13 */ 14 , IGN, IGN, IGN, IGN, IGN, IGN, IGN,
798 1.7 uch /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
799 1.7 uch /*15 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN /* LED button */
800 1.7 uch };
801 1.7 uch
802 1.35 uwe /* Other models */
803 1.35 uwe const uint8_t hp620lx_intl_keytrans[] = {
804 1.35 uwe /* 0 1 2 3 4 5 6 7 */
805 1.35 uwe /* 0 */ 2 , 16 , 219, UNK, IGN, UNK, 42 , 30 , /* REC button */
806 1.35 uwe /* 1 */ 3 , 17 , 15 , 44 , UNK, 45 , 41 , 31 ,
807 1.35 uwe /* 2 */ 4 , 18 , UNK, 69 , 59 , 46 , 1 , 32 ,
808 1.35 uwe /* 3 */ 5 , 19 , UNK, UNK, 60 , 56 , UNK, 33 ,
809 1.35 uwe /* 4 */ 6 , 20 , 47 , 57 , 61 , 48 , UNK, 34 ,
810 1.35 uwe /* 5 */ 7 , 21 , UNK, UNK, 62 , 49 , UNK, 35 ,
811 1.35 uwe /* 6 */ 8 , 22 , UNK, 184, 63 , 50 , UNK, 36 ,
812 1.35 uwe /* 7 */ 9 , 23 , 52 , 211, 64 , 51 , UNK, 37 ,
813 1.35 uwe /* 8 */ 10 , 24 , 53 , 203, 65 , 200, 39 , 38 ,
814 1.35 uwe /* 9 */ 11 , 25 , 40 , 208, 66 , 205, 27 , 26 ,
815 1.35 uwe /*10 */ 12 , 13 , 28 , UNK, UNK, UNK, 54 , 43 ,
816 1.35 uwe /*11 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN, /* ON button */
817 1.35 uwe /*12 */ 29 , IGN, IGN, IGN, IGN, IGN, IGN, IGN,
818 1.35 uwe /*13 */ 14 , IGN, IGN, IGN, IGN, IGN, IGN, IGN,
819 1.35 uwe /*14 */ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK,
820 1.35 uwe /*15 */ SPL, IGN, IGN, IGN, IGN, IGN, IGN, IGN /* LED button */
821 1.35 uwe };
822 1.35 uwe
823 1.7 uch const int hp620lx_special_keymap[] = {
824 1.7 uch [KEY_SPECIAL_OFF] = 88,
825 1.7 uch [KEY_SPECIAL_LIGHT] = 120
826 1.7 uch };
827 1.7 uch
828 1.35 uwe
829 1.33 uwe /*
830 1.11 uch * HITACHI PERSONA HPW50PAD
831 1.11 uch */
832 1.11 uch /* Japanese */
833 1.32 uwe const uint8_t persona_hpw50pad_jp_keytrans[] = {
834 1.33 uwe /* 0 1 2 3 4 5 6 7 */
835 1.31 uwe /* 0 */ 59 , 61 , 63 , 65 , 67 , SPL, UNK, UNK, /* ON button */
836 1.31 uwe /* 1 */ 29 , UNK, 47 , 48 , 121, UNK, UNK, UNK,
837 1.31 uwe /* 2 */ 1 , UNK, 34 , 51 , 112, UNK, UNK, UNK,
838 1.31 uwe /* 3 */ 41 , 221, 35 , 37 , 52 , UNK, UNK, UNK,
839 1.31 uwe /* 4 */ 45 , 58 , 22 , 38 , 40 , 42 , UNK, UNK,
840 1.31 uwe /* 5 */ 30 , 16 , 21 , 24 , 28 , 54 , UNK, UNK,
841 1.31 uwe /* 6 */ 17 , 4 , UNK, 10 , 12 , 205, UNK, UNK,
842 1.31 uwe /* 7 */ 31 , 18 , 7 , 25 , 13 , 83 , UNK, UNK,
843 1.37 kiyohara /* 8 */ 60 , 62 , 64 , 66 , 68 , UNK, UNK, UNK,
844 1.31 uwe /* 9 */ UNK, 123, 49 , 53 , 203, UNK, UNK, UNK,
845 1.31 uwe /*10 */ 56 , 46 , 50 , 57 , 208, UNK, UNK, UNK,
846 1.31 uwe /*11 */ 15 , 33 , 36 , 39 , 43 , UNK, UNK, UNK,
847 1.31 uwe /*12 */ 44 , 20 , 23 , 26 , 27 , UNK, UNK, UNK,
848 1.31 uwe /*13 */ 2 , 6 , 9 , 115, 200, UNK, UNK, UNK,
849 1.31 uwe /*14 */ 3 , 5 , UNK, UNK, 125, UNK, UNK, UNK,
850 1.31 uwe /*15 */ 32 , 19 , 8 , 11 , 14 , UNK, UNK, UNK,
851 1.11 uch };
852 1.11 uch
853 1.11 uch const int persona_hpw50pad_special_keymap[] = {
854 1.34 uwe [KEY_SPECIAL_OFF] = 5,
855 1.11 uch [KEY_SPECIAL_LIGHT] = -1
856 1.11 uch };
857 1.11 uch
858 1.37 kiyohara static const keysym_t persona_hpw50pad_jp_keydesc[] = {
859 1.37 kiyohara /* pos command normal shifted */
860 1.37 kiyohara KC(63), KS_Cmd_ContrastDown, KS_f5,
861 1.37 kiyohara KC(64), KS_Cmd_ContrastUp, KS_f6,
862 1.37 kiyohara KC(65), KS_Cmd_BrightnessDown, KS_f7,
863 1.37 kiyohara KC(66), KS_Cmd_BrightnessUp, KS_f8,
864 1.37 kiyohara
865 1.37 kiyohara KC(200),KS_Cmd_ScrollFastUp, KS_Up,
866 1.37 kiyohara KC(208),KS_Cmd_ScrollFastDown, KS_Down,
867 1.37 kiyohara KC(203),KS_KP_Home, KS_Left,
868 1.37 kiyohara KC(205),KS_KP_End, KS_Right,
869 1.37 kiyohara };
870 1.37 kiyohara
871 1.28 uch /*
872 1.28 uch * HITACHI PERSONA HPW200EC
873 1.28 uch */
874 1.28 uch /* US */
875 1.32 uwe const uint8_t persona_hpw200ec_keytrans[] = {
876 1.33 uwe /* 0 1 2 3 4 5 6 7 */
877 1.34 uwe /* 0 */ 3 , 2 , 71 , 69 , 67 , SPL, UNK, UNK,
878 1.34 uwe /* 1 */ 11 , UNK, 79 , 77 , 75 , UNK, UNK, UNK,
879 1.34 uwe /* 2 */ 19 , UNK, UNK, 85 , 83 , UNK, UNK, UNK,
880 1.34 uwe /* 3 */ 27 , 26 , 95 , 93 , 91 , UNK, UNK, UNK,
881 1.34 uwe /* 4 */ 35 , 34 , 103, 101, 99 , 32 , UNK, UNK,
882 1.34 uwe /* 5 */ 43 , 42 , 111, 109, 107, 40 , UNK, UNK,
883 1.34 uwe /* 6 */ 51 , 50 , 119, 117, 115, 48 , UNK, UNK,
884 1.34 uwe /* 7 */ 59 , 58 , UNK, UNK, 123, 56 , UNK, UNK,
885 1.34 uwe /* 8 */ 5 , 6 , 70 , 68 , 66 , UNK, UNK, UNK,
886 1.34 uwe /* 9 */ UNK, UNK, 78 , 76 , 74 , UNK, UNK, UNK,
887 1.34 uwe /*10 */ 21 , UNK, UNK, 84 , 82 , UNK, UNK, UNK,
888 1.34 uwe /*11 */ 29 , 30 , 94 , 92 , 90 , UNK, UNK, UNK,
889 1.34 uwe /*12 */ UNK, 26 , 102, 100, 98 , UNK, UNK, UNK,
890 1.34 uwe /*13 */ UNK, 46 , 110, 108, 106, 104, UNK, UNK,
891 1.34 uwe /*14 */ 53 , 54 , 118, 124, 114, UNK, UNK, UNK,
892 1.34 uwe /*15 */ 61 , 62 , 126, UNK, 122, UNK, UNK, UNK,
893 1.28 uch };
894 1.28 uch
895 1.28 uch const int persona_hpw200ec_special_keymap[] = {
896 1.34 uwe [KEY_SPECIAL_OFF] = 5,
897 1.28 uch [KEY_SPECIAL_LIGHT] = -1
898 1.28 uch };
899 1.28 uch
900 1.2 uch #endif /* hpcsh */
901 1.2 uch
902 1.25 uwe
903 1.25 uwe /*
904 1.25 uwe * REMINDER:
905 1.25 uwe * When adding new entry to this array, make sure that pckbd_keydesctab[]
906 1.25 uwe * in sys/dev/pckbport/wskbdmap_mfii.c has a placeholder KB_MACHDEP entry
907 1.25 uwe * for the base ht_layout that you refer.
908 1.25 uwe */
909 1.1 uch const struct hpckbd_keymap_table {
910 1.1 uch platid_t *ht_platform;
911 1.32 uwe const uint8_t *ht_keymap;
912 1.1 uch const int *ht_special;
913 1.1 uch struct {
914 1.1 uch const keysym_t *map;
915 1.1 uch int size;
916 1.1 uch } ht_cmdmap;
917 1.1 uch kbd_t ht_layout;
918 1.1 uch } hpckbd_keymap_table[] = {
919 1.1 uch #ifdef hpcmips
920 1.1 uch { &platid_mask_MACH_COMPAQ_C,
921 1.33 uwe tc5165_compaq_c_jp_keymap,
922 1.1 uch tc5165_compaq_c_jp_special_keymap,
923 1.1 uch NULLCMDMAP,
924 1.1 uch KB_JP },
925 1.1 uch { &platid_mask_MACH_VICTOR_INTERLINK,
926 1.33 uwe m38813c_keymap,
927 1.1 uch default_special_keymap,
928 1.1 uch NULLCMDMAP,
929 1.1 uch KB_JP },
930 1.1 uch { &platid_mask_MACH_SHARP_TELIOS,
931 1.33 uwe tc5165_telios_jp_keymap,
932 1.1 uch default_special_keymap,
933 1.36 nakayama CMDMAP(tc5165_telios_jp_cmdmap),
934 1.1 uch KB_JP },
935 1.1 uch { &platid_mask_MACH_SHARP_MOBILON,
936 1.33 uwe tc5165_mobilon_keymap,
937 1.1 uch tc5165_mobilon_special_keymap,
938 1.1 uch NULLCMDMAP,
939 1.1 uch KB_US },
940 1.1 uch { &platid_mask_MACH_NEC_MCR_500A,
941 1.1 uch mobilepro750c_keytrans,
942 1.1 uch NULL,
943 1.1 uch NULLCMDMAP,
944 1.1 uch KB_US },
945 1.1 uch { &platid_mask_MACH_NEC_MCR_520A,
946 1.1 uch mobilepro_keytrans,
947 1.1 uch NULL,
948 1.8 sato CMDMAP(mobilepro_cmdmap),
949 1.1 uch KB_US },
950 1.1 uch { &platid_mask_MACH_NEC_MCR_530A,
951 1.10 takemura mobilepro780_keytrans,
952 1.1 uch NULL,
953 1.1 uch NULLCMDMAP,
954 1.1 uch KB_US },
955 1.1 uch { &platid_mask_MACH_NEC_MCR_700A,
956 1.33 uwe mobilepro8x0_keytrans,
957 1.1 uch NULL,
958 1.27 tv CMDMAP(mobilepro8x0_cmdmap),
959 1.1 uch KB_US },
960 1.1 uch { &platid_mask_MACH_NEC_MCR_730A,
961 1.27 tv mobilepro8x0_keytrans,
962 1.1 uch NULL,
963 1.27 tv CMDMAP(mobilepro8x0_cmdmap),
964 1.1 uch KB_US },
965 1.1 uch { &platid_mask_MACH_NEC_MCR_MPRO700,
966 1.1 uch mobilepro_keytrans,
967 1.1 uch NULL,
968 1.1 uch NULLCMDMAP,
969 1.1 uch KB_US },
970 1.1 uch { &platid_mask_MACH_NEC_MCR_SIGMARION,
971 1.16 hamajima sigmarion_jp_keytrans,
972 1.16 hamajima NULL,
973 1.16 hamajima CMDMAP(sigmarion_cmdmap),
974 1.16 hamajima KB_JP },
975 1.16 hamajima { &platid_mask_MACH_NEC_MCR_SIGMARION2,
976 1.1 uch sigmarion_jp_keytrans,
977 1.1 uch NULL,
978 1.1 uch CMDMAP(sigmarion_cmdmap),
979 1.1 uch KB_JP },
980 1.1 uch { &platid_mask_MACH_NEC_MCR,
981 1.1 uch mcr_jp_keytrans,
982 1.1 uch NULL,
983 1.1 uch CMDMAP(mcr_jp_cmdmap),
984 1.1 uch KB_JP },
985 1.1 uch { &platid_mask_MACH_IBM_WORKPAD_Z50,
986 1.1 uch z50_keytrans,
987 1.1 uch NULL,
988 1.1 uch NULLCMDMAP,
989 1.1 uch KB_US },
990 1.1 uch { &platid_mask_MACH_SHARP_TRIPAD,
991 1.1 uch tripad_keytrans,
992 1.1 uch NULL,
993 1.1 uch NULLCMDMAP,
994 1.1 uch KB_US },
995 1.1 uch { &platid_mask_MACH_VADEM_CLIO_C,
996 1.1 uch tripad_keytrans,
997 1.1 uch NULL,
998 1.1 uch NULLCMDMAP,
999 1.1 uch KB_US },
1000 1.1 uch { &platid_mask_MACH_NEC_MCCS,
1001 1.1 uch mccs_keytrans,
1002 1.1 uch NULL,
1003 1.1 uch CMDMAP(mccs_cmdmap),
1004 1.1 uch KB_JP },
1005 1.1 uch { &platid_mask_MACH_FUJITSU_INTERTOP,
1006 1.1 uch intertop_keytrans,
1007 1.5 takemura NULL,
1008 1.5 takemura NULLCMDMAP,
1009 1.5 takemura KB_JP },
1010 1.5 takemura { &platid_mask_MACH_CASIO_POCKETPOSTPET,
1011 1.5 takemura pocketpostpet_keytrans,
1012 1.1 uch NULL,
1013 1.1 uch NULLCMDMAP,
1014 1.1 uch KB_JP },
1015 1.1 uch #endif /* hpcmips */
1016 1.2 uch #ifdef hpcsh
1017 1.7 uch /*
1018 1.7 uch * HP Jornada 680/690
1019 1.7 uch */
1020 1.6 uch /* Japanese */
1021 1.6 uch { &platid_mask_MACH_HP_JORNADA_680JP,
1022 1.3 uch jornada6x0_jp_keytrans,
1023 1.6 uch jornada6x0_special_keymap,
1024 1.3 uch NULLCMDMAP,
1025 1.3 uch KB_JP },
1026 1.6 uch { &platid_mask_MACH_HP_JORNADA_690JP,
1027 1.3 uch jornada6x0_jp_keytrans,
1028 1.6 uch jornada6x0_special_keymap,
1029 1.2 uch NULLCMDMAP,
1030 1.2 uch KB_JP },
1031 1.19 uwe /* US (ABA), UK (ABU) */
1032 1.13 uch { &platid_mask_MACH_HP_JORNADA_680,
1033 1.13 uch jornada6x0_us_keytrans,
1034 1.13 uch jornada6x0_special_keymap,
1035 1.19 uwe CMDMAP(jornada6x0_us_keydesc),
1036 1.13 uch KB_US },
1037 1.13 uch { &platid_mask_MACH_HP_JORNADA_690,
1038 1.13 uch jornada6x0_us_keytrans,
1039 1.13 uch jornada6x0_special_keymap,
1040 1.19 uwe CMDMAP(jornada6x0_us_keydesc),
1041 1.13 uch KB_US },
1042 1.19 uwe /* European English (ABB) */
1043 1.24 uwe { &platid_mask_MACH_HP_JORNADA_680EU,
1044 1.18 uwe jornada6x0_intl_keytrans,
1045 1.6 uch jornada6x0_special_keymap,
1046 1.19 uwe CMDMAP(jornada6x0_intl_keydesc),
1047 1.19 uwe KB_US },
1048 1.24 uwe { &platid_mask_MACH_HP_JORNADA_690EU,
1049 1.18 uwe jornada6x0_intl_keytrans,
1050 1.6 uch jornada6x0_special_keymap,
1051 1.19 uwe CMDMAP(jornada6x0_intl_keydesc),
1052 1.19 uwe KB_US },
1053 1.19 uwe /* German (ABD) */
1054 1.6 uch { &platid_mask_MACH_HP_JORNADA_680DE,
1055 1.18 uwe jornada6x0_intl_keytrans,
1056 1.6 uch jornada6x0_special_keymap,
1057 1.19 uwe CMDMAP(jornada6x0_de_keydesc),
1058 1.6 uch KB_DE },
1059 1.6 uch { &platid_mask_MACH_HP_JORNADA_690DE,
1060 1.18 uwe jornada6x0_intl_keytrans,
1061 1.6 uch jornada6x0_special_keymap,
1062 1.19 uwe CMDMAP(jornada6x0_de_keydesc),
1063 1.6 uch KB_DE },
1064 1.21 uwe /* French (ABF) */
1065 1.21 uwe { &platid_mask_MACH_HP_JORNADA_680FR,
1066 1.21 uwe jornada6x0_intl_keytrans,
1067 1.21 uwe jornada6x0_special_keymap,
1068 1.21 uwe CMDMAP(jornada6x0_fr_keydesc),
1069 1.21 uwe KB_FR },
1070 1.21 uwe { &platid_mask_MACH_HP_JORNADA_690FR,
1071 1.21 uwe jornada6x0_intl_keytrans,
1072 1.21 uwe jornada6x0_special_keymap,
1073 1.21 uwe CMDMAP(jornada6x0_fr_keydesc),
1074 1.21 uwe KB_FR },
1075 1.26 uwe /* Scandinavian */
1076 1.26 uwe { &platid_mask_MACH_HP_JORNADA_680SV,
1077 1.26 uwe jornada6x0_intl_keytrans,
1078 1.26 uwe jornada6x0_special_keymap,
1079 1.26 uwe CMDMAP(jornada6x0_scnv_keydesc),
1080 1.26 uwe KB_US },
1081 1.26 uwe { &platid_mask_MACH_HP_JORNADA_690SV,
1082 1.26 uwe jornada6x0_intl_keytrans,
1083 1.26 uwe jornada6x0_special_keymap,
1084 1.26 uwe CMDMAP(jornada6x0_scnv_keydesc),
1085 1.26 uwe KB_US },
1086 1.30 uwe /* Spanish (ABE) */
1087 1.30 uwe { &platid_mask_MACH_HP_JORNADA_680ES,
1088 1.30 uwe jornada6x0_intl_keytrans,
1089 1.30 uwe jornada6x0_special_keymap,
1090 1.30 uwe CMDMAP(jornada6x0_es_keydesc),
1091 1.30 uwe KB_ES },
1092 1.30 uwe { &platid_mask_MACH_HP_JORNADA_690ES,
1093 1.30 uwe jornada6x0_intl_keytrans,
1094 1.30 uwe jornada6x0_special_keymap,
1095 1.30 uwe CMDMAP(jornada6x0_es_keydesc),
1096 1.30 uwe KB_ES },
1097 1.7 uch /*
1098 1.7 uch * HP 620LX
1099 1.7 uch */
1100 1.7 uch /* Japanese */
1101 1.7 uch { &platid_mask_MACH_HP_LX_620JP,
1102 1.7 uch hp620lx_jp_keytrans,
1103 1.7 uch hp620lx_special_keymap,
1104 1.11 uch NULLCMDMAP,
1105 1.11 uch KB_JP },
1106 1.35 uwe /* Other models */
1107 1.35 uwe { &platid_mask_MACH_HP_LX_620,
1108 1.35 uwe hp620lx_intl_keytrans,
1109 1.35 uwe hp620lx_special_keymap,
1110 1.35 uwe NULLCMDMAP,
1111 1.35 uwe KB_US },
1112 1.35 uwe
1113 1.11 uch /*
1114 1.11 uch * PERSONA HPW50PAD
1115 1.11 uch */
1116 1.11 uch /* Japanese */
1117 1.11 uch { &platid_mask_MACH_HITACHI_PERSONA_HPW50PAD,
1118 1.11 uch persona_hpw50pad_jp_keytrans,
1119 1.11 uch persona_hpw50pad_special_keymap,
1120 1.37 kiyohara CMDMAP(persona_hpw50pad_jp_keydesc),
1121 1.7 uch KB_JP },
1122 1.28 uch
1123 1.28 uch /*
1124 1.28 uch * PERSONA HPW200EC
1125 1.28 uch */
1126 1.28 uch /* US */
1127 1.28 uch { &platid_mask_MACH_HITACHI_PERSONA_HPW200EC,
1128 1.28 uch persona_hpw200ec_keytrans,
1129 1.28 uch persona_hpw200ec_special_keymap,
1130 1.28 uch NULLCMDMAP,
1131 1.28 uch KB_US },
1132 1.28 uch
1133 1.2 uch #endif /* hpcsh */
1134 1.1 uch { NULL } /* end mark */
1135 1.1 uch };
1136