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