1 /* $OpenBSD$ */ 2 3 /* 4 * THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT. 5 * 6 * generated by: 7 * OpenBSD: makemap.awk,v 1.6 2005/05/23 21:33:03 miod Exp 8 * generated from: 9 */ 10 /* OpenBSD: wskbdmap_mfii.c,v 1.30 2005/05/09 05:08:57 miod Exp */ 11 /* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */ 12 13 /* 14 * PLEASE DO NOT FORGET TO REGEN 15 * sys/arch/hppa/gsc/gsckbdmap.c 16 * sys/dev/usb/ukbdmap.c 17 * AFTER ANY CHANGES TO THIS FILE! 18 */ 19 20 /*- 21 * Copyright (c) 1997 The NetBSD Foundation, Inc. 22 * All rights reserved. 23 * 24 * This code is derived from software contributed to The NetBSD Foundation 25 * by Juergen Hannken-Illjes. 26 * 27 * Redistribution and use in source and binary forms, with or without 28 * modification, are permitted provided that the following conditions 29 * are met: 30 * 1. Redistributions of source code must retain the above copyright 31 * notice, this list of conditions and the following disclaimer. 32 * 2. Redistributions in binary form must reproduce the above copyright 33 * notice, this list of conditions and the following disclaimer in the 34 * documentation and/or other materials provided with the distribution. 35 * 3. All advertising materials mentioning features or use of this software 36 * must display the following acknowledgement: 37 * This product includes software developed by the NetBSD 38 * Foundation, Inc. and its contributors. 39 * 4. Neither the name of The NetBSD Foundation nor the names of its 40 * contributors may be used to endorse or promote products derived 41 * from this software without specific prior written permission. 42 * 43 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 44 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 45 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 46 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 47 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 48 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 49 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 50 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 51 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 52 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 53 * POSSIBILITY OF SUCH DAMAGE. 54 */ 55 56 #include <sys/types.h> 57 #include <dev/wscons/wsksymdef.h> 58 #include <dev/wscons/wsksymvar.h> 59 #include <dev/usb/usb_port.h> 60 61 #define KC(n) KS_KEYCODE(n) 62 63 static const keysym_t ukbd_keydesc_us[] = { 64 /* pos command normal shifted */ 65 KC(4), KS_a, 66 KC(5), KS_b, 67 KC(6), KS_c, 68 KC(7), KS_d, 69 KC(8), KS_e, 70 KC(9), KS_f, 71 KC(10), KS_g, 72 KC(11), KS_h, 73 KC(12), KS_i, 74 KC(13), KS_j, 75 KC(14), KS_k, 76 KC(15), KS_l, 77 KC(16), KS_m, 78 KC(17), KS_n, 79 KC(18), KS_o, 80 KC(19), KS_p, 81 KC(20), KS_q, 82 KC(21), KS_r, 83 KC(22), KS_s, 84 KC(23), KS_t, 85 KC(24), KS_u, 86 KC(25), KS_v, 87 KC(26), KS_w, 88 KC(27), KS_x, 89 KC(28), KS_y, 90 KC(29), KS_z, 91 KC(30), KS_1, KS_exclam, 92 KC(31), KS_2, KS_at, 93 KC(32), KS_3, KS_numbersign, 94 KC(33), KS_4, KS_dollar, 95 KC(34), KS_5, KS_percent, 96 KC(35), KS_6, KS_asciicircum, 97 KC(36), KS_7, KS_ampersand, 98 KC(37), KS_8, KS_asterisk, 99 KC(38), KS_9, KS_parenleft, 100 KC(39), KS_0, KS_parenright, 101 KC(40), KS_Return, 102 KC(41), KS_Cmd_Debugger,KS_Escape, 103 KC(42), KS_Cmd_ResetEmul,KS_Delete, 104 KC(43), KS_Tab, 105 KC(44), KS_space, 106 KC(45), KS_minus, KS_underscore, 107 KC(46), KS_equal, KS_plus, 108 KC(47), KS_bracketleft, KS_braceleft, 109 KC(48), KS_bracketright,KS_braceright, 110 KC(49), KS_backslash, KS_bar, 111 KC(50), KS_backslash, KS_bar, 112 KC(51), KS_semicolon, KS_colon, 113 KC(52), KS_apostrophe, KS_quotedbl, 114 KC(53), KS_grave, KS_asciitilde, 115 KC(54), KS_comma, KS_less, 116 KC(55), KS_period, KS_greater, 117 KC(56), KS_slash, KS_question, 118 KC(57), KS_Caps_Lock, 119 KC(58), KS_Cmd_Screen0, KS_f1, 120 KC(59), KS_Cmd_Screen1, KS_f2, 121 KC(60), KS_Cmd_Screen2, KS_f3, 122 KC(61), KS_Cmd_Screen3, KS_f4, 123 KC(62), KS_Cmd_Screen4, KS_f5, 124 KC(63), KS_Cmd_Screen5, KS_f6, 125 KC(64), KS_Cmd_Screen6, KS_f7, 126 KC(65), KS_Cmd_Screen7, KS_f8, 127 KC(66), KS_Cmd_Screen8, KS_f9, 128 KC(67), KS_Cmd_Screen9, KS_f10, 129 KC(68), KS_Cmd_Screen10,KS_f11, 130 KC(69), KS_Cmd_Screen11,KS_f12, 131 KC(70), KS_Print_Screen, 132 KC(71), KS_Hold_Screen, 133 KC(72), KS_Pause, /*Break*/ 134 KC(73), KS_Insert, 135 KC(74), KS_Home, 136 KC(75), KS_Cmd_ScrollBack,KS_Prior, 137 KC(76), KS_Cmd_ResetEmul,KS_Delete, 138 KC(77), KS_End, 139 KC(78), KS_Cmd_ScrollFwd,KS_Next, 140 KC(79), KS_Right, 141 KC(80), KS_Left, 142 KC(81), KS_Down, 143 KC(82), KS_Up, 144 KC(83), KS_Num_Lock, 145 KC(84), KS_KP_Divide, 146 KC(85), KS_KP_Multiply, 147 KC(86), KS_KP_Subtract, 148 KC(87), KS_KP_Add, 149 KC(88), KS_KP_Enter, 150 KC(89), KS_KP_End, KS_KP_1, 151 KC(90), KS_KP_Down, KS_KP_2, 152 KC(91), KS_KP_Next, KS_KP_3, 153 KC(92), KS_KP_Left, KS_KP_4, 154 KC(93), KS_KP_Begin, KS_KP_5, 155 KC(94), KS_KP_Right, KS_KP_6, 156 KC(95), KS_KP_Home, KS_KP_7, 157 KC(96), KS_KP_Up, KS_KP_8, 158 KC(97), KS_KP_Prior, KS_KP_9, 159 KC(98), KS_KP_Insert, KS_KP_0, 160 KC(99), KS_Cmd_KbdReset,KS_KP_Delete, 161 KC(101), KS_Menu, 162 KC(224), KS_Cmd1, KS_Control_L, 163 KC(225), KS_Shift_L, 164 KC(226), KS_Cmd2, KS_Alt_L, 165 KC(227), KS_Meta_L, 166 KC(228), KS_Cmd1, KS_Control_R, 167 KC(229), KS_Shift_R, 168 KC(230), KS_Cmd2, KS_Alt_R, KS_Multi_key, 169 KC(231), KS_Meta_R, 170 }; 171 172 #if !defined(SMALL_KERNEL) || !defined(__alpha__) 173 174 static const keysym_t ukbd_keydesc_de[] = { 175 /* pos normal shifted altgr shift-altgr */ 176 KC(16), KS_m, KS_M, KS_mu, 177 KC(20), KS_q, KS_Q, KS_at, 178 KC(28), KS_z, 179 KC(29), KS_y, 180 KC(31), KS_2, KS_quotedbl, KS_twosuperior, 181 KC(32), KS_3, KS_section, KS_threesuperior, 182 KC(35), KS_6, KS_ampersand, 183 KC(36), KS_7, KS_slash, KS_braceleft, 184 KC(37), KS_8, KS_parenleft, KS_bracketleft, 185 KC(38), KS_9, KS_parenright, KS_bracketright, 186 KC(39), KS_0, KS_equal, KS_braceright, 187 KC(45), KS_ssharp, KS_question, KS_backslash, 188 KC(46), KS_dead_acute, KS_dead_grave, 189 KC(47), KS_udiaeresis, 190 KC(48), KS_plus, KS_asterisk, KS_dead_tilde, 191 KC(49), KS_numbersign, KS_apostrophe, 192 KC(50), KS_numbersign, KS_apostrophe, 193 KC(51), KS_odiaeresis, 194 KC(52), KS_adiaeresis, 195 KC(53), KS_dead_circumflex,KS_dead_abovering, 196 KC(54), KS_comma, KS_semicolon, 197 KC(55), KS_period, KS_colon, 198 KC(56), KS_minus, KS_underscore, 199 KC(100), KS_less, KS_greater, KS_bar, KS_brokenbar, 200 KC(230), KS_Mode_switch, KS_Multi_key, 201 }; 202 203 static const keysym_t ukbd_keydesc_de_nodead[] = { 204 /* pos normal shifted altgr shift-altgr */ 205 KC(46), KS_apostrophe, KS_grave, 206 KC(48), KS_plus, KS_asterisk, KS_asciitilde, 207 KC(53), KS_asciicircum, KS_degree, 208 }; 209 210 static const keysym_t ukbd_keydesc_dk[] = { 211 /* pos normal shifted altgr shift-altgr */ 212 KC(31), KS_2, KS_quotedbl, KS_at, 213 KC(32), KS_3, KS_numbersign, KS_sterling, 214 KC(33), KS_4, KS_currency, KS_dollar, 215 KC(35), KS_6, KS_ampersand, 216 KC(36), KS_7, KS_slash, KS_braceleft, 217 KC(37), KS_8, KS_parenleft, KS_bracketleft, 218 KC(38), KS_9, KS_parenright, KS_bracketright, 219 KC(39), KS_0, KS_equal, KS_braceright, 220 KC(45), KS_plus, KS_question, 221 KC(46), KS_dead_acute, KS_dead_grave, KS_bar, 222 KC(47), KS_aring, 223 KC(48), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde, 224 KC(49), KS_apostrophe, KS_asterisk, 225 KC(50), KS_apostrophe, KS_asterisk, 226 KC(51), KS_ae, 227 KC(52), KS_oslash, 228 KC(53), KS_onehalf, KS_paragraph, 229 KC(54), KS_comma, KS_semicolon, 230 KC(55), KS_period, KS_colon, 231 KC(56), KS_minus, KS_underscore, 232 KC(100), KS_less, KS_greater, KS_backslash, 233 KC(230), KS_Mode_switch, KS_Multi_key, 234 }; 235 236 static const keysym_t ukbd_keydesc_dk_nodead[] = { 237 /* pos normal shifted altgr shift-altgr */ 238 KC(46), KS_apostrophe, KS_grave, KS_bar, 239 KC(48), KS_diaeresis, KS_asciicircum, KS_asciitilde, 240 }; 241 242 static const keysym_t ukbd_keydesc_sv[] = { 243 /* pos normal shifted altgr shift-altgr */ 244 KC(45), KS_plus, KS_question, KS_backslash, 245 KC(48), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde, 246 KC(51), KS_odiaeresis, 247 KC(52), KS_adiaeresis, 248 KC(53), KS_section, KS_onehalf, 249 KC(100), KS_less, KS_greater, KS_bar, 250 KC(230), KS_Mode_switch, KS_Multi_key, 251 }; 252 253 static const keysym_t ukbd_keydesc_sv_nodead[] = { 254 /* pos normal shifted altgr shift-altgr */ 255 KC(46), KS_apostrophe, KS_grave, KS_bar, 256 KC(48), KS_diaeresis, KS_asciicircum, KS_asciitilde, 257 }; 258 259 static const keysym_t ukbd_keydesc_no[] = { 260 /* pos normal shifted altgr shift-altgr */ 261 KC(46), KS_backslash, KS_dead_grave, KS_dead_acute, 262 KC(48), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde, 263 KC(51), KS_oslash, 264 KC(52), KS_ae, 265 KC(53), KS_bar, KS_paragraph, 266 KC(100), KS_less, KS_greater, 267 }; 268 269 static const keysym_t ukbd_keydesc_no_nodead[] = { 270 /* pos normal shifted altgr shift-altgr */ 271 KC(46), KS_backslash, KS_grave, KS_acute, 272 KC(48), KS_diaeresis, KS_asciicircum, KS_asciitilde, 273 }; 274 275 static const keysym_t ukbd_keydesc_fr[] = { 276 /* pos normal shifted altgr shift-altgr */ 277 KC(4), KS_q, 278 KC(16), KS_comma, KS_question, 279 KC(20), KS_a, 280 KC(26), KS_z, 281 KC(29), KS_w, 282 KC(30), KS_ampersand, KS_1, 283 KC(31), KS_eacute, KS_2, KS_asciitilde, 284 KC(32), KS_quotedbl, KS_3, KS_numbersign, 285 KC(33), KS_apostrophe, KS_4, KS_braceleft, 286 KC(34), KS_parenleft, KS_5, KS_bracketleft, 287 KC(35), KS_minus, KS_6, KS_bar, 288 KC(36), KS_egrave, KS_7, KS_grave, 289 KC(37), KS_underscore, KS_8, KS_backslash, 290 KC(38), KS_ccedilla, KS_9, KS_asciicircum, 291 KC(39), KS_agrave, KS_0, KS_at, 292 KC(45), KS_parenright, KS_degree, KS_bracketright, 293 KC(46), KS_equal, KS_plus, KS_braceright, 294 KC(47), KS_dead_circumflex,KS_dead_diaeresis, 295 KC(48), KS_dollar, KS_sterling, KS_currency, 296 KC(49), KS_asterisk, KS_mu, 297 KC(50), KS_asterisk, KS_mu, 298 KC(51), KS_m, 299 KC(52), KS_ugrave, KS_percent, 300 KC(53), KS_twosuperior, 301 KC(54), KS_semicolon, KS_period, 302 KC(55), KS_colon, KS_slash, 303 KC(56), KS_exclam, KS_section, 304 KC(100), KS_less, KS_greater, 305 KC(230), KS_Mode_switch, KS_Multi_key, 306 }; 307 308 static const keysym_t ukbd_keydesc_fr_apple[] = { 309 KC(5), KS_b, KS_B, KS_ssharp, 310 KC(8), KS_e, KS_E, KS_ecircumflex, KS_Ecircumflex, 311 KC(11), KS_h, KS_H, KS_Igrave, KS_Icircumflex, 312 KC(12), KS_i, KS_I, KS_icircumflex, KS_idiaeresis, 313 KC(13), KS_j, KS_J, KS_Idiaeresis, KS_Iacute, 314 KC(14), KS_k, KS_K, KS_Egrave, KS_Ediaeresis, 315 KC(15), KS_l, KS_L, KS_voidSymbol, KS_bar, 316 KC(16), KS_comma, KS_question, KS_voidSymbol, KS_questiondown, 317 KC(17), KS_n, KS_N, KS_asciitilde, 318 KC(20), KS_a, KS_A, KS_ae, KS_AE, 319 KC(21), KS_r, KS_R, KS_registered, KS_comma, 320 KC(22), KS_s, KS_S, KS_Ograve, 321 KC(26), KS_z, KS_Z, KS_Acircumflex, KS_Aring, 322 KC(28), KS_y, KS_Y, KS_Uacute, 323 KC(31), KS_eacute, KS_2, KS_ediaeresis, 324 KC(32), KS_quotedbl, KS_3, 325 KC(33), KS_apostrophe, KS_4, 326 KC(34), KS_parenleft, KS_5, KS_braceleft, KS_bracketleft, 327 KC(35), KS_section, KS_6, 328 KC(36), KS_egrave, KS_7, KS_guillemotleft, 329 KS_guillemotright, 330 KC(37), KS_exclam, KS_8, 331 KC(38), KS_ccedilla, KS_9, KS_Ccedilla, KS_Aacute, 332 KC(37), KS_exclam, KS_8, KS_exclamdown, KS_Ucircumflex, 333 KC(39), KS_agrave, KS_0, KS_oslash, KS_Ooblique, 334 KC(45), KS_parenright, KS_degree, KS_braceright, KS_bracketright, 335 KC(46), KS_minus, KS_underscore, 336 KC(47), KS_dead_circumflex, KS_dead_diaeresis, 337 KS_ocircumflex, KS_Ocircumflex, 338 KC(48), KS_dollar, KS_asterisk, KS_cent, KS_yen, 339 KC(50), KS_grave, KS_sterling, KS_at, KS_numbersign, 340 KC(51), KS_m, KS_M, KS_mu, KS_Oacute, 341 KC(52), KS_ugrave, KS_percent, KS_Ugrave, 342 KC(53), KS_at, KS_numbersign, 343 KC(55), KS_colon, KS_slash, KS_voidSymbol, KS_backslash, 344 KC(56), KS_equal, KS_plus, 345 KC(103), KS_KP_Equal, 346 KC(231), KS_Mode_switch, KS_Multi_key, 347 }; 348 349 static const keysym_t ukbd_keydesc_it[] = { 350 /* pos normal shifted altgr shift-altgr */ 351 KC(31), KS_2, KS_quotedbl, KS_twosuperior, 352 KC(32), KS_3, KS_sterling, KS_threesuperior, 353 KC(34), KS_5, KS_percent, 354 KC(35), KS_6, KS_ampersand, 355 KC(36), KS_7, KS_slash, 356 KC(37), KS_8, KS_parenleft, 357 KC(38), KS_9, KS_parenright, 358 KC(39), KS_0, KS_equal, 359 KC(45), KS_apostrophe, KS_question, 360 KC(46), KS_igrave, KS_asciicircum, 361 KC(47), KS_egrave, KS_eacute, KS_braceleft, KS_bracketleft, 362 KC(48), KS_plus, KS_asterisk, KS_braceright, KS_bracketright, 363 KC(49), KS_ugrave, KS_section, 364 KC(50), KS_ugrave, KS_section, 365 KC(51), KS_ograve, KS_Ccedilla, KS_at, 366 KC(52), KS_agrave, KS_degree, KS_numbersign, 367 KC(53), KS_backslash, KS_bar, 368 KC(54), KS_comma, KS_semicolon, 369 KC(55), KS_period, KS_colon, 370 KC(56), KS_minus, KS_underscore, 371 KC(100), KS_less, KS_greater, 372 KC(230), KS_Mode_switch, KS_Multi_key, 373 }; 374 375 static const keysym_t ukbd_keydesc_uk[] = { 376 /* pos normal shifted altgr shift-altgr */ 377 KC(30), KS_1, KS_exclam, KS_plusminus, KS_exclamdown, 378 KC(31), KS_2, KS_quotedbl, KS_twosuperior, KS_cent, 379 KC(32), KS_3, KS_sterling, KS_threesuperior, 380 KC(33), KS_4, KS_dollar, KS_acute, KS_currency, 381 KC(34), KS_5, KS_percent, KS_mu, KS_yen, 382 KC(35), KS_6, KS_asciicircum, KS_paragraph, 383 KC(36), KS_7, KS_ampersand, KS_periodcentered,KS_brokenbar, 384 KC(37), KS_8, KS_asterisk, KS_cedilla, KS_ordfeminine, 385 KC(38), KS_9, KS_parenleft, KS_onesuperior, KS_diaeresis, 386 KC(39), KS_0, KS_parenright, KS_masculine, KS_copyright, 387 KC(45), KS_minus, KS_underscore, KS_hyphen, KS_ssharp, 388 KC(46), KS_equal, KS_plus, KS_onehalf, KS_guillemotleft, 389 KC(49), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn, 390 KC(50), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn, 391 KC(52), KS_apostrophe, KS_at, KS_section, KS_Agrave, 392 KC(53), KS_grave, KS_grave, KS_agrave, KS_agrave, 393 KC(100), KS_backslash, KS_bar, KS_Udiaeresis, 394 }; 395 396 static const keysym_t ukbd_keydesc_jp[] = { 397 /* pos normal shifted altgr shift-altgr */ 398 KC(31), KS_2, KS_quotedbl, 399 KC(35), KS_6, KS_ampersand, 400 KC(36), KS_7, KS_apostrophe, 401 KC(37), KS_8, KS_parenleft, 402 KC(38), KS_9, KS_parenright, 403 KC(39), KS_0, 404 KC(45), KS_minus, KS_equal, 405 KC(46), KS_asciicircum, KS_asciitilde, 406 KC(47), KS_at, KS_grave, 407 KC(48), KS_bracketleft, KS_braceleft, 408 KC(49), KS_bracketright,KS_braceright, 409 KC(50), KS_bracketright,KS_braceright, 410 KC(51), KS_semicolon, KS_plus, 411 KC(52), KS_colon, KS_asterisk, 412 KC(53), KS_Zenkaku_Hankaku,/*replacegrave/tilde*/ 413 KC(135), KS_Hiragana_Katakana, 414 KC(136), KS_backslash, KS_underscore, 415 KC(137), KS_Henkan, 416 KC(138), KS_Muhenkan, 417 KC(139), KS_backslash, KS_bar, 418 }; 419 420 static const keysym_t ukbd_keydesc_es[] = { 421 /* pos normal shifted altgr shift-altgr */ 422 KC(30), KS_1, KS_exclam, KS_bar, 423 KC(31), KS_2, KS_quotedbl, KS_at, 424 KC(32), KS_3, KS_periodcentered,KS_numbersign, 425 KC(33), KS_4, KS_dollar, KS_asciitilde, 426 KC(35), KS_6, KS_ampersand, 427 KC(36), KS_7, KS_slash, 428 KC(37), KS_8, KS_parenleft, 429 KC(38), KS_9, KS_parenright, 430 KC(39), KS_0, KS_equal, 431 KC(45), KS_apostrophe, KS_question, 432 KC(46), KS_exclamdown, KS_questiondown, 433 KC(47), KS_dead_grave, KS_dead_circumflex,KS_bracketleft, 434 KC(48), KS_plus, KS_asterisk, KS_bracketright, 435 KC(49), KS_ccedilla, KS_Ccedilla, KS_braceright, 436 KC(50), KS_ccedilla, KS_Ccedilla, KS_braceright, 437 KC(51), KS_ntilde, 438 KC(52), KS_dead_acute, KS_dead_diaeresis,KS_braceleft, 439 KC(53), KS_degree, KS_ordfeminine, KS_backslash, 440 KC(54), KS_comma, KS_semicolon, 441 KC(55), KS_period, KS_colon, 442 KC(56), KS_minus, KS_underscore, 443 KC(100), KS_less, KS_greater, 444 KC(230), KS_Mode_switch, KS_Multi_key, 445 }; 446 447 static const keysym_t ukbd_keydesc_lt[] = { 448 /* pos normal shifted altgr shift-altgr */ 449 KC(8), KS_e, KS_E, KS_currency, 450 KC(9), KS_L7_scaron, KS_L7_Scaron, 451 KC(20), KS_L7_aogonek, KS_L7_Aogonek, 452 KC(26), KS_L7_zcaron, KS_L7_Zcaron, 453 KC(27), KS_L7_umacron, KS_L7_Umacron, 454 KC(30), KS_exclam, KS_1, KS_at, 455 KC(31), KS_minus, KS_2, KS_underscore, 456 KC(32), KS_slash, KS_3, KS_numbersign, 457 KC(33), KS_semicolon, KS_4, KS_dollar, 458 KC(34), KS_colon, KS_5, KS_paragraph, 459 KC(35), KS_comma, KS_6, KS_asciicircum, 460 KC(36), KS_period, KS_7, KS_ampersand, 461 KC(37), KS_equal, KS_8, KS_asterisk, 462 KC(38), KS_bracketleft, KS_9, KS_parenleft, 463 KC(39), KS_bracketright,KS_0, KS_parenright, 464 KC(44), KS_space, KS_space, KS_nobreakspace, 465 KC(45), KS_question, KS_plus, KS_apostrophe, 466 KC(46), KS_x, KS_X, KS_percent, 467 KC(47), KS_L7_iogonek, KS_L7_Iogonek, KS_braceleft, 468 KC(48), KS_w, KS_W, KS_braceright, 469 KC(49), KS_q, KS_Q, KS_bar, 470 KC(50), KS_q, KS_Q, KS_bar, 471 KC(51), KS_L7_uogonek, KS_L7_Uogonek, 472 KC(52), KS_L7_edot, KS_L7_Edot, KS_quotedbl, 473 KC(53), KS_grave, KS_asciitilde, 474 KC(54), KS_L7_ccaron, KS_L7_Ccaron, KS_L7_dbllow9quot, 475 KC(55), KS_f, KS_F, KS_L7_leftdblquot, 476 KC(56), KS_L7_eogonek, KS_L7_Eogonek, KS_backslash, 477 KC(230), KS_Mode_switch, KS_Multi_key, 478 }; 479 480 static const keysym_t ukbd_keydesc_be[] = { 481 /* pos normal shifted altgr shift-altgr */ 482 KC(4), KS_q, 483 KC(16), KS_comma, KS_question, 484 KC(20), KS_a, 485 KC(26), KS_z, 486 KC(29), KS_w, 487 KC(30), KS_ampersand, KS_1, KS_bar, 488 KC(31), KS_eacute, KS_2, KS_at, 489 KC(32), KS_quotedbl, KS_3, KS_numbersign, 490 KC(33), KS_apostrophe, KS_4, 491 KC(34), KS_parenleft, KS_5, 492 KC(35), KS_section, KS_6, KS_asciicircum, 493 KC(36), KS_egrave, KS_7, 494 KC(37), KS_exclam, KS_8, 495 KC(38), KS_ccedilla, KS_9, KS_braceleft, 496 KC(39), KS_agrave, KS_0, KS_braceright, 497 KC(45), KS_parenright, KS_degree, 498 KC(46), KS_minus, KS_underscore, 499 KC(47), KS_dead_circumflex,KS_dead_diaeresis,KS_bracketleft, 500 KC(48), KS_dollar, KS_asterisk, KS_bracketright, 501 KC(49), KS_mu, KS_sterling, KS_grave, 502 KC(50), KS_mu, KS_sterling, KS_grave, 503 KC(51), KS_m, 504 KC(52), KS_ugrave, KS_percent, KS_acute, 505 KC(53), KS_twosuperior, KS_threesuperior, 506 KC(54), KS_semicolon, KS_period, 507 KC(55), KS_colon, KS_slash, 508 KC(56), KS_equal, KS_plus, KS_asciitilde, 509 KC(100), KS_less, KS_greater, KS_backslash, 510 KC(230), KS_Mode_switch, KS_Multi_key, 511 }; 512 513 514 static const keysym_t ukbd_keydesc_us_dvorak[] = { 515 /* pos command normal shifted */ 516 KC(5), KS_x, 517 KC(6), KS_j, 518 KC(7), KS_e, 519 KC(8), KS_period, KS_greater, 520 KC(9), KS_u, 521 KC(10), KS_i, 522 KC(11), KS_d, 523 KC(12), KS_c, 524 KC(13), KS_h, 525 KC(14), KS_t, 526 KC(15), KS_n, 527 KC(17), KS_b, 528 KC(18), KS_r, 529 KC(19), KS_l, 530 KC(20), KS_apostrophe, KS_quotedbl, 531 KC(21), KS_p, 532 KC(22), KS_o, 533 KC(23), KS_y, 534 KC(24), KS_g, 535 KC(25), KS_k, 536 KC(26), KS_comma, KS_less, 537 KC(27), KS_q, 538 KC(28), KS_f, 539 KC(29), KS_semicolon, KS_colon, 540 KC(45), KS_bracketleft, KS_braceleft, 541 KC(46), KS_bracketright,KS_braceright, 542 KC(47), KS_slash, KS_question, 543 KC(48), KS_equal, KS_plus, 544 KC(51), KS_s, 545 KC(52), KS_minus, KS_underscore, 546 KC(54), KS_w, 547 KC(55), KS_v, 548 KC(56), KS_z, 549 }; 550 551 static const keysym_t ukbd_keydesc_swapctrlcaps[] = { 552 /* pos command normal shifted */ 553 KC(57), KS_Cmd1, KS_Control_L, 554 KC(224), KS_Caps_Lock, 555 }; 556 557 static const keysym_t ukbd_keydesc_iopener[] = { 558 /* pos command normal shifted */ 559 KC(58), KS_Cmd_Debugger,KS_Escape, 560 KC(59), KS_Cmd_Screen0, KS_f1, 561 KC(60), KS_Cmd_Screen1, KS_f2, 562 KC(61), KS_Cmd_Screen2, KS_f3, 563 KC(62), KS_Cmd_Screen3, KS_f4, 564 KC(63), KS_Cmd_Screen4, KS_f5, 565 KC(64), KS_Cmd_Screen5, KS_f6, 566 KC(65), KS_Cmd_Screen6, KS_f7, 567 KC(66), KS_Cmd_Screen7, KS_f8, 568 KC(67), KS_Cmd_Screen8, KS_f9, 569 KC(68), KS_Cmd_Screen9, KS_f10, 570 KC(69), KS_f11, 571 }; 572 573 static const keysym_t ukbd_keydesc_ru[] = { 574 /* pos normal shifted altgr shift-altgr */ 575 KC(4), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF, 576 KC(5), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I, 577 KC(6), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES, 578 KC(7), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE, 579 KC(8), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U, 580 KC(9), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A, 581 KC(10), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE, 582 KC(11), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER, 583 KC(12), KS_i, KS_I, KS_Cyrillic_sha,KS_Cyrillic_SHA, 584 KC(13), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O, 585 KC(14), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL, 586 KC(15), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE, 587 KC(16), KS_m, KS_M, KS_Cyrillic_ssighn,KS_Cyrillic_SSIGHN, 588 KC(17), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE, 589 KC(18), KS_o, KS_O, KS_Cyrillic_scha,KS_Cyrillic_SCHA, 590 KC(19), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE, 591 KC(20), KS_q, KS_Q, KS_Cyrillic_ishort,KS_Cyrillic_ISHORT, 592 KC(21), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA, 593 KC(22), KS_s, KS_S, KS_Cyrillic_yeru,KS_Cyrillic_YERU, 594 KC(23), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE, 595 KC(24), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE, 596 KC(25), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM, 597 KC(26), KS_w, KS_W, KS_Cyrillic_tse,KS_Cyrillic_TSE, 598 KC(27), KS_x, KS_X, KS_Cyrillic_che,KS_Cyrillic_CHE, 599 KC(28), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN, 600 KC(29), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA, 601 KC(35), KS_6, KS_asciicircum, KS_6, KS_comma, 602 KC(36), KS_7, KS_ampersand, KS_7, KS_period, 603 KC(47), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA, 604 KC(48), KS_bracketright,KS_braceright, KS_Cyrillic_hsighn,KS_Cyrillic_HSIGHN, 605 KC(51), KS_semicolon, KS_colon, KS_Cyrillic_zhe,KS_Cyrillic_ZHE, 606 KC(52), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E, 607 KC(54), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE, 608 KC(55), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU, 609 KC(56), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO, 610 KC(230), KS_Mode_switch, KS_Multi_key, 611 }; 612 613 static const keysym_t ukbd_keydesc_ua[] = { 614 /* pos normal shifted altgr shift-altgr */ 615 KC(4), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF, 616 KC(5), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I, 617 KC(6), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES, 618 KC(7), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE, 619 KC(8), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U, 620 KC(9), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A, 621 KC(10), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE, 622 KC(11), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER, 623 KC(12), KS_i, KS_I, KS_Cyrillic_sha,KS_Cyrillic_SHA, 624 KC(13), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O, 625 KC(14), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL, 626 KC(15), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE, 627 KC(16), KS_m, KS_M, KS_Cyrillic_ssighn,KS_Cyrillic_SSIGHN, 628 KC(17), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE, 629 KC(18), KS_o, KS_O, KS_Cyrillic_scha,KS_Cyrillic_SCHA, 630 KC(19), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE, 631 KC(20), KS_q, KS_Q, KS_Cyrillic_ishort,KS_Cyrillic_ISHORT, 632 KC(21), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA, 633 KC(22), KS_s, KS_S, KS_Cyrillic_yeru,KS_Cyrillic_YERU, 634 KC(23), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE, 635 KC(24), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE, 636 KC(25), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM, 637 KC(26), KS_w, KS_W, KS_Cyrillic_tse,KS_Cyrillic_TSE, 638 KC(27), KS_x, KS_X, KS_Cyrillic_che,KS_Cyrillic_CHE, 639 KC(28), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN, 640 KC(29), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA, 641 KC(35), KS_6, KS_asciicircum, KS_6, KS_comma, 642 KC(36), KS_7, KS_ampersand, KS_7, KS_period, 643 KC(45), KS_minus, KS_underscore, KS_Cyrillic_iukr,KS_Cyrillic_IUKR, 644 KC(46), KS_equal, KS_plus, KS_Cyrillic_yeukr,KS_Cyrillic_YEUKR, 645 KC(47), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA, 646 KC(48), KS_bracketright,KS_braceright, KS_Cyrillic_hsighn,KS_Cyrillic_HSIGHN, 647 KC(49), KS_backslash, KS_bar, KS_Cyrillic_yi, KS_Cyrillic_YI, 648 KC(50), KS_backslash, KS_bar, KS_Cyrillic_yi, KS_Cyrillic_YI, 649 KC(51), KS_semicolon, KS_colon, KS_Cyrillic_zhe,KS_Cyrillic_ZHE, 650 KC(52), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E, 651 KC(53), KS_grave, KS_asciitilde, KS_Cyrillic_gheukr,KS_Cyrillic_GHEUKR, 652 KC(54), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE, 653 KC(55), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU, 654 KC(56), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO, 655 KC(230), KS_Mode_switch, KS_Multi_key, 656 }; 657 658 static const keysym_t ukbd_keydesc_sg[] = { 659 /* pos normal shifted altgr shift-altgr */ 660 KC(8), KS_e, KS_E, KS_currency, 661 KC(28), KS_z, 662 KC(29), KS_y, 663 KC(30), KS_1, KS_plus, KS_bar, 664 KC(31), KS_2, KS_quotedbl, KS_at, 665 KC(32), KS_3, KS_asterisk, KS_numbersign, 666 KC(33), KS_4, KS_ccedilla, 667 KC(35), KS_6, KS_ampersand, KS_notsign, 668 KC(36), KS_7, KS_slash, KS_brokenbar, 669 KC(37), KS_8, KS_parenleft, KS_cent, 670 KC(38), KS_9, KS_parenright, 671 KC(39), KS_0, KS_equal, 672 KC(45), KS_apostrophe, KS_question, KS_dead_acute, 673 KC(46), KS_dead_circumflex,KS_dead_grave,KS_dead_tilde, 674 KC(47), KS_udiaeresis, KS_egrave, KS_bracketleft, 675 KC(48), KS_dead_diaeresis,KS_exclam, KS_bracketright, 676 KC(49), KS_dollar, KS_sterling, KS_braceright, 677 KC(50), KS_dollar, KS_sterling, KS_braceright, 678 KC(51), KS_odiaeresis, KS_eacute, 679 KC(52), KS_adiaeresis, KS_agrave, KS_braceleft, 680 KC(53), KS_section, KS_degree, KS_dead_abovering, 681 KC(54), KS_comma, KS_semicolon, 682 KC(55), KS_period, KS_colon, 683 KC(56), KS_minus, KS_underscore, 684 KC(100), KS_less, KS_greater, KS_backslash, 685 KC(230), KS_Mode_switch, KS_Multi_key, 686 }; 687 688 static const keysym_t ukbd_keydesc_sg_nodead[] = { 689 /* pos normal shifted altgr shift-altgr */ 690 KC(45), KS_apostrophe, KS_question, KS_acute, 691 KC(46), KS_asciicircum, KS_grave, KS_asciitilde, 692 KC(48), KS_diaeresis, KS_exclam, KS_bracketright, 693 }; 694 695 static const keysym_t ukbd_keydesc_sf[] = { 696 /* pos normal shifted altgr shift-altgr */ 697 KC(47), KS_egrave, KS_udiaeresis, KS_bracketleft, 698 KC(51), KS_eacute, KS_odiaeresis, 699 KC(52), KS_agrave, KS_adiaeresis, KS_braceleft, 700 }; 701 702 static const keysym_t ukbd_keydesc_pt[] = { 703 /* pos normal shifted altgr shift-altgr */ 704 KC(31), KS_2, KS_quotedbl, KS_at, 705 KC(32), KS_3, KS_numbersign, KS_sterling, 706 KC(35), KS_6, KS_ampersand, 707 KC(36), KS_7, KS_slash, KS_braceleft, 708 KC(37), KS_8, KS_parenleft, KS_bracketleft, 709 KC(38), KS_9, KS_parenright, KS_bracketright, 710 KC(39), KS_0, KS_equal, KS_braceright, 711 KC(45), KS_apostrophe, KS_question, 712 KC(46), KS_less, KS_greater, 713 KC(47), KS_plus, KS_asterisk, 714 KC(48), KS_dead_acute, KS_dead_grave, 715 KC(49), KS_dead_tilde, KS_dead_circumflex, 716 KC(50), KS_dead_tilde, KS_dead_circumflex, 717 KC(51), KS_ccedilla, KS_Ccedilla, 718 KC(52), KS_masculine, KS_ordfeminine, 719 KC(53), KS_backslash, KS_bar, 720 KC(54), KS_comma, KS_semicolon, 721 KC(55), KS_period, KS_colon, 722 KC(56), KS_minus, KS_underscore, 723 KC(100), KS_less, KS_greater, 724 KC(230), KS_Mode_switch, KS_Multi_key, 725 }; 726 727 static const keysym_t ukbd_keydesc_pt_apple[] = { 728 /* pos normal shifted */ 729 KC(46), KS_plus, KS_asterisk, 730 KC(47), KS_masculine, KS_ordfeminine, 731 KC(50), KS_backslash, KS_bar, 732 KC(52), KS_dead_tilde, KS_dead_circumflex 733 }; 734 735 static const keysym_t ukbd_keydesc_la[] = { 736 /* pos normal shifted altgr shift-altgr */ 737 KC(20), KS_q, KS_Q, KS_at, 738 KC(30), KS_1, KS_exclam, 739 KC(31), KS_2, KS_quotedbl, 740 KC(32), KS_3, KS_numbersign, 741 KC(35), KS_6, KS_ampersand, 742 KC(36), KS_7, KS_slash, 743 KC(37), KS_8, KS_parenleft, 744 KC(38), KS_9, KS_parenright, 745 KC(39), KS_0, KS_equal, 746 KC(45), KS_apostrophe, KS_question, KS_backslash, 747 KC(46), KS_questiondown,KS_exclamdown, 748 KC(47), KS_dead_acute, KS_dead_diaeresis, 749 KC(48), KS_plus, KS_asterisk, KS_asciitilde, 750 KC(49), KS_braceright, KS_bracketright,KS_dead_grave, 751 KC(50), KS_braceright, KS_bracketright,KS_dead_grave, 752 KC(51), KS_ntilde, 753 KC(52), KS_braceleft, KS_bracketleft, KS_dead_circumflex, 754 KC(53), KS_bar, KS_degree, KS_notsign, 755 KC(54), KS_comma, KS_semicolon, 756 KC(55), KS_period, KS_colon, 757 KC(56), KS_minus, KS_underscore, 758 KC(100), KS_less, KS_greater, 759 KC(230), KS_Mode_switch, KS_Multi_key, 760 }; 761 762 static const keysym_t ukbd_keydesc_br[] = { 763 /* pos normal shifted altgr shift-altgr */ 764 KC(30), KS_1, KS_exclam, KS_onesuperior, 765 KC(31), KS_2, KS_at, KS_twosuperior, 766 KC(32), KS_3, KS_numbersign, KS_threesuperior, 767 KC(33), KS_4, KS_dollar, KS_sterling, 768 KC(34), KS_5, KS_percent, KS_cent, 769 KC(35), KS_6, KS_dead_diaeresis,KS_notsign, 770 KC(46), KS_equal, KS_plus, KS_section, 771 KC(47), KS_dead_acute, KS_dead_grave, 772 KC(48), KS_bracketleft, KS_braceleft, KS_ordfeminine, 773 KC(49), KS_bracketright,KS_braceright, KS_masculine, 774 KC(50), KS_bracketright,KS_braceright, KS_masculine, 775 KC(51), KS_ccedilla, KS_Ccedilla, 776 KC(52), KS_dead_tilde, KS_dead_circumflex, 777 KC(53), KS_apostrophe, KS_quotedbl, 778 KC(56), KS_semicolon, KS_colon, 779 KC(99), KS_KP_Delete, KS_KP_Decimal, 780 KC(100), KS_backslash, KS_bar, 781 KC(136), KS_slash, KS_question, KS_degree, 782 }; 783 784 static const keysym_t ukbd_keydesc_tr[] = { 785 /* pos normal shifted altgr shift-altgr */ 786 KC(12), KS_L5_idotless, KS_I, 787 KC(20), KS_q, KS_Q, KS_at, 788 KC(31), KS_2, KS_apostrophe, KS_sterling, 789 KC(32), KS_3, KS_asciicircum, KS_numbersign, 790 KC(33), KS_4, KS_plus, KS_dollar, 791 KC(34), KS_5, KS_percent, KS_onehalf, 792 KC(35), KS_6, KS_ampersand, 793 KC(36), KS_7, KS_slash, KS_braceleft, 794 KC(37), KS_8, KS_parenleft, KS_bracketleft, 795 KC(38), KS_9, KS_parenright, KS_bracketright, 796 KC(39), KS_0, KS_equal, KS_braceright, 797 KC(45), KS_asterisk, KS_question, KS_backslash, 798 KC(46), KS_minus, KS_underscore, 799 KC(47), KS_L5_gbreve, KS_L5_Gbreve, KS_dead_diaeresis, 800 KC(48), KS_udiaeresis, KS_Udiaeresis, KS_asciitilde, 801 KC(49), KS_comma, KS_semicolon, KS_dead_grave, 802 KC(50), KS_comma, KS_semicolon, KS_dead_grave, 803 KC(51), KS_L5_scedilla, KS_L5_Scedilla, KS_dead_acute, 804 KC(52), KS_i, KS_L5_Idotabove, 805 KC(53), KS_quotedbl, KS_eacute, 806 KC(54), KS_odiaeresis, KS_Odiaeresis, 807 KC(55), KS_ccedilla, KS_Ccedilla, 808 KC(56), KS_period, KS_colon, 809 KC(100), KS_less, KS_greater, KS_bar, 810 KC(230), KS_Mode_switch, KS_Multi_key, 811 }; 812 813 static const keysym_t ukbd_keydesc_tr_nodead[] = { 814 /* pos normal shifted altgr shift-altgr */ 815 KC(47), KS_L5_gbreve, KS_L5_Gbreve, 816 KC(49), KS_comma, KS_semicolon, KS_grave, 817 KC(50), KS_comma, KS_semicolon, KS_grave, 818 KC(51), KS_L5_scedilla, KS_L5_Scedilla, KS_apostrophe, 819 }; 820 821 static const keysym_t ukbd_keydesc_pl[] = { 822 /* pos normal shifted altgr shift-altgr */ 823 KC(4), KS_a, KS_A, KS_L2_aogonek, KS_L2_Aogonek, 824 KC(6), KS_c, KS_C, KS_L2_cacute, KS_L2_Cacute, 825 KC(8), KS_e, KS_E, KS_L2_eogonek, KS_L2_Eogonek, 826 KC(15), KS_l, KS_L, KS_L2_lstroke, KS_L2_Lstroke, 827 KC(17), KS_n, KS_N, KS_L2_nacute, KS_L2_Nacute, 828 KC(18), KS_o, KS_O, KS_oacute, KS_Oacute, 829 KC(22), KS_s, KS_S, KS_L2_sacute, KS_L2_Sacute, 830 KC(27), KS_x, KS_X, KS_L2_zacute, KS_L2_Zacute, 831 KC(29), KS_z, KS_Z, KS_L2_zdotabove,KS_L2_Zdotabove, 832 KC(230), KS_Mode_switch, KS_Multi_key, 833 }; 834 835 static const keysym_t ukbd_keydesc_hu[] = { 836 /* pos normal shifted altgr shift-altgr */ 837 KC(5), KS_b, KS_B, KS_braceleft, 838 KC(6), KS_c, KS_C, KS_ampersand, 839 KC(9), KS_f, KS_F, KS_bracketleft, 840 KC(10), KS_g, KS_G, KS_bracketright, 841 KC(12), KS_i, KS_I, KS_iacute, 842 KC(13), KS_j, KS_J, KS_iacute, 843 KC(17), KS_n, KS_N, KS_braceright, 844 KC(20), KS_q, KS_Q, KS_backslash, 845 KC(25), KS_v, KS_V, KS_at, 846 KC(26), KS_w, KS_W,KS_bar, 847 KC(27), KS_x, KS_X, KS_numbersign, 848 KC(28), KS_z, KS_Z, 849 KC(29), KS_y, KS_Y, KS_greater, 850 KC(30), KS_1, KS_apostrophe, KS_asciitilde, 851 KC(31), KS_2, KS_quotedbl, 852 KC(32), KS_3, KS_plus, KS_asciicircum, 853 KC(33), KS_4, KS_exclam, 854 KC(34), KS_5, KS_percent, 855 KC(35), KS_6, KS_slash, 856 KC(36), KS_7, KS_equal,KS_grave, 857 KC(37), KS_8, KS_parenleft, 858 KC(38), KS_9, KS_parenright, KS_acute, 859 KC(39), KS_odiaeresis, KS_Odiaeresis, 860 KC(45), KS_udiaeresis, KS_Udiaeresis, 861 KC(46), KS_oacute, KS_Oacute, 862 KC(47), KS_odoubleacute,KS_Odoubleacute,KS_division, 863 KC(48), KS_uacute, KS_Uacute, KS_multiply, 864 KC(49), KS_udoubleacute,KS_Udoubleacute,KS_currency, 865 KC(50), KS_udoubleacute,KS_Udoubleacute,KS_currency, 866 KC(51), KS_eacute, KS_Eacute, KS_dollar, 867 KC(52), KS_aacute, KS_Aacute, KS_ssharp, 868 KC(53), KS_0, KS_section, 869 KC(54), KS_comma, KS_question, KS_semicolon, 870 KC(55), KS_period, KS_colon, 871 KC(56), KS_minus, KS_underscore, KS_asterisk, 872 KC(100), KS_iacute, KS_Iacute, KS_less, 873 KC(230), KS_Mode_switch, KS_Multi_key, 874 }; 875 876 static const keysym_t ukbd_keydesc_si[]= 877 { 878 /* pos normal shifted altgr shift-altgr */ 879 KC(5), KS_b, KS_B, KS_braceleft, 880 KC(9), KS_f, KS_F, KS_bracketleft, 881 KC(10), KS_g, KS_G, KS_bracketright, 882 KC(14), KS_k, KS_K, KS_L2_lstroke, 883 KC(15), KS_l, KS_L, KS_L2_Lstroke, 884 KC(16), KS_m, KS_M, KS_section, 885 KC(17), KS_n, KS_N, KS_braceright, 886 KC(20), KS_q, KS_Q, KS_backslash, 887 KC(25), KS_v, KS_V, KS_at, 888 KC(26), KS_w, KS_W, KS_bar, 889 KC(28), KS_z, KS_Z, 890 KC(29), KS_y, KS_Y, 891 KC(30), KS_1, KS_exclam, KS_asciitilde, 892 KC(31), KS_2, KS_quotedbl, KS_L2_caron, 893 KC(32), KS_3, KS_numbersign, KS_asciicircum, 894 KC(33), KS_4, KS_dollar, KS_L2_breve, 895 KC(34), KS_5, KS_percent, KS_degree, 896 KC(35), KS_6, KS_ampersand, KS_L2_ogonek, 897 KC(36), KS_7, KS_slash, KS_grave, 898 KC(37), KS_8, KS_parenleft, KS_L2_dotabove, 899 KC(38), KS_9, KS_parenright, KS_acute, 900 KC(39), KS_0, KS_equal, KS_L2_dblacute, 901 KC(45), KS_apostrophe, KS_question, KS_diaeresis, 902 KC(46), KS_plus, KS_asterisk, KS_cedilla, 903 KC(47), KS_L2_scaron, KS_L2_Scaron, KS_division, 904 KC(48), KS_L2_dstroke, KS_L2_Dstroke, KS_multiply, 905 KC(49), KS_L2_zcaron, KS_L2_Zcaron, KS_currency, 906 KC(50), KS_L2_zcaron, KS_L2_Zcaron, KS_currency, 907 KC(51), KS_L2_ccaron, KS_L2_Ccaron, 908 KC(52), KS_L2_cacute, KS_L2_Cacute, KS_ssharp, 909 KC(53), KS_cedilla, KS_diaeresis, 910 KC(54), KS_comma, KS_semicolon, 911 KC(55), KS_period, KS_colon, 912 KC(56), KS_minus, KS_underscore, 913 KC(100), KS_less, KS_greater, 914 KC(230), KS_Mode_switch, KS_Multi_key, 915 }; 916 917 static const keysym_t ukbd_keydesc_cf[] = { 918 /* pos normal shifted altgr shift-altgr */ 919 KC(16), KS_m, KS_M, KS_mu, 920 KC(18), KS_o, KS_O, KS_section, 921 KC(19), KS_p, KS_P, KS_paragraph, 922 KC(30), KS_1, KS_exclam, KS_plusminus, 923 KC(31), KS_2, KS_quotedbl, KS_at, 924 KC(32), KS_3, KS_slash, KS_sterling, 925 KC(33), KS_4, KS_dollar, KS_cent, 926 KC(34), KS_5, KS_percent, KS_diaeresis, 927 KC(35), KS_6, KS_question, KS_macron, 928 KC(36), KS_7, KS_ampersand, KS_brokenbar, 929 KC(37), KS_8, KS_asterisk, KS_twosuperior, 930 KC(38), KS_9, KS_parenleft, KS_threesuperior, 931 KC(39), KS_0, KS_parenright, KS_onequarter, 932 KC(45), KS_minus, KS_underscore, KS_onehalf, 933 KC(46), KS_equal, KS_plus, KS_threequarters, 934 KC(47), KS_dead_circumflex,KS_dead_circumflex,KS_bracketleft, 935 KC(48), KS_dead_cedilla,KS_dead_diaeresis,KS_bracketright, 936 KC(49), KS_less, KS_greater, KS_braceright, 937 KC(50), KS_less, KS_greater, KS_braceright, 938 KC(51), KS_semicolon, KS_colon, KS_asciitilde, 939 KC(52), KS_dead_grave, KS_dead_grave, KS_braceleft, 940 KC(53), KS_numbersign, KS_bar, KS_backslash, 941 KC(54), KS_comma, KS_apostrophe, KS_hyphen, 942 KC(55), KS_period, KS_period, 943 KC(56), KS_eacute, KS_Eacute, KS_dead_acute, 944 KC(100), KS_guillemotleft,KS_guillemotright,KS_degree, 945 KC(230), KS_Mode_switch,KS_Multi_key, 946 }; 947 948 static const keysym_t ukbd_keydesc_cf_nodead[] = { 949 /* pos normal shifted altgr shift-altgr */ 950 KC(47), KS_asciicircum,KS_asciicircum,KS_bracketleft, 951 KC(48), KS_cedilla, KS_diaeresis, KS_bracketright, 952 KC(52), KS_grave, KS_grave, KS_braceleft, 953 KC(56), KS_eacute, KS_Eacute, KS_acute, 954 }; 955 956 #endif /* SMALL_KERNEL */ 957 958 #define KBD_MAP(name, base, map) \ 959 { name, base, sizeof(map)/sizeof(keysym_t), map } 960 961 const struct wscons_keydesc ukbd_keydesctab[] = { 962 KBD_MAP(KB_US, 0, ukbd_keydesc_us), 963 #if !defined(SMALL_KERNEL) || !defined(__alpha__) 964 KBD_MAP(KB_DE, KB_US, ukbd_keydesc_de), 965 KBD_MAP(KB_DE | KB_NODEAD, KB_DE, ukbd_keydesc_de_nodead), 966 KBD_MAP(KB_FR, KB_US, ukbd_keydesc_fr), 967 KBD_MAP(KB_FR | KB_APPLE, KB_FR, ukbd_keydesc_fr_apple), 968 KBD_MAP(KB_DK, KB_US, ukbd_keydesc_dk), 969 KBD_MAP(KB_DK | KB_NODEAD, KB_DK, ukbd_keydesc_dk_nodead), 970 KBD_MAP(KB_IT, KB_US, ukbd_keydesc_it), 971 KBD_MAP(KB_UK, KB_US, ukbd_keydesc_uk), 972 KBD_MAP(KB_JP, KB_US, ukbd_keydesc_jp), 973 KBD_MAP(KB_SV, KB_DK, ukbd_keydesc_sv), 974 KBD_MAP(KB_SV | KB_NODEAD, KB_SV, ukbd_keydesc_sv_nodead), 975 KBD_MAP(KB_NO, KB_DK, ukbd_keydesc_no), 976 KBD_MAP(KB_NO | KB_NODEAD, KB_NO, ukbd_keydesc_no_nodead), 977 KBD_MAP(KB_US | KB_DVORAK, KB_US, ukbd_keydesc_us_dvorak), 978 KBD_MAP(KB_US | KB_SWAPCTRLCAPS, KB_US, ukbd_keydesc_swapctrlcaps), 979 KBD_MAP(KB_US | KB_IOPENER, KB_US, ukbd_keydesc_iopener), 980 KBD_MAP(KB_JP | KB_SWAPCTRLCAPS, KB_JP, ukbd_keydesc_swapctrlcaps), 981 KBD_MAP(KB_FR | KB_SWAPCTRLCAPS, KB_FR, ukbd_keydesc_swapctrlcaps), 982 KBD_MAP(KB_FR | KB_APPLE | KB_SWAPCTRLCAPS, KB_FR | KB_APPLE, 983 ukbd_keydesc_swapctrlcaps), 984 KBD_MAP(KB_BE | KB_SWAPCTRLCAPS, KB_BE, ukbd_keydesc_swapctrlcaps), 985 KBD_MAP(KB_US | KB_DVORAK | KB_SWAPCTRLCAPS, KB_US | KB_DVORAK, 986 ukbd_keydesc_swapctrlcaps), 987 KBD_MAP(KB_US | KB_IOPENER | KB_SWAPCTRLCAPS, KB_US | KB_IOPENER, 988 ukbd_keydesc_swapctrlcaps), 989 KBD_MAP(KB_ES, KB_US, ukbd_keydesc_es), 990 KBD_MAP(KB_BE, KB_US, ukbd_keydesc_be), 991 KBD_MAP(KB_RU, KB_US, ukbd_keydesc_ru), 992 KBD_MAP(KB_UA, KB_US, ukbd_keydesc_ua), 993 KBD_MAP(KB_SG, KB_US, ukbd_keydesc_sg), 994 KBD_MAP(KB_SG | KB_NODEAD, KB_SG, ukbd_keydesc_sg_nodead), 995 KBD_MAP(KB_SF, KB_SG, ukbd_keydesc_sf), 996 KBD_MAP(KB_SF | KB_NODEAD, KB_SF, ukbd_keydesc_sg_nodead), 997 KBD_MAP(KB_PT, KB_US, ukbd_keydesc_pt), 998 KBD_MAP(KB_PT | KB_APPLE, KB_PT, ukbd_keydesc_pt_apple), 999 KBD_MAP(KB_LT, KB_US, ukbd_keydesc_lt), 1000 KBD_MAP(KB_LA, KB_US, ukbd_keydesc_la), 1001 KBD_MAP(KB_BR, KB_US, ukbd_keydesc_br), 1002 KBD_MAP(KB_TR, KB_US, ukbd_keydesc_tr), 1003 KBD_MAP(KB_TR | KB_NODEAD, KB_TR, ukbd_keydesc_tr_nodead), 1004 KBD_MAP(KB_PL, KB_US, ukbd_keydesc_pl), 1005 KBD_MAP(KB_HU, KB_US, ukbd_keydesc_hu), 1006 KBD_MAP(KB_SI, KB_US, ukbd_keydesc_si), 1007 KBD_MAP(KB_CF, KB_US, ukbd_keydesc_cf), 1008 KBD_MAP(KB_CF | KB_NODEAD, KB_CF, ukbd_keydesc_cf_nodead), 1009 #endif /* SMALL_KERNEL */ 1010 {0, 0, 0, 0} 1011 }; 1012 1013 #undef KBD_MAP 1014 #undef KC 1015