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