1default partial alphanumeric_keys modifier_keys 2xkb_symbols "basic" { 3 4 name[Group1]= "English (US)"; 5 6 key <TLDE> { [ grave, asciitilde ] }; 7 key <AE01> { [ 1, exclam ] }; 8 key <AE02> { [ 2, at ] }; 9 key <AE03> { [ 3, numbersign ] }; 10 key <AE04> { [ 4, dollar ] }; 11 key <AE05> { [ 5, percent ] }; 12 key <AE06> { [ { H, E, L, L, O }, asciicircum ] }; 13 key <AE07> { [ { Y, E, S, space, T, H, I, S, space, I, S, space, D, O, G }, ampersand ] }; 14 key <AE08> { [ 8, asterisk ] }; 15 key <AE09> { [ 9, parenleft ] }; 16 key <AE10> { [ 0, parenright ] }; 17 key <AE11> { [ minus, underscore ] }; 18 key <AE12> { [ equal, plus ] }; 19 20 key <AD01> { [ q, Q ] }; 21 key <AD02> { [ w, W ] }; 22 key <AD03> { [ e, E ] }; 23 key <AD04> { [ r, R ] }; 24 key <AD05> { [ t, T ] }; 25 key <AD06> { [ y, Y ] }; 26 key <AD07> { [ u, U ] }; 27 key <AD08> { [ i, I ] }; 28 key <AD09> { [ o, O ] }; 29 key <AD10> { [ p, P ] }; 30 key <AD11> { [ bracketleft, braceleft ] }; 31 key <AD12> { [ bracketright, braceright ] }; 32 33 key <AC01> { [ a, A ] }; 34 key <AC02> { [ s, S ] }; 35 key <AC03> { [ d, D ] }; 36 key <AC04> { [ f, F ] }; 37 key <AC05> { [ g, G ] }; 38 key <AC06> { [ h, H ] }; 39 key <AC07> { [ j, J ] }; 40 key <AC08> { [ k, K ] }; 41 key <AC09> { [ l, L ] }; 42 key <AC10> { [ semicolon, colon ] }; 43 key <AC11> { [ apostrophe, quotedbl ] }; 44 45 key <AB01> { [ z, Z ] }; 46 key <AB02> { [ x, X ] }; 47 key <AB03> { [ c, C ] }; 48 key <AB04> { [ v, V ] }; 49 key <AB05> { [ b, B ] }; 50 key <AB06> { [ n, N ] }; 51 key <AB07> { [ m, M ] }; 52 key <AB08> { [ comma, less ] }; 53 key <AB09> { [ period, greater ] }; 54 key <AB10> { [ slash, question ] }; 55 56 key <BKSL> { [ backslash, bar ] }; 57}; 58 59partial alphanumeric_keys 60xkb_symbols "euro" { 61 62 include "us(basic)" 63 name[Group1]= "English (US, euro on 5)"; 64 65 include "eurosign(5)" 66 67 include "level3(ralt_switch)" 68}; 69 70 71partial alphanumeric_keys 72xkb_symbols "ibm238l" { 73 74 include "us(basic)" 75 name[Group1]= "English (US, IBM Arabic 238_L)"; 76 77 key <AB08> { [ comma, comma ] }; 78 key <AB09> { [ period, period ] }; 79 key <BKSL> { [ quoteleft, asciitilde ] }; 80 key <LSGT> { [ backslash, bar ] }; 81 key <TLDE> { [ leftcaret, rightcaret ] }; 82}; 83 84partial alphanumeric_keys 85xkb_symbols "intl" { 86 87 include "us(basic)" 88 name[Group1]= "English (US, intl., with dead keys)"; 89 90 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] }; 91 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; 92 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] }; 93 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] }; 94 key <AE04> { [ 4, dollar, currency, sterling ] }; 95 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] }; 96 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] }; 97 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] }; 98 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] }; 99 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; 100 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; 101 key <AE11> { [ minus, underscore, yen, dead_belowdot ] }; 102 key <AE12> { [ equal, plus, multiply, division ] }; 103 104 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] }; 105 key <AD02> { [ w, W, aring, Aring ] }; 106 key <AD03> { [ e, E, eacute, Eacute ] }; 107 key <AD04> { [ r, R, registered, registered ] }; 108 key <AD05> { [ t, T, thorn, THORN ] }; 109 key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] }; 110 key <AD07> { [ u, U, uacute, Uacute ] }; 111 key <AD08> { [ i, I, iacute, Iacute ] }; 112 key <AD09> { [ o, O, oacute, Oacute ] }; 113 key <AD10> { [ p, P, odiaeresis, Odiaeresis ] }; 114 key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] }; 115 key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] }; 116 117 key <AC01> { [ a, A, aacute, Aacute ] }; 118 key <AC02> { [ s, S, ssharp, section ] }; 119 key <AC03> { [ d, D, eth, ETH ] }; 120 key <AC04> { [ f, F, f, F ] }; 121 key <AC05> { [ g, G, g, G ] }; 122 key <AC06> { [ h, H, h, H ] }; 123 key <AC07> { [ j, J, j, J ] }; 124 key <AC08> { [ k, K, oe, OE ] }; 125 126 key <AC09> { [ l, L, oslash, Ooblique ] }; 127 key <AC10> { [ semicolon, colon, paragraph, degree ] }; 128 key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] }; 129 130 key <AB01> { [ z, Z, ae, AE ] }; 131 key <AB02> { [ x, X, x, X ] }; 132 key <AB03> { [ c, C, copyright, cent ] }; 133 key <AB04> { [ v, V, v, V ] }; 134 key <AB05> { [ b, B, b, B ] }; 135 key <AB06> { [ n, N, ntilde, Ntilde ] }; 136 key <AB07> { [ m, M, mu, mu ] }; 137 key <AB08> { [ comma, less, ccedilla, Ccedilla ] }; 138 key <AB09> { [ period, greater, dead_abovedot, dead_caron ] }; 139 key <AB10> { [ slash, question, questiondown, dead_hook ] }; 140 key <BKSL> { [ backslash, bar, notsign, brokenbar ] }; 141 142 key <LSGT> { [ backslash, bar, backslash, bar ] }; 143 144 include "level3(ralt_switch)" 145}; 146 147// Based on symbols/us_intl keyboard map: 148// Dead-keys definition for a very simple US/ASCII layout. 149// by Conectiva (http://www.conectiva.com.br) 150// modified by Ricardo Y. Igarashi (iga@that.com.br) 151 152// Added the following deadkeys, to make it truly international: 153// 154// dead_macron: on AltGr-minus 155// dead_breve: on AltGr-parenleft 156// dead_abovedot: on AltGr-period 157// dead_abovering: on AltGr-0 158// dead_doubleacute: on AltGr-equal (as quotedbl is already used) 159// dead_caron: on AltGr-less (AltGr-shift-comma) 160// dead_cedilla: on AltGr-comma 161// dead_ogonek: on AltGr-semicolon 162// dead_belowdot: on AltGr-underscore (AltGr-shift-minus) 163// dead_hook: on AltGr-question 164// dead_horn: on AltGr-plus (AltGr-shift-equal) 165// dead_diaeresis: on AltGr-colon (Alt-shift-semicolon) 166// 167// those were already there: 168// dead_grave 169// dead_acute 170// dead_circumflex 171// dead_tilde 172// dead_diaeresis 173 174partial alphanumeric_keys 175xkb_symbols "alt-intl" { 176 177 include "us" 178 name[Group1]= "English (US, alt. intl.)"; 179 180 key <TLDE> { [ dead_grave, dead_tilde, grave, asciitilde ] }; 181 key <AE05> { [ 5, percent, EuroSign ] }; 182 key <AE06> { [ 6, dead_circumflex, asciicircum, asciicircum ] }; 183 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; 184 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; 185 key <AE11> { [ minus, underscore, dead_macron, dead_belowdot ] }; 186 key <AE12> { [ equal, plus, dead_doubleacute, dead_horn ] }; 187 188 key <AD03> { [ e, E, EuroSign, cent ] }; 189 190 key <AC10> { [ semicolon, colon, dead_ogonek, dead_diaeresis ] }; 191 key <AC11> { [ dead_acute, dead_diaeresis, apostrophe, quotedbl ] }; 192 193 key <AB08> { [ comma, less, dead_cedilla, dead_caron ] }; 194 key <AB09> { [ period, greater, dead_abovedot, dead_circumflex ] }; 195 key <AB10> { [ slash, question, dead_hook, dead_hook ] }; 196 197 key <LSGT> { [ backslash, bar, backslash, bar ] }; 198 199 include "level3(ralt_switch)" 200}; 201 202// based on a keyboard map from an 'xkb/symbols/dk' file 203 204partial alphanumeric_keys 205xkb_symbols "dvorak" { 206 207 name[Group1]= "English (Dvorak)"; 208 209 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 210 211 key <AE01> { [ 1, exclam ] }; 212 key <AE02> { [ 2, at ] }; 213 key <AE03> { [ 3, numbersign ] }; 214 key <AE04> { [ 4, dollar ] }; 215 key <AE05> { [ 5, percent ] }; 216 key <AE06> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] }; 217 key <AE07> { [ 7, ampersand ] }; 218 key <AE08> { [ 8, asterisk ] }; 219 key <AE09> { [ 9, parenleft, dead_grave] }; 220 key <AE10> { [ 0, parenright ] }; 221 key <AE11> { [ bracketleft, braceleft ] }; 222 key <AE12> { [ bracketright, braceright, dead_tilde] }; 223 224 key <AD01> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] }; 225 key <AD02> { [ comma, less, dead_cedilla, dead_caron ] }; 226 key <AD03> { [ period, greater, dead_abovedot, periodcentered ] }; 227 key <AD04> { [ p, P ] }; 228 key <AD05> { [ y, Y ] }; 229 key <AD06> { [ f, F ] }; 230 key <AD07> { [ g, G ] }; 231 key <AD08> { [ c, C ] }; 232 key <AD09> { [ r, R ] }; 233 key <AD10> { [ l, L ] }; 234 key <AD11> { [ slash, question ] }; 235 key <AD12> { [ equal, plus ] }; 236 237 key <AC01> { [ a, A ] }; 238 key <AC02> { [ o, O ] }; 239 key <AC03> { [ e, E ] }; 240 key <AC04> { [ u, U ] }; 241 key <AC05> { [ i, I ] }; 242 key <AC06> { [ d, D ] }; 243 key <AC07> { [ h, H ] }; 244 key <AC08> { [ t, T ] }; 245 key <AC09> { [ n, N ] }; 246 key <AC10> { [ s, S ] }; 247 key <AC11> { [ minus, underscore ] }; 248 249 key <AB01> { [ semicolon, colon, dead_ogonek, dead_doubleacute ] }; 250 key <AB02> { [ q, Q ] }; 251 key <AB03> { [ j, J ] }; 252 key <AB04> { [ k, K ] }; 253 key <AB05> { [ x, X ] }; 254 key <AB06> { [ b, B ] }; 255 key <AB07> { [ m, M ] }; 256 key <AB08> { [ w, W ] }; 257 key <AB09> { [ v, V ] }; 258 key <AB10> { [ z, Z ] }; 259 260 key <BKSL> { [ backslash, bar ] }; 261}; 262 263// Dvorak intl., with dead keys 264// Olivier Mehani (shtrom-xorg@ssji.net) 265// Reproduce the per-key mapping of us(intl) for the dvorak layout 266// aka "I just swapped my keys over" 267partial alphanumeric_keys 268xkb_symbols "dvorak-intl" { 269 270 include "us(dvorak)" 271 name[Group1]= "English (Dvorak, intl., with dead keys)"; 272 273 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] }; 274 275 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; 276 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] }; 277 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] }; 278 key <AE04> { [ 4, dollar, currency, sterling ] }; 279 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] }; 280 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] }; 281 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] }; 282 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] }; 283 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; 284 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; 285 key <AE11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] }; 286 key <AE12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] }; 287 288 key <AD01> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] }; 289 key <AD02> { [ comma, less, ccedilla, Ccedilla ] }; 290 key <AD03> { [ period, greater, dead_abovedot, dead_caron ] }; 291 key <AD04> { [ p, P, odiaeresis, Odiaeresis ] }; 292 key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] }; 293 // key <AD06> { [ f, F ] }; 294 // key <AD07> { [ g, G ] }; 295 key <AD08> { [ c, C, copyright, cent ] }; 296 key <AD09> { [ r, R, registered, registered ] }; 297 key <AD10> { [ l, L, oslash, Ooblique ] }; 298 key <AD11> { [ slash, question, questiondown, dead_hook ] }; 299 // key <AD12> { [ equal, plus, multiply, division ] }; 300 301 key <AC01> { [ a, A, aacute, Aacute ] }; 302 key <AC02> { [ o, O, oacute, Oacute ] }; 303 key <AC03> { [ e, E, eacute, Eacute ] }; 304 key <AC04> { [ u, U, uacute, Uacute ] }; 305 key <AC05> { [ i, I, iacute, Iacute ] }; 306 key <AC06> { [ d, D, eth, ETH ] }; 307 // key <AC07> { [ h, H ] }; 308 key <AC08> { [ t, T, thorn, THORN ] }; 309 key <AC09> { [ n, N, ntilde, Ntilde ] }; 310 key <AC10> { [ s, S, ssharp, section ] }; 311 // key <AC11> { [ minus, underscore, yen, dead_belowdot ] }; 312 313 key <AB01> { [ semicolon, colon, paragraph, degree ] }; 314 key <AB02> { [ q, Q, adiaeresis, Adiaeresis ] }; 315 // key <AB03> { [ j, J ] }; 316 key <AB04> { [ k, K, oe, OE ] }; 317 // key <AB05> { [ x, X ] }; 318 // key <AB06> { [ b, B ] }; 319 key <AB07> { [ m, M, mu, mu ] }; 320 key <AB08> { [ w, W, aring, Aring ] }; 321 // key <AB09> { [ v, V ] }; 322 key <AB10> { [ z, Z, ae, AE ] }; 323 324 key <BKSL> { [ backslash, bar, notsign, brokenbar ] }; 325 326 include "level3(ralt_switch)" 327}; 328 329// Dvorak international without dead keys 330// Stephane Magnenat (stephane at magnenat dot net, http://stephane.magnenat.net) 331// Based on information from http://www.poupinou.org/dvorak/index.html 332// 333// ` 1 2 3 4 5 6 7 8 9 0 [ ] \ 334// € 335// 336// ' , . p y f g c r l / = 337// ä ê ë ü ç 338// 339// a o e u i d h t n s - 340// à ô é û î ß 341// 342// ; q j k x b m w v z 343// â ö è ù ï 344 345partial alphanumeric_keys 346xkb_symbols "dvorak-alt-intl" { 347 348 include "us(dvorak)" 349 name[Group1]= "English (Dvorak, alt. intl.)"; 350 351 key <AE04> { [ 4, dollar, EuroSign ] }; 352 353 key <AD02> { [ comma, less, adiaeresis, dead_caron ] }; 354 key <AD03> { [ period, greater, ecircumflex, periodcentered ] }; 355 key <AD04> { [ p, P, ediaeresis, dead_cedilla ] }; 356 key <AD05> { [ y, Y, udiaeresis ] }; 357 key <AD08> { [ c, C, ccedilla, dead_abovedot ] }; 358 359 key <AC01> { [ a, A, agrave ] }; 360 key <AC02> { [ o, O, ocircumflex ] }; 361 key <AC03> { [ e, E, eacute ] }; 362 key <AC04> { [ u, U, ucircumflex ] }; 363 key <AC05> { [ i, I, icircumflex ] }; 364 key <AC10> { [ s, S, ssharp, U1E9E ] }; 365 366 key <AB01> { [ semicolon, colon, acircumflex ] }; 367 key <AB02> { [ q, Q, odiaeresis, dead_ogonek ] }; 368 key <AB03> { [ j, J, egrave, dead_doubleacute ] }; 369 key <AB04> { [ k, K, ugrave ] }; 370 key <AB05> { [ x, X, idiaeresis ] }; 371 372 include "level3(ralt_switch)" 373}; 374 375// Left and right handed dvorak layouts 376// by sqweek <sqweek@gmail.com> 2006-01-30 377// Based on the corresponding layouts in the console-tools package. 378partial alphanumeric_keys 379xkb_symbols "dvorak-l" { 380 381 include "us(dvorak)" 382 name[Group1]= "English (Dvorak, left-handed)"; 383 384 key <AE01> { [ bracketleft, braceleft ] }; 385 key <AE02> { [ bracketright, braceright ] }; 386 key <AE03> { [ slash, question ] }; 387 key <AE04> { [ p, P ] }; 388 key <AE05> { [ f, F ] }; 389 key <AE06> { [ m, M ] }; 390 key <AE07> { [ l, L ] }; 391 key <AE08> { [ j, J ] }; 392 key <AE09> { [ 4, dollar ] }; 393 key <AE10> { [ 3, numbersign ] }; 394 key <AE11> { [ 2, at ] }; 395 key <AE12> { [ 1, exclam ] }; 396 397 key <AD01> { [ semicolon, colon ] }; 398 key <AD02> { [ q, Q ] }; 399 key <AD03> { [ b, B ] }; 400 key <AD04> { [ y, Y ] }; 401 key <AD05> { [ u, U ] }; 402 key <AD06> { [ r, R ] }; 403 key <AD07> { [ s, S ] }; 404 key <AD08> { [ o, O ] }; 405 key <AD09> { [ period, greater ] }; 406 key <AD10> { [ 6, asciicircum ] }; 407 key <AD11> { [ 5, percent ] }; 408 key <AD12> { [ equal, plus ] }; 409 410 key <AC01> { [ minus, underscore ] }; 411 key <AC02> { [ k, K ] }; 412 key <AC03> { [ c, C ] }; 413 key <AC04> { [ d, D ] }; 414 key <AC05> { [ t, T ] }; 415 key <AC06> { [ h, H ] }; 416 key <AC07> { [ e, E ] }; 417 key <AC08> { [ a, A ] }; 418 key <AC09> { [ z, Z ] }; 419 key <AC10> { [ 8, asterisk ] }; 420 key <AC11> { [ 7, ampersand ] }; 421 422 key <AB01> { [ apostrophe, quotedbl ] }; 423 key <AB02> { [ x, X ] }; 424 key <AB03> { [ g, G ] }; 425 key <AB04> { [ v, V ] }; 426 key <AB05> { [ w, W ] }; 427 key <AB06> { [ n, N ] }; 428 key <AB07> { [ i, I ] }; 429 key <AB08> { [ comma, less ] }; 430 key <AB09> { [ 0, parenright ] }; 431 key <AB10> { [ 9, parenleft ] }; 432}; 433 434partial alphanumeric_keys 435xkb_symbols "dvorak-r" { 436 437 include "us(dvorak)" 438 name[Group1]= "English (Dvorak, right-handed)"; 439 440 key <AE01> { [ 1, exclam ] }; 441 key <AE02> { [ 2, at ] }; 442 key <AE03> { [ 3, numbersign ] }; 443 key <AE04> { [ 4, dollar ] }; 444 key <AE05> { [ j, J ] }; 445 key <AE06> { [ l, L ] }; 446 key <AE07> { [ m, M ] }; 447 key <AE08> { [ f, F ] }; 448 key <AE09> { [ p, P ] }; 449 key <AE10> { [ slash, question ] }; 450 key <AE11> { [ bracketleft, braceleft ] }; 451 key <AE12> { [ bracketright, braceright ] }; 452 453 key <AD01> { [ 5, percent ] }; 454 key <AD02> { [ 6, asciicircum ] }; 455 key <AD03> { [ q, Q ] }; 456 key <AD04> { [ period, greater ] }; 457 key <AD05> { [ o, O ] }; 458 key <AD06> { [ r, R ] }; 459 key <AD07> { [ s, S ] }; 460 key <AD08> { [ u, U ] }; 461 key <AD09> { [ y, Y ] }; 462 key <AD10> { [ b, B ] }; 463 key <AD11> { [ semicolon, colon ] }; 464 key <AD12> { [ equal, plus ] }; 465 466 key <AC01> { [ 7, ampersand ] }; 467 key <AC02> { [ 8, asterisk ] }; 468 key <AC03> { [ z, Z ] }; 469 key <AC04> { [ a, A ] }; 470 key <AC05> { [ e, E ] }; 471 key <AC06> { [ h, H ] }; 472 key <AC07> { [ t, T ] }; 473 key <AC08> { [ d, D ] }; 474 key <AC09> { [ c, C ] }; 475 key <AC10> { [ k, K ] }; 476 key <AC11> { [ minus, underscore ] }; 477 478 key <AB01> { [ 9, parenleft ] }; 479 key <AB02> { [ 0, parenright ] }; 480 key <AB03> { [ x, X ] }; 481 key <AB04> { [ comma, less ] }; 482 key <AB05> { [ i, I ] }; 483 key <AB06> { [ n, N ] }; 484 key <AB07> { [ w, W ] }; 485 key <AB08> { [ v, V ] }; 486 key <AB09> { [ g, G ] }; 487 key <AB10> { [ apostrophe, quotedbl ] }; 488}; 489 490// Classic dvorak layout 491// by Piter Punk <piterpk@terra.com.br> - 2006-07-06 492// Based on dvorak layout and e-mail from Russel L. Harris rlharris@oplink.net 493// on xorg list. 494partial alphanumeric_keys 495xkb_symbols "dvorak-classic" { 496 497 name[Group1]= "English (classic Dvorak)"; 498 499 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 500 501 key <AE01> { [ bracketleft, braceleft ] }; 502 key <AE02> { [ 7, ampersand ] }; 503 key <AE03> { [ 5, percent ] }; 504 key <AE04> { [ 3, numbersign ] }; 505 key <AE05> { [ 1, exclam ] }; 506 key <AE06> { [ 9, parenleft, dead_grave] }; 507 key <AE07> { [ 0, parenright ] }; 508 key <AE08> { [ 2, at ] }; 509 key <AE09> { [ 4, dollar ] }; 510 key <AE10> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] }; 511 key <AE11> { [ 8, asterisk ] }; 512 key <AE12> { [ bracketright, braceright, dead_tilde] }; 513 514 key <AD01> { [ slash, question ] }; 515 key <AD02> { [ comma, less, dead_cedilla, dead_caron ] }; 516 key <AD03> { [ period, greater, dead_abovedot, periodcentered ] }; 517 key <AD04> { [ p, P ] }; 518 key <AD05> { [ y, Y ] }; 519 key <AD06> { [ f, F ] }; 520 key <AD07> { [ g, G ] }; 521 key <AD08> { [ c, C ] }; 522 key <AD09> { [ r, R ] }; 523 key <AD10> { [ l, L ] }; 524 key <AD11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] }; 525 key <AD12> { [ equal, plus ] }; 526 527 key <AC01> { [ a, A ] }; 528 key <AC02> { [ o, O ] }; 529 key <AC03> { [ e, E ] }; 530 key <AC04> { [ u, U ] }; 531 key <AC05> { [ i, I ] }; 532 key <AC06> { [ d, D ] }; 533 key <AC07> { [ h, H ] }; 534 key <AC08> { [ t, T ] }; 535 key <AC09> { [ n, N ] }; 536 key <AC10> { [ s, S ] }; 537 key <AC11> { [ minus, underscore ] }; 538 539 key <AB01> { [ semicolon, colon, dead_ogonek, dead_doubleacute ] }; 540 key <AB02> { [ q, Q ] }; 541 key <AB03> { [ j, J ] }; 542 key <AB04> { [ k, K ] }; 543 key <AB05> { [ x, X ] }; 544 key <AB06> { [ b, B ] }; 545 key <AB07> { [ m, M ] }; 546 key <AB08> { [ w, W ] }; 547 key <AB09> { [ v, V ] }; 548 key <AB10> { [ z, Z ] }; 549 key <BKSL> { [ backslash, bar ] }; 550}; 551 552// programmer Dvorak, by Roland Kaufmann <rlndkfmn at gmail dot com> 553// License: BSD, available at <http://www.kaufmann.no/roland/dvorak/license.html> 554// Main features: Numbers are in shift position (like French), symbols have been 555// placed in locations that give good hand-alternation and finger rolling with 556// symbols that usually follows, accented characters are possible for I18N. 557// Patch suggestions should be sent upstream. 558partial alphanumeric_keys 559xkb_symbols "dvp" { 560 561 include "us(dvorak)" 562 name[Group1] = "English (programmer Dvorak)"; 563 564 // Unmodified Shift AltGr Shift+AltGr 565 // symbols row, left side 566 key <TLDE> { [ dollar, asciitilde, dead_tilde ] }; 567 key <AE01> { [ ampersand, percent ] }; 568 key <AE02> { [ bracketleft, 7, currency ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 569 key <AE03> { [ braceleft, 5, cent ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 570 key <AE04> { [ braceright, 3, yen ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 571 key <AE05> { [ parenleft, 1, EuroSign ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 572 key <AE06> { [ equal, 9, sterling ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 573 574 // symbols row, right side 575 key <AE07> { [ asterisk, 0 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 576 key <AE08> { [ parenright, 2, onehalf ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 577 key <AE09> { [ plus, 4 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 578 key <AE10> { [ bracketright, 6 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 579 key <AE11> { [ exclam, 8, exclamdown, U2E18 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; // reversed interrobang 580 key <AE12> { [ numbersign, grave, dead_grave ] }; 581 key <BKSP> { [ BackSpace, BackSpace ] }; 582 583 // upper row, left side 584 key <AD01> { [ semicolon, colon, dead_diaeresis ] }; 585 key <AD02> { [ comma, less, guillemotleft, U201C ] }; 586 key <AD03> { [ period, greater, guillemotright, U201D ] }; 587 key <AD04> { [ p, P, paragraph, section ] }; 588 key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] }; 589 590 // upper row, right side 591 key <AD08> { [ c, C, ccedilla, Ccedilla ] }; 592 key <AD09> { [ r, R, registered, trademark ] }; 593 key <AD11> { [ slash, question, questiondown, U203D ] }; // interrobang 594 key <AD12> { [ at, asciicircum, dead_circumflex, dead_caron ] }; 595 596 // home row, left side 597 key <AC01> { [ a, A, aring, Aring ] }; 598 key <AC02> { [ o, O, oslash, Ooblique ] }; 599 key <AC03> { [ e, E, ae, AE ] }; 600 key <AC04> { [ u, U, eacute, Eacute ] }; 601 602 // home row, right side 603 key <AC06> { [ d, D, eth, ETH ] }; 604 key <AC07> { [ h, H, dead_acute ] }; 605 key <AC08> { [ t, T, thorn, THORN ] }; 606 key <AC09> { [ n, N, ntilde, Ntilde ] }; 607 key <AC10> { [ s, S, ssharp, U1E9E ] }; 608 key <AC11> { [ minus, underscore, hyphen, endash ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; 609 key <BKSL> { [ backslash, bar ] }; 610 611 // lower row, left side 612 key <AB01> { [ apostrophe, quotedbl, dead_acute ] }; 613 614 // do NOT hardcode this switch; use lv3:ralt_switch option instead! 615 //include "level3(ralt_switch)" 616}; 617 618// phonetic layout for Russian letters on an US keyboard 619// by Ivan Popov <pin@konvalo.org> 2005-07-17 620 621// level3 modifier is a shortcut to the "us" meaning of the keys where 622// we place cyrillic letters, handy for accessing the corresponding 623// punctuation marks. 624// It is important to have access to punctuation marks, and the rest of 625// alphabetical keys are added for being consequent so that the users 626// can expect the level3 modifier to give what the key label shows. 627 628partial alphanumeric_keys 629xkb_symbols "rus" { 630 631 include "us(basic)" 632 name[Group1]= "Russian (US, phonetic)"; 633 634key.type[group1]="FOUR_LEVEL_ALPHABETIC"; 635 636 key <LatA> { [ Cyrillic_a, Cyrillic_A ] }; 637 key <LatB> { [ Cyrillic_be, Cyrillic_BE ] }; 638 key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] }; 639 key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] }; 640 key <LatD> { [ Cyrillic_de, Cyrillic_DE ] }; 641 key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] }; 642 key <TLDE> { [ Cyrillic_io, Cyrillic_IO, grave, asciitilde ] }; 643 key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] }; 644 key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] }; 645 key <LatI> { [ Cyrillic_i, Cyrillic_I ] }; 646 key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; 647 key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] }; 648 key <LatL> { [ Cyrillic_el, Cyrillic_EL ] }; 649 key <LatM> { [ Cyrillic_em, Cyrillic_EM ] }; 650 key <LatN> { [ Cyrillic_en, Cyrillic_EN ] }; 651 key <LatO> { [ Cyrillic_o, Cyrillic_O ] }; 652 key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] }; 653 key <LatR> { [ Cyrillic_er, Cyrillic_ER ] }; 654 key <LatS> { [ Cyrillic_es, Cyrillic_ES ] }; 655 key <LatT> { [ Cyrillic_te, Cyrillic_TE ] }; 656 key <LatU> { [ Cyrillic_u, Cyrillic_U ] }; 657 key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] }; 658 key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] }; 659 key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] }; 660 key <AC10> { [ Cyrillic_che, Cyrillic_CHE, semicolon, colon ] }; 661 key <AD11> { [ Cyrillic_sha, Cyrillic_SHA, bracketleft, braceleft] }; 662 key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA, bracketright, braceright ] }; 663 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] }; 664 key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] }; 665 key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; 666 key <BKSL> { [ Cyrillic_e, Cyrillic_E, backslash, bar ] }; 667 key <AC11> { [ Cyrillic_yu, Cyrillic_YU, apostrophe, quotedbl ] }; 668 key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] }; 669 670 include "level3(ralt_switch)" 671}; 672 673partial alphanumeric_keys 674xkb_symbols "mac" { 675 676 include "us(basic)" 677 name[Group1]= "English (Macintosh)"; 678 key.type[group1]="FOUR_LEVEL"; 679 680 // Slightly improvised from http://homepage.mac.com/thgewecke/kblayout.jpg 681 key <LSGT> { [ section, plusminus, section, plusminus ] }; 682 key <TLDE> { [ grave, asciitilde, dead_grave, dead_horn ] }; 683 key <AE01> { [ 1, exclam, exclamdown, U2044 ] }; 684 key <AE02> { [ 2, at, trademark, EuroSign ] }; 685 key <AE03> { [ 3, numbersign, sterling, U2039 ] }; 686 key <AE04> { [ 4, dollar, cent, U203A ] }; 687 key <AE05> { [ 5, percent, infinity, UFB01 ] }; 688 key <AE06> { [ 6,asciicircum, section, UFB02 ] }; 689 key <AE07> { [ 7, ampersand, paragraph, doubledagger ] }; 690 key <AE08> { [ 8, asterisk, enfilledcircbullet, degree ] }; 691 key <AE09> { [ 9, parenleft, ordfeminine, periodcentered ] }; 692 key <AE10> { [ 0, parenright, masculine,singlelowquotemark] }; 693 key <AE11> { [ minus, underscore, endash, emdash ] }; 694 key <AE12> { [ equal, plus, notequal, plusminus ] }; 695 696 key <AD01> { [ q, Q, oe, OE ] }; 697 key <AD02> { [ w, W, U2211,doublelowquotemark] }; 698 key <AD03> { [ e, E, dead_acute, acute ] }; 699 key <AD04> { [ r, R, registered, U2030 ] }; 700 key <AD05> { [ t, T, dagger, dead_caron ] }; 701 key <AD06> { [ y, Y, yen, onequarter ] }; 702 key <AD07> { [ u, U, dead_diaeresis, diaeresis ] }; 703 key <AD08> { [ i, I, dead_circumflex, U02C6 ] }; 704 key <AD09> { [ o, O, oslash, Ooblique ] }; 705 key <AD10> { [ p, P, Greek_pi, U220F ] }; 706 key <AD11> { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] }; 707 key <AD12> { [bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] }; 708 key <BKSL> { [ backslash, bar, guillemotleft, guillemotright ] }; 709 710 key <AC01> { [ a, A, aring, Aring ] }; 711 key <AC02> { [ s, S, ssharp, dead_stroke ] }; 712 key <AC03> { [ d, D, partialderivative, eth ] }; 713 key <AC04> { [ f, F, function, dead_hook ] }; 714 key <AC05> { [ g, G, copyright, dead_doubleacute ] }; 715 key <AC06> { [ h, H, dead_abovedot, dead_belowdot ] }; 716 key <AC07> { [ j, J, U2206, onehalf ] }; 717 key <AC08> { [ k, K,dead_abovering, UF8FF ] }; 718 719 key <AC09> { [ l, L, notsign, THORN ] }; 720 key <AC10> { [ semicolon, colon, U2026, thorn ] }; 721 key <AC11> { [apostrophe, quotedbl, ae, AE ] }; 722 723 key <AB01> { [ z, Z, Greek_OMEGA, dead_cedilla ] }; 724 key <AB02> { [ x, X, U2248, dead_ogonek ] }; 725 // unclear whether "approxeq" is 2248 or 2245 726 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 727 key <AB04> { [ v, V, squareroot, U25CA ] }; 728 key <AB05> { [ b, B, integral, idotless ] }; 729 key <AB06> { [ n, N, dead_tilde, U02DC ] }; 730 key <AB07> { [ m, M, mu, threequarters ] }; 731 key <AB08> { [ comma, less, lessthanequal, dead_macron ] }; 732 key <AB09> { [ period, greater, greaterthanequal, dead_breve ] }; 733 key <AB10> { [ slash, question, division, questiondown ] }; 734 735 include "level3(ralt_switch)" 736}; 737 738// Colemak symbols for xkb on X.Org Server 7.x 739// 2006-01-01 Shai Coleman, http://colemak.com/ 740 741partial alphanumeric_keys 742xkb_symbols "colemak" { 743 744 include "us" 745 name[Group1]= "English (Colemak)"; 746 747 key <TLDE> { [ grave, asciitilde, dead_tilde, asciitilde ] }; 748 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; 749 key <AE02> { [ 2, at, masculine, twosuperior ] }; 750 key <AE03> { [ 3, numbersign, ordfeminine, threesuperior ] }; 751 key <AE04> { [ 4, dollar, cent, sterling ] }; 752 key <AE05> { [ 5, percent, EuroSign, yen ] }; 753 key <AE06> { [ 6, asciicircum, hstroke, Hstroke ] }; 754 key <AE07> { [ 7, ampersand, eth, ETH ] }; 755 key <AE08> { [ 8, asterisk, thorn, THORN ] }; 756 key <AE09> { [ 9, parenleft, leftsinglequotemark, leftdoublequotemark ] }; 757 key <AE10> { [ 0, parenright, rightsinglequotemark, rightdoublequotemark ] }; 758 key <AE11> { [ minus, underscore, endash, emdash ] }; 759 key <AE12> { [ equal, plus, multiply, division ] }; 760 761 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] }; 762 key <AD02> { [ w, W, aring, Aring ] }; 763 key <AD03> { [ f, F, atilde, Atilde ] }; 764 key <AD04> { [ p, P, oslash, Ooblique ] }; 765 key <AD05> { [ g, G, dead_ogonek, asciitilde ] }; 766 key <AD06> { [ j, J, dstroke, Dstroke ] }; 767 key <AD07> { [ l, L, lstroke, Lstroke ] }; 768 key <AD08> { [ u, U, uacute, Uacute ] }; 769 key <AD09> { [ y, Y, udiaeresis, Udiaeresis ] }; 770 key <AD10> { [ semicolon, colon, odiaeresis, Odiaeresis ] }; 771 key <AD11> { [ bracketleft, braceleft, guillemotleft, 0x1002039 ] }; 772 key <AD12> { [ bracketright, braceright, guillemotright, 0x100203a ] }; 773 key <BKSL> { [ backslash, bar, asciitilde, asciitilde ] }; 774 775 key <AC01> { [ a, A, aacute, Aacute ] }; 776 key <AC02> { [ r, R, dead_grave, asciitilde ] }; 777 key <AC03> { [ s, S, ssharp, 0x1001e9e ] }; 778 key <AC04> { [ t, T, dead_acute, dead_doubleacute ] }; 779 key <AC05> { [ d, D, dead_diaeresis, asciitilde ] }; 780 key <AC06> { [ h, H, dead_caron, asciitilde ] }; 781 key <AC07> { [ n, N, ntilde, Ntilde ] }; 782 key <AC08> { [ e, E, eacute, Eacute ] }; 783 key <AC09> { [ i, I, iacute, Iacute ] }; 784 key <AC10> { [ o, O, oacute, Oacute ] }; 785 key <AC11> { [ apostrophe, quotedbl, otilde, Otilde ] }; 786 787 key <AB01> { [ z, Z, ae, AE ] }; 788 key <AB02> { [ x, X, dead_circumflex, asciitilde ] }; 789 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 790 key <AB04> { [ v, V, oe, OE ] }; 791 key <AB05> { [ b, B, dead_breve, asciitilde ] }; 792 key <AB06> { [ k, K, dead_abovering, asciitilde ] }; 793 key <AB07> { [ m, M, dead_macron, asciitilde ] }; 794 key <AB08> { [ comma, less, dead_cedilla, asciitilde ] }; 795 key <AB09> { [ period, greater, dead_abovedot, asciitilde ] }; 796 key <AB10> { [ slash, question, questiondown, asciitilde ] }; 797 798 key <CAPS> { [ BackSpace, BackSpace, BackSpace, BackSpace ] }; 799 key <LSGT> { [ minus, underscore, endash, emdash ] }; 800 key <SPCE> { [ space, space, space, nobreakspace ] }; 801 802 include "level3(ralt_switch)" 803}; 804 805// I do NOT like dead-keys - the International keyboard as defined by Microsoft 806// does not fit my needs. Why use two keystrokes for all simple characters (eg ' 807// and <space> generates a single ') just to have an é (eacute) in two strokes 808// as well? I type ' more often than é (eacute). 809// 810// This file works just like a regular keyboard, BUT has all dead-keys 811// accessible at level3 (through AltGr). An ë (ediaeresis) is now: AltGr+" 812// followed by an e. In other words, this keyboard is not international as long 813// as you leave the right Alt key alone. 814// 815// The original MS International keyboard was intended for Latin1 (iso8859-1). 816// With the introduction of iso8859-15, the (important) ligature oe (and OE) 817// became available. I added them next to ae. Because I write ediaeresis more 818// often than registered, I moved registered to be next to copyright and added 819// ediaeresis and idiaeresis. - Adriaan 820 821partial alphanumeric_keys 822xkb_symbols "altgr-intl" { 823 824 include "us(intl)" 825 name[Group1]= "English (intl., with AltGr dead keys)"; 826 827// five dead keys moved into level3: 828 829 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 830 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] }; 831 832// diversions from the MS Intl keyboard: 833 834 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] }; 835 key <AD04> { [ r, R, ediaeresis, Ediaeresis ] }; 836 key <AC07> { [ j, J, idiaeresis, Idiaeresis ] }; 837 key <AB02> { [ x, X, oe, OE ] }; 838 key <AB04> { [ v, V, registered, registered ] }; 839 840// onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys: 841 842 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] }; 843 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] }; 844 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] }; 845 846 include "level3(ralt_switch)" 847}; 848 849// Intel ClassmatePC Keyboard Layout 850// by Piter PUNK <piterpk@terra.com.br> 851// 852// The keyboard layouts below maps the us(basic), us(intl) and us(alt-intl) 853// to ClassmatePC keyboard. All layouts uses RCTL as level3(switch) since 854// the keyboard does not have AltGr key. The EuroSign is engraved at 5 key. 855 856// classmate - us(basic) 857partial alphanumeric_keys 858xkb_symbols "classmate" { 859 include "us(basic)" 860 name[Group1]= "English (US)"; 861 862 key <LSGT> { [ backslash, bar, backslash, bar ] }; 863 864 include "eurosign(5)" 865 include "level3(switch)" 866}; 867 868// classmate-intl - us(intl) 869// RCTL is generated by Fn+Alt, because that, when trying to access 870// the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got 871// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key> 872// generate the same symbol as the original key. 873partial alphanumeric_keys 874xkb_symbols "classmate-intl" { 875 include "us(intl)" 876 name[Group1]= "USA - ClassmatePC (International)"; 877 key.type[Group1]="FOUR_LEVEL"; 878 879 key <LSGT> { [ backslash, bar, backslash, bar ] }; 880 881 key <KP7> { [ KP_Home, KP_7, 882 onehalf, dead_horn ] }; 883 key <KP8> { [ KP_Up, KP_8, 884 threequarters, dead_ogonek ] }; 885 key <KP9> { [ KP_Prior, KP_9, 886 leftsinglequotemark, dead_breve ] }; 887 key <KPMU> { [ KP_Multiply, KP_Multiply, 888 rightsinglequotemark, dead_abovering ] }; 889 890 key <KP4> { [ KP_Left, KP_4, 891 uacute, Uacute ] }; 892 key <KP5> { [ KP_Begin, KP_5, 893 iacute, Iacute ] }; 894 key <KP6> { [ KP_Right, KP_6, 895 oacute, Oacute ] }; 896 key <KPSU> { [ KP_Subtract, KP_Subtract, 897 odiaeresis, Odiaeresis ] }; 898 899 key <KP2> { [ KP_Down, KP_2, 900 oe, OE ] }; 901 key <KP3> { [ KP_Next, KP_3, 902 oslash, Ooblique ] }; 903 key <KPAD> { [ KP_Add, KP_Add, 904 paragraph, degree ] }; 905 906 key <KP0> { [ KP_Insert, KP_0, 907 mu, mu ] }; 908 key <KPDL> { [ KP_Delete, KP_Decimal, 909 dead_abovedot, dead_caron ] }; 910 key <KPDV> { [ KP_Divide, KP_Divide, 911 questiondown, dead_hook ] }; 912 913 include "level3(switch)" 914}; 915 916// classmate-alt-intl - us(alt-intl) 917// RCTL is generated by Fn+Alt, because that, when trying to access 918// the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got 919// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key> 920// generate the same symbol as the original key. 921partial alphanumeric_keys 922xkb_symbols "classmate-alt-intl" { 923 include "us(alt-intl)" 924 name[Group1]= "USA - ClassmatePC (Alternative international)"; 925 key.type[Group1]="FOUR_LEVEL"; 926 927 key <LSGT> { [ backslash, bar, backslash, bar ] }; 928 929 key <KPSU> { [ KP_Subtract, KP_Subtract ] }; 930 931 key <KP9> { [ KP_Prior, KP_9, 932 leftsinglequotemark, dead_breve ] }; 933 key <KPMU> { [ KP_Multiply, KP_Multiply, 934 rightsinglequotemark, dead_abovering ] }; 935 936 key <KPAD> { [ KP_Add, KP_Add, 937 dead_ogonek, dead_diaeresis ] }; 938 939 key <KPDL> { [ KP_Delete, KP_Decimal, 940 dead_abovedot, dead_circumflex ] }; 941 key <KPDV> { [ KP_Divide, KP_Divide, 942 dead_hook, dead_hook ] }; 943 944 include "level3(switch)" 945}; 946 947// classmate-altgr-intl - us(altgr-intl) 948// RCTL is generated by Fn+Alt, because that, when trying to access 949// the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got 950// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key> 951// generate the same symbol as the original key. 952partial alphanumeric_keys 953xkb_symbols "classmate-altgr-intl" { 954 include "us(altgr-intl)" 955 name[Group1]= "USA - ClassmatePC (International Fn+Alt dead-keys)"; 956 key.type[Group1]="FOUR_LEVEL"; 957 958 key <LSGT> { [ backslash, bar, backslash, bar ] }; 959 960 key <KP7> { [ KP_Home, KP_7, 961 dead_horn, dead_horn ] }; 962 key <KP8> { [ KP_Up, KP_8, 963 dead_ogonek, dead_ogonek ] }; 964 key <KP9> { [ KP_Prior, KP_9, 965 leftsinglequotemark, dead_breve ] }; 966 key <KPMU> { [ KP_Multiply, KP_Multiply, 967 rightsinglequotemark, dead_abovering ] }; 968 969 key <KP4> { [ KP_Left, KP_4, 970 uacute, Uacute ] }; 971 key <KP5> { [ KP_Begin, KP_5, 972 iacute, Iacute ] }; 973 key <KP6> { [ KP_Right, KP_6, 974 oacute, Oacute ] }; 975 key <KPSU> { [ KP_Subtract, KP_Subtract, 976 odiaeresis, Odiaeresis ] }; 977 978 key <KP1> { [ KP_End, KP_1, 979 idiaeresis, Idiaeresis ] }; 980 key <KP2> { [ KP_Down, KP_2, 981 oe, OE ] }; 982 key <KP3> { [ KP_Next, KP_3, 983 oslash, Ooblique ] }; 984 key <KPAD> { [ KP_Add, KP_Add, 985 paragraph, degree ] }; 986 987 key <KP0> { [ KP_Insert, KP_0, 988 mu, mu ] }; 989 key <KPDL> { [ KP_Delete, KP_Decimal, 990 dead_abovedot, dead_caron ] }; 991 key <KPDV> { [ KP_Divide, KP_Divide, 992 questiondown, dead_hook ] }; 993 994 include "level3(switch)" 995}; 996 997partial alphanumeric_keys 998xkb_symbols "olpc" { 999 1000 include "us(basic)" 1001 name[Group1]= "English (US)"; 1002 1003 // OLPC international US English keyboard layout. 1004 // It's a little different from the usual international layout. 1005 // See: http://wiki.laptop.org/go/Image:Keyboard_english.png 1006 1007 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 1008 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] }; 1009 key <AE02> { [ 2, at, notsign, notsign ] }; 1010 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave 1011 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute 1012 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above 1013 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above 1014 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above 1015 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above 1016 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above 1017 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above 1018 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above 1019 key <AE12> { [ equal, plus, 0x1000303, 0x1000303 ] }; // combining tilde above 1020 1021 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] }; 1022 key <AD02> { [ w, W, oslash, Oslash ] }; 1023 key <AD03> { [ e, E, oe, OE ] }; 1024 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla 1025 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below 1026 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below 1027 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below 1028 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below 1029 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below 1030 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below 1031 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below 1032 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below 1033 1034 key <AC01> { [ a, A, ae, AE ] }; 1035 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp 1036 key <AC03> { [ d, D, eth, ETH ] }; 1037 key <AC04> { [ f, F, thorn, THORN ] }; 1038 key <AC06> { [ h, H, sterling, sterling ] }; 1039 key <AC07> { [ j, J, EuroSign, EuroSign ] }; 1040 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] }; 1041 key <AC11> { [ apostrophe, quotedbl, currency, currency ] }; 1042 key <AC12> { [ backslash, bar, section, section ] }; 1043 1044 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 1045 key <AB06> { [ n, N, ntilde, Ntilde ] }; 1046 key <AB07> { [ m, M, mu, mu ] }; 1047 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] }; 1048 key <AB09> { [ period, greater, guillemotright, guillemotright ] }; 1049 key <AB10> { [ slash, question, questiondown, questiondown ] }; 1050 1051 key <I219> { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] }; 1052 1053 include "level3(ralt_switch)" 1054}; 1055 1056partial alphanumeric_keys 1057xkb_symbols "olpc2" { 1058 include "us(olpc)" 1059 name[Group1]= "English (the divide/multiply toggle the layout)"; 1060 include "group(olpc)" 1061}; 1062 1063xkb_symbols "olpcm" { 1064 1065 include "us(basic)" 1066 name[Group1]= "English (US)"; 1067 1068 // Mechanical (non-membrane) OLPC int'l US English keyboard layout. 1069 // See: http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard 1070 1071 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 1072 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] }; 1073 key <AE02> { [ 2, at, notsign, notsign ] }; 1074 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave 1075 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute 1076 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above 1077 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above 1078 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above 1079 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above 1080 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above 1081 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above 1082 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above 1083 1084 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] }; 1085 key <AD02> { [ w, W, oslash, Oslash ] }; 1086 key <AD03> { [ e, E, oe, OE ] }; 1087 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla 1088 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below 1089 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below 1090 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below 1091 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below 1092 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below 1093 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below 1094 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below 1095 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below 1096 1097 key <AC01> { [ a, A, ae, AE ] }; 1098 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp 1099 key <AC03> { [ d, D, eth, ETH ] }; 1100 key <AC04> { [ f, F, thorn, THORN ] }; 1101 key <AC06> { [ h, H, sterling, sterling ] }; 1102 key <AC07> { [ j, J, EuroSign, EuroSign ] }; 1103 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] }; 1104 // no AC11 or AC12 on olpcm 1105 1106 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 1107 key <AB06> { [ n, N, ntilde, Ntilde ] }; 1108 key <AB07> { [ m, M, mu, mu ] }; 1109 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] }; 1110 key <AB09> { [ period, greater, guillemotright, guillemotright ] }; 1111 key <AB10> { [ slash, question, questiondown, questiondown ] }; 1112 1113 key <AA02> { [ backslash, bar, section, section ] }; 1114 key <AA06> { [ equal, plus, 0x1000303, 0x1000303 ] }; 1115 key <AA07> { [ apostrophe, quotedbl, currency, currency ] }; 1116 1117 include "level3(ralt_switch)" 1118}; 1119 1120// Based on Cherokee Nation Official Layout 1121// http://www.cherokee.org/extras/downloads/font/Keyboard.htm 1122 1123partial alphanumeric_keys modifier_keys 1124xkb_symbols "chr" { 1125 1126 name[Group1]= "Cherokee"; 1127 key.type[group1]="ALPHABETIC"; 1128 1129 key <TLDE> { [ grave, U13CA ] }; 1130 key <AE01> { [ 1, U13B1 ] }; 1131 key <AE02> { [ 2, U13C7 ] }; 1132 key <AE03> { [ 3, U13E7 ] }; 1133 key <AE04> { [ U13D9, U13B0 ] }; 1134 key <AE05> { [ U13E6, U13B9 ] }; 1135 key <AE06> { [ U13DC, U13DD ] }; 1136 key <AE07> { [ U13CB, U13E1 ] }; 1137 key <AE08> { [ U13D6, U13BA ] }; 1138 key <AE09> { [ U13D2, parenleft ] }; 1139 key <AE10> { [ U13C4, parenright ] }; 1140 key <AE11> { [ U13BF, U13BC ] }; 1141 key <AE12> { [ U13F3, U13BD ] }; 1142 1143 key <AD01> { [ U13AA, U13C6 ] }; 1144 key <AD02> { [ U13B3, U13EB ] }; 1145 key <AD03> { [ U13A1, U13E3 ] }; 1146 key <AD04> { [ U13DB, U13CF ] }; 1147 key <AD05> { [ U13D4, U13D8 ] }; 1148 key <AD06> { [ U13EF, U13F2 ] }; 1149 key <AD07> { [ U13A4, U13AD ] }; 1150 key <AD08> { [ U13A2, U13F1 ] }; 1151 key <AD09> { [ U13A3, U13EC ] }; 1152 key <AD10> { [ U13C1, U13EA ] }; 1153 key <AD11> { [ U13D5, U13D1 ] }; 1154 key <AD12> { [ U13B6, U13E4 ] }; 1155 key <BKSL> { [ U13E9, U13EE ] }; 1156 1157 key <AC01> { [ U13A0, U13CC ] }; 1158 key <AC02> { [ U13CD, U13CE ] }; 1159 key <AC03> { [ U13D7, U13D0 ] }; 1160 key <AC04> { [ U13A9, U13C8 ] }; 1161 key <AC05> { [ U13A6, U13E5 ] }; 1162 key <AC06> { [ U13AF, U13B2 ] }; 1163 key <AC07> { [ U13DA, U13AB ] }; 1164 key <AC08> { [ U13B8, U13A7 ] }; 1165 key <AC09> { [ U13B5, U13AE ] }; 1166 key <AC10> { [ U13E8, U13E0 ] }; 1167 key <AC11> { [ apostrophe, quotedbl ] }; 1168 1169 key <AB01> { [ U13AC, U13C3 ] }; 1170 key <AB02> { [ U13F4, U13ED ] }; 1171 key <AB03> { [ U13D3, U13DF ] }; 1172 key <AB04> { [ U13A5, U13DE ] }; 1173 key <AB05> { [ U13A8, U13F0 ] }; 1174 key <AB06> { [ U13BE, U13BB ] }; 1175 key <AB07> { [ U13C5, U13B7 ] }; 1176 key <AB08> { [ comma, U13E2 ] }; 1177 key <AB09> { [ period, U13B4 ] }; 1178 key <AB10> { [ U13C2, U13C9 ] }; 1179}; 1180 1181// Add Hawaiian `okina and kahako to US layout 1182// Author: Greg Meyer <gregory.meyer@gmail.com>, 2020 1183// this mapping follows the one for Windows here: http://www.olelo.hawaii.edu/enehana/winkbd.php 1184// `okina replaces apostrophe (apostrophe moves to level 3) 1185// vowels with kahako (macron) are level 3 symbols 1186partial alphanumeric_keys 1187xkb_symbols "haw" { 1188 1189 include "us(basic)" 1190 name[Group1] = "Hawaiian"; 1191 1192 // `okina replaces single apostrophe 1193 // alt gives the literal apostrophe 1194 key <AC11> {[ U02BB, quotedbl, apostrophe ] }; 1195 1196 // kahako 1197 key <AC01> {[ a, A, amacron, Amacron ]}; 1198 key <AD03> {[ e, E, emacron, Emacron ]}; 1199 key <AD07> {[ u, U, umacron, Umacron ]}; 1200 key <AD08> {[ i, I, imacron, Imacron ]}; 1201 key <AD09> {[ o, O, omacron, Omacron ]}; 1202 1203 include "level3(ralt_switch)" 1204}; 1205 1206// Serbian charecters added as third level symbols to US keyboard layout. 1207 1208partial alphanumeric_keys 1209xkb_symbols "hbs" { 1210 1211 include "us" 1212 name[Group1]= "Serbo-Croatian (US)"; 1213 1214 key <TLDE> { [ grave, asciitilde ] }; 1215 key <AE06> { [ 6, dead_caron, asciicircum, asciicircum ] }; 1216 key <AE08> { [ 8, asterisk, multiply, division ] }; 1217 key <AE11> { [ minus, underscore, endash, emdash ] }; 1218 key <AC09> { [ l, L, U1C9, U1C8 ] }; 1219 key <AB06> { [ n, N, U1CC, U1CB ] }; 1220 key <AB01> { [ z, Z, U1C6, U1C5 ] }; 1221 key <AD03> { [ e, E, EuroSign, cent ] }; 1222 key <AC03> { [ d, D, dstroke, Dstroke ] }; 1223 key <AC11> { [ dead_acute, quotedbl, apostrophe, apostrophe ] }; 1224 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] }; 1225 key <AB08> { [ comma, less, U3003, guillemotright ] }; 1226 key <AB09> { [ period, greater, ellipsis, guillemotleft ] }; 1227 1228 include "level3(ralt_switch)" 1229}; 1230 1231// Workman Keyboard Layout symbols for xkb on X.Org Server 7.x 1232// 09-06-2010 OJ Bucao. http://www.workmanlayout.com 1233 1234partial alphanumeric_keys 1235xkb_symbols "workman" { 1236 1237 include "us(basic)" 1238 name[Group1]= "English (Workman)"; 1239 1240 key <AD01> { [ q, Q ] }; 1241 key <AD02> { [ d, D ] }; 1242 key <AD03> { [ r, R ] }; 1243 key <AD04> { [ w, W ] }; 1244 key <AD05> { [ b, B ] }; 1245 key <AD06> { [ j, J ] }; 1246 key <AD07> { [ f, F ] }; 1247 key <AD08> { [ u, U ] }; 1248 key <AD09> { [ p, P ] }; 1249 key <AD10> { [ semicolon, colon ] }; 1250 1251 key <AC01> { [ a, A ] }; 1252 key <AC02> { [ s, S ] }; 1253 key <AC03> { [ h, H ] }; 1254 key <AC04> { [ t, T ] }; 1255 key <AC05> { [ g, G ] }; 1256 key <AC06> { [ y, Y ] }; 1257 key <AC07> { [ n, N ] }; 1258 key <AC08> { [ e, E ] }; 1259 key <AC09> { [ o, O ] }; 1260 key <AC10> { [ i, I ] }; 1261 1262 key <AB01> { [ z, Z ] }; 1263 key <AB02> { [ x, X ] }; 1264 key <AB03> { [ m, M ] }; 1265 key <AB04> { [ c, C ] }; 1266 key <AB05> { [ v, V ] }; 1267 key <AB06> { [ k, K ] }; 1268 key <AB07> { [ l, L ] }; 1269 1270 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] }; 1271 1272 include "level3(ralt_switch)" 1273}; 1274 1275partial alphanumeric_keys 1276xkb_symbols "workman-intl" { 1277 1278 include "us(intl)" 1279 name[Group1]= "English (Workman, intl., with dead keys)"; 1280 1281 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] }; 1282 key <AD02> { [ d, D, eth, ETH ] }; 1283 key <AD03> { [ r, R, registered, registered ] }; 1284 key <AD04> { [ w, W, aring, Aring ] }; 1285 key <AD05> { [ b, B, b, B ] }; 1286 key <AD06> { [ j, J, j, J ] }; 1287 key <AD07> { [ f, F, f, F ] }; 1288 key <AD08> { [ u, U, uacute, Uacute ] }; 1289 key <AD09> { [ p, P, odiaeresis, Odiaeresis ] }; 1290 key <AD10> { [ semicolon, colon, paragraph, degree ] }; 1291 1292 key <AC01> { [ a, A, aacute, Aacute ] }; 1293 key <AC02> { [ s, S, ssharp, section ] }; 1294 key <AC03> { [ h, H, h, H ] }; 1295 key <AC04> { [ t, T, thorn, THORN ] }; 1296 key <AC05> { [ g, G, g, G ] }; 1297 key <AC06> { [ y, Y, udiaeresis, Udiaeresis ] }; 1298 key <AC07> { [ n, N, ntilde, Ntilde ] }; 1299 key <AC08> { [ e, E, eacute, Eacute ] }; 1300 key <AC09> { [ o, O, oacute, Oacute ] }; 1301 key <AC10> { [ i, I, iacute, Iacute ] }; 1302 1303 key <AB01> { [ z, Z, ae, AE ] }; 1304 key <AB02> { [ x, X, x, X ] }; 1305 key <AB03> { [ m, M, mu, mu ] }; 1306 key <AB04> { [ c, C, copyright, cent ] }; 1307 key <AB05> { [ v, V, v, V ] }; 1308 key <AB06> { [ k, K, oe, OE ] }; 1309 key <AB07> { [ l, L, oslash, Ooblique ] }; 1310 1311 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] }; 1312 1313 include "level3(ralt_switch)" 1314}; 1315 1316// Norman keyboard layout symbols for xkb on X.Org Server 7.x 1317// Written 11/23/2012, revised 3/7/2013 by David Norman http://normanlayout.info 1318// To the extent possible under law, the author(s) have dedicated all 1319// copyright and related and neighboring rights to this software to the 1320// public domain worldwide. This software is distributed without any warranty. 1321 1322partial alphanumeric_keys 1323xkb_symbols "norman" { 1324 1325 include "us(basic)" 1326 name[Group1]= "English (Norman)"; 1327 1328 key <AD01> { [ q, Q ] }; 1329 key <AD02> { [ w, W ] }; 1330 key <AD03> { [ d, D ] }; 1331 key <AD04> { [ f, F ] }; 1332 key <AD05> { [ k, K ] }; 1333 key <AD06> { [ j, J ] }; 1334 key <AD07> { [ u, U ] }; 1335 key <AD08> { [ r, R ] }; 1336 key <AD09> { [ l, L ] }; 1337 key <AD10> { [ semicolon, colon ] }; 1338 1339 key <AC01> { [ a, A ] }; 1340 key <AC02> { [ s, S ] }; 1341 key <AC03> { [ e, E ] }; 1342 key <AC04> { [ t, T ] }; 1343 key <AC05> { [ g, G ] }; 1344 key <AC06> { [ y, Y ] }; 1345 key <AC07> { [ n, N ] }; 1346 key <AC08> { [ i, I ] }; 1347 key <AC09> { [ o, O ] }; 1348 key <AC10> { [ h, H ] }; 1349 1350 key <AB01> { [ z, Z ] }; 1351 key <AB02> { [ x, X ] }; 1352 key <AB03> { [ c, C ] }; 1353 key <AB04> { [ v, V ] }; 1354 key <AB05> { [ b, B ] }; 1355 key <AB06> { [ p, P ] }; 1356 key <AB07> { [ m, M ] }; 1357 1358 key <CAPS> { [ BackSpace ] }; 1359 1360 include "level3(ralt_switch)" 1361}; 1362 1363// Carpalx layout created by Martin Krzywinski 1364// http://mkweb.bcgsc.ca/carpalx/ 1365 1366partial alphanumeric_keys 1367xkb_symbols "carpalx" { 1368 1369 name[Group1]= "English (Carpalx)"; 1370 1371 key <TLDE> { [ grave, asciitilde ] }; 1372 key <AE01> { [ 1, exclam ] }; 1373 key <AE02> { [ 2, at ] }; 1374 key <AE03> { [ 3, numbersign ] }; 1375 key <AE04> { [ 4, dollar ] }; 1376 key <AE05> { [ 5, percent ] }; 1377 key <AE06> { [ 6, asciicircum ] }; 1378 key <AE07> { [ 7, ampersand ] }; 1379 key <AE08> { [ 8, asterisk ] }; 1380 key <AE09> { [ 9, parenleft ] }; 1381 key <AE10> { [ 0, parenright ] }; 1382 key <AE11> { [ minus, underscore ] }; 1383 key <AE12> { [ equal, plus ] }; 1384 1385 key <AD01> { [ q, Q ] }; 1386 key <AD02> { [ g, G ] }; 1387 key <AD03> { [ m, M ] }; 1388 key <AD04> { [ l, L ] }; 1389 key <AD05> { [ w, W ] }; 1390 key <AD06> { [ y, Y ] }; 1391 key <AD07> { [ f, F ] }; 1392 key <AD08> { [ u, U ] }; 1393 key <AD09> { [ b, B ] }; 1394 key <AD10> { [ semicolon, colon ] }; 1395 key <AD11> { [ bracketleft, braceleft ] }; 1396 key <AD12> { [ bracketright, braceright ] }; 1397 1398 key <AC01> { [ d, D ] }; 1399 key <AC02> { [ s, S ] }; 1400 key <AC03> { [ t, T ] }; 1401 key <AC04> { [ n, N ] }; 1402 key <AC05> { [ r, R ] }; 1403 key <AC06> { [ i, I ] }; 1404 key <AC07> { [ a, A ] }; 1405 key <AC08> { [ e, E ] }; 1406 key <AC09> { [ o, O ] }; 1407 key <AC10> { [ h, H ] }; 1408 key <AC11> { [ apostrophe, quotedbl ] }; 1409 1410 key <AB01> { [ z, Z ] }; 1411 key <AB02> { [ x, X ] }; 1412 key <AB03> { [ c, C ] }; 1413 key <AB04> { [ v, V ] }; 1414 key <AB05> { [ j, J ] }; 1415 key <AB06> { [ k, K ] }; 1416 key <AB07> { [ p, P ] }; 1417 key <AB08> { [ comma, less ] }; 1418 key <AB09> { [ period, greater ] }; 1419 key <AB10> { [ slash, question ] }; 1420 1421 key <BKSL> { [ backslash, bar ] }; 1422}; 1423 1424// Carpalx layout created by Martin Krzywinski 1425// http://mkweb.bcgsc.ca/carpalx/ 1426// Merged with us(intl) and modified to move 1427// accented vowels closer to the plain vowels 1428 1429partial alphanumeric_keys 1430xkb_symbols "carpalx-intl" { 1431 1432 include "us(carpalx)" 1433 name[Group1]= "English (Carpalx, intl., with dead keys)"; 1434 1435 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] }; 1436 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; 1437 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] }; 1438 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] }; 1439 key <AE04> { [ 4, dollar, currency, sterling ] }; 1440 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] }; 1441 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] }; 1442 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] }; 1443 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] }; 1444 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; 1445 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; 1446 key <AE11> { [ minus, underscore, yen, dead_belowdot ] }; 1447 key <AE12> { [ equal, plus, multiply, division ] }; 1448 1449 key <AD01> { [ q, Q, degree, paragraph ] }; 1450 key <AD02> { [ g, G, U011F, U011E ] }; 1451 key <AD03> { [ m, M, mu, mu ] }; 1452 key <AD04> { [ l, L, copyright, cent ] }; 1453 key <AD05> { [ w, W, w, W ] }; 1454 key <AD06> { [ y, Y, idiaeresis, Idiaeresis ] }; 1455 key <AD07> { [ f, F, adiaeresis, Adiaeresis ] }; 1456 key <AD08> { [ u, U, udiaeresis, Udiaeresis ] }; 1457 key <AD09> { [ b, B, odiaeresis, Odiaeresis ] }; 1458 key <AD10> { [ semicolon, colon, oslash, Ooblique ] }; 1459 key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] }; 1460 key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] }; 1461 1462 key <AC01> { [ d, D, eth, ETH ] }; 1463 key <AC02> { [ s, S, ssharp, section ] }; 1464 key <AC03> { [ t, T, thorn, THORN ] }; 1465 key <AC04> { [ n, N, ntilde, Ntilde ] }; 1466 key <AC05> { [ r, R, registered, registered ] }; 1467 key <AC06> { [ i, I, iacute, Iacute ] }; 1468 key <AC07> { [ a, A, aacute, Aacute ] }; 1469 key <AC08> { [ e, E, eacute, Eacute ] }; 1470 key <AC09> { [ o, O, oacute, Oacute ] }; 1471 key <AC10> { [ h, H, uacute, Uacute ] }; 1472 key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] }; 1473 1474 key <AB01> { [ z, Z, z, Z ] }; 1475 key <AB02> { [ x, X, U015F, U015E ] }; 1476 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 1477 key <AB04> { [ v, V, ae, AE ] }; 1478 key <AB05> { [ j, J, oe, OE ] }; 1479 key <AB06> { [ k, K, U0131, U0130 ] }; 1480 key <AB07> { [ p, P, aring, Aring ] }; 1481 key <AB08> { [ comma, less, ediaeresis, Ediaeresis ] }; 1482 key <AB09> { [ period, greater, dead_abovedot, dead_caron ] }; 1483 key <AB10> { [ slash, question, questiondown, dead_hook ] }; 1484 key <BKSL> { [ backslash, bar, notsign, brokenbar ] }; 1485 1486 key <LSGT> { [ backslash, bar, backslash, bar ] }; 1487 1488 include "level3(ralt_switch)" 1489}; 1490 1491// Carpalx layout created by Martin Krzywinski 1492// http://mkweb.bcgsc.ca/carpalx/ 1493// Merged with us(intl) and us(altgr-intl) and modified to move 1494// accented vowels closer to the plain vowels 1495 1496partial alphanumeric_keys 1497xkb_symbols "carpalx-altgr-intl" { 1498 1499 include "us(carpalx-intl)" 1500 name[Group1]= "English (Carpalx, intl., with AltGr dead keys)"; 1501 1502// five dead keys moved into level3: 1503 1504 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 1505 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] }; 1506 1507// diversions from the MS Intl keyboard: 1508 1509 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] }; 1510 1511// onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys: 1512 1513 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] }; 1514 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] }; 1515 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] }; 1516 1517 include "level3(ralt_switch)" 1518}; 1519 1520// Carpalx layout created by Martin Krzywinski 1521// Full optimization variant without fixed QWERTY-like ZXCV keys 1522// http://mkweb.bcgsc.ca/carpalx/ 1523 1524partial alphanumeric_keys 1525xkb_symbols "carpalx-full" { 1526 1527 include "us(carpalx)" 1528 name[Group1]= "English (Carpalx, full optimization)"; 1529 1530 key <AD06> { [ b, B ] }; 1531 key <AD07> { [ y, Y ] }; 1532 key <AD09> { [ v, V ] }; 1533 1534 key <AB04> { [ f, F ] }; 1535}; 1536 1537// Carpalx layout created by Martin Krzywinski 1538// Full optimization variant without fixed QWERTY-like ZXCV keys 1539// http://mkweb.bcgsc.ca/carpalx/ 1540// Merged with us(intl) and modified to move 1541// accented vowels closer to the plain vowels 1542 1543partial alphanumeric_keys 1544xkb_symbols "carpalx-full-intl" { 1545 1546 include "us(carpalx-intl)" 1547 name[Group1]= "English (Carpalx, full optimization, intl., with dead keys)"; 1548 1549 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] }; 1550 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] }; 1551 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] }; 1552 1553 key <AB04> { [ f, F, ae, AE ] }; 1554}; 1555 1556// Carpalx layout created by Martin Krzywinski 1557// Full optimization variant without fixed QWERTY-like ZXCV keys 1558// http://mkweb.bcgsc.ca/carpalx/ 1559// Merged with us(intl) and us(altgr-intl) and modified to move 1560// accented vowels closer to the plain vowels 1561 1562partial alphanumeric_keys 1563xkb_symbols "carpalx-full-altgr-intl" { 1564 1565 include "us(carpalx-altgr-intl)" 1566 name[Group1]= "English (Carpalx, full optimization, intl., with AltGr dead keys)"; 1567 1568 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] }; 1569 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] }; 1570 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] }; 1571 1572 key <AB04> { [ f, F, ae, AE ] }; 1573}; 1574 1575// EXTRAS: 1576 1577// Czech, Slovak and German charecters added as third level symbols to US keyboard layout. 1578partial alphanumeric_keys 1579xkb_symbols "cz_sk_de" { 1580 1581 include "us" 1582 name[Group1]="Czech Slovak and German (US)"; 1583 1584 key <TLDE> { [grave, asciitilde, uring, Uring ] }; 1585 key <AE01> { [ 1, exclam, uacute, Uacute ] }; 1586 key <AE02> { [ 2, at, ecaron, Ecaron ] }; 1587 key <AE03> { [ 3, numbersign, scaron, Scaron ] }; 1588 key <AE04> { [ 4, dollar, ccaron, Ccaron ] }; 1589 key <AE05> { [ 5, percent, rcaron, Rcaron ] }; 1590 key <AE06> { [ 6, asciicircum, zcaron, Zcaron ] }; 1591 key <AE07> { [ 7, ampersand, yacute, Yacute ] }; 1592 key <AE08> { [ 8, asterisk, aacute, Aacute ] }; 1593 key <AE09> { [ 9, parenleft, iacute, Iacute ] }; 1594 key <AE10> { [ 0, parenright, eacute, Eacute ] }; 1595 key <AE11> { [minus, underscore, ssharp, 0x1001E9E ] }; 1596 key <AE12> { [equal, plus, dead_acute, dead_caron ] }; 1597 1598 key <AD03> { [ e, E, EuroSign, Eacute ] }; 1599 1600 key <AD11> { [bracketleft, braceleft, udiaeresis, Udiaeresis ] }; 1601 key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] }; 1602 key <AC11> { [apostrophe, quotedbl,adiaeresis, Adiaeresis ] }; 1603 1604 key <AC01> { [ a, A, aacute, Aacute ] }; 1605 key <AD08> { [ i, I, iacute, Iacute ] }; 1606 key <AD09> { [ o, O, oacute, Oacute ] }; 1607 key <AD06> { [ y, Y, yacute, Yacute ] }; 1608 key <AD07> { [ u, U, uring, Uring ] }; 1609 1610 key <AC02> { [ s, S, scaron, Scaron ] }; 1611 key <AB01> { [ z, Z, zcaron, Zcaron ] }; 1612 key <AB03> { [ c, C, ccaron, Ccaron ] }; 1613 key <AD04> { [ r, R, rcaron, Rcaron ] }; 1614 key <AD05> { [ t, T, tcaron, Tcaron ] }; 1615 key <AC03> { [ d, D, dcaron, Dcaron ] }; 1616 key <AB06> { [ n, N, ncaron, Ncaron ] }; 1617 key <AC09> { [ l, L, lcaron, Lcaron ] }; 1618 key <AD10> { [ p, P,ocircumflex, Ocircumflex ] }; 1619 1620 key <SPCE> { [ space, space, nobreakspace, nobreakspace] }; 1621 1622 include "level3(ralt_switch)" 1623}; 1624 1625// 03 December 2017 - Added us(scn), please refer to 1626// Cadèmia Siciliana <l10n@cademiasiciliana.org> 1627partial alphanumeric_keys 1628xkb_symbols "scn" { 1629 1630 include "us(intl)" 1631 name[Group1]="Sicilian (US keyboard)"; 1632 1633 key <AD03> { [ e, E, U0259, U018F ] }; 1634 key <AC03> { [ d, D, U1E0D, U1E0C ] }; 1635 key <AC04> { [ f, F, U0111, U0110 ] }; 1636 key <AC06> { [ h, H, U1E25, U1E24 ] }; 1637 key <AB02> { [ x, X, U03C7, U03A7 ] }; 1638 key <AB09> { [ period, greater, U1D58, dead_caron ] }; 1639 1640 include "level3(ralt_switch)" 1641}; 1642 1643// XCompose is out! Unicode combining is in! For those of us who live 1644// on the edge: A keymap using Unicode combining characters instead of 1645// deadkeys. This variation does not deviate from the lame MS-style 1646// US-intl layout; but it uses AltGr for combining, like altgr-intl. 1647// 1648// This might break your font layout layout systems (because they 1649// suck), caveat emptor. Also, most of today's software will count 1650// individual combining marks for selection, deletion, character 1651// counting &c., and won't be smart enough to do canonical equivalence 1652// when searching, &c. 1653// 1654// With Unicode combining you use "handwriting order", not 1655// "typewriting order" as with deadkeys. That is, you first type the 1656// base character, then the diacritics/accents/modifiers. This has 1657// the advantage of avoiding hidden states --- each keypress changes 1658// something on screen. 1659// 1660// TODO: as of now, this duplicates all us(intl) functionality with 1661// combining. With care, perhaps we could add more combining marks 1662// not present in intl, and support all major languages. 1663partial alphanumeric_keys 1664xkb_symbols "intl-unicode" { 1665 1666 name[Group1]= "English (US, intl., AltGr Unicode combining)"; 1667 1668 include "us(intl)" 1669 include "level3(ralt_switch)" 1670 1671 // grave, tilde 1672 key <TLDE> { [grave, asciitilde, U0300, U0303 ] }; 1673 // double acute 1674 key <AE02> { [ 2, at, twosuperior, U030B ] }; 1675 // macron 1676 key <AE03> { [ 3, numbersign, threesuperior, U0304 ] }; 1677 // circumflex 1678 key <AE06> { [ 6, asciicircum, onequarter, U0302 ] }; 1679 // horn 1680 key <AE07> { [ 7, ampersand, onehalf, U031B ] }; 1681 // ogonek 1682 key <AE08> { [ 8, asterisk, threequarters, U0328 ] }; 1683 // breve 1684 key <AE09> { [ 9, parenleft, leftsinglequotemark, U0306 ] }; 1685 // abovering 1686 key <AE10> { [ 0, parenright, rightsinglequotemark, U030A ] }; 1687 1688 // belowdot 1689 key <AE11> { [ minus, underscore, yen, U0323 ] }; 1690 // acute, diaeresis 1691 key <AC11> { [apostrophe, quotedbl, U0301, U0308 ] }; 1692 // abovedot, caron 1693 key <AB09> { [ period, greater, U0307, U030C ] }; 1694 // hook 1695 key <AB10> { [ slash, question, questiondown, U0309 ] }; 1696 1697 // alt-intl compatibility 1698 // cedilla, caron 1699 key <AB08> { [ comma, less, U0327, U030C ] }; 1700 // ogonek, diaeresis 1701 key <AC10> { [ semicolon, colon, U0328, U0308 ] }; 1702 // doubleacute, horn 1703 key <AE12> { [ equal, plus, U030B, U031B ] }; 1704 1705 // we don't do combining latin letters and combining enclosures 1706 // because support for those is very rare. 1707}; 1708 1709// XCompose is out! Unicode combining is in! For those of us who live 1710// on the edge: A keymap using Unicode combining characters instead of 1711// deadkeys. This variation does break compatibility with us-intl, 1712// whenever I thought it would be more mnemonic or Unicodeish. 1713partial alphanumeric_keys 1714xkb_symbols "alt-intl-unicode" { 1715 1716 name[Group1]= "English (US, intl., AltGr Unicode combining, alt.)"; 1717 1718 include "us(intl-unicode)" 1719 1720 // easier macron; em-dash. 1721 // em-dash is available via compose, but I added here since it's such 1722 // an important typographic character. 1723 key <AE11> { [ minus, underscore, U0304, U2014 ] }; 1724 1725 // belowdot, abovedot (caron at coma/less key, per above) 1726 key <AB09> { [ period, greater, U0323, U0307 ] }; 1727 1728}; 1729 1730partial alphanumeric_keys 1731xkb_symbols "ats" { 1732 1733 include "us" 1734 name[Group1]= "Atsina"; 1735 1736 //Using Dead key to get COMBINING COMMA ABOVE for ejectives on 1737 //q, l, t, s, m, g, k, p, w, y, r 1738 //XCompose key is used for the other accute and grave. 1739 1740 key <AD03> { [ e, E, eacute, Eacute ] }; 1741 key <AD07> { [ u, U, uacute, Uacute ] }; 1742 key <AD08> { [ i, I, iacute, Iacute ] }; 1743 key <AD09> { [ o, O, oacute, Oacute ] }; 1744 key <AD11> { [ bracketleft, braceleft, U03B8 ] }; 1745 key <AD12> { [ bracketright, braceright, U010D, U010C ] }; 1746 //U+010C (uppercase Č) and U+010D (lowercase č). 1747 1748 key <AC01> { [ a, A, aacute, Aacute ] }; 1749 1750 //Small letter Open use compose to key get acute accent 1751 key <AB03> { [ c, C, U0254, U0186 ] }; 1752 key <AB08> { [ comma, less, U0313 ] }; 1753 key <AB10> { [ slash, question, U0294 ] }; 1754 1755 include "level3(ralt_switch)" 1756 include "compose(rctrl)" 1757}; 1758 1759partial alphanumeric_keys 1760xkb_symbols "crd" { 1761 1762 include "us" 1763 name[Group1]= "Coeur d'Alene Salish"; 1764 1765 key <AD02> { [ w, W, U02B7, U02B7 ] }; 1766 key <AE07> { [ 7, ampersand, U0294 ] }; 1767 key <AD01> { [ q, Q, U221A ] }; 1768 key <AB04> { [ v, V, U0259 ] }; 1769 key <BKSL> { [ backslash, bar, U026B ] }; 1770 key <AD03> { [ e, E, U025B ] }; 1771 key <AD08> { [ i, I, U026A ] }; 1772 key <AC07> { [ j, J, U01F0 ] }; 1773 key <AE06> { [ 6, asciicircum, U0295 ] }; 1774 key <AC02> { [ s, S, U0161 ] }; 1775 key <AB03> { [ c, C, U010D ] }; 1776 key <AD09> { [ o, O, U0254 ] }; 1777 key <AB09> { [ period, greater, U0323 ] }; 1778 1779 include "level3(ralt_switch)" 1780 include "compose(rctrl)" 1781}; 1782 1783 1784partial alphanumeric_keys 1785 xkb_symbols "sun_type6" { 1786 include "sun_vndr/us(sun_type6)" 1787}; 1788 1789// Implementation of the 3l keyboard layout 1790// See https://github.com/jackrosenthal/threelayout for specification 1791partial alphanumeric_keys modifier_keys 1792xkb_symbols "3l" { 1793 name[Group1] = "English (3l)"; 1794 1795 key.type[Group1] = "ONE_LEVEL"; 1796 key <TAB> { [ Escape ] }; 1797 key <CAPS> { [ Tab ] }; 1798 key <AC11> { [ ISO_Level3_Shift ] }; // Sym Modifier 1799 key <AB10> { [ ISO_Level5_Shift ] }; // Cur/Num Modifier 1800 1801 // Top row numbers - not part of spec, but given for convenience 1802 key <AE01> { [ 1 ] }; 1803 key <AE02> { [ 2 ] }; 1804 key <AE03> { [ 3 ] }; 1805 key <AE04> { [ 4 ] }; 1806 key <AE05> { [ 5 ] }; 1807 key <AE06> { [ 6 ] }; 1808 key <AE07> { [ 7 ] }; 1809 key <AE08> { [ 8 ] }; 1810 key <AE09> { [ 9 ] }; 1811 key <AE10> { [ 0 ] }; 1812 1813 // Main keys 1814 // Order of mods (defined by EIGHT_LEVEL_SEMIALPHABETIC) is: 1815 // [ None, Shift, Sym, Shift+Sym, Num, Shift+Num, Sym+Num, Shift+Sym+Num ] 1816 key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC"; 1817 1818 // Second row 1819 key <AD01> { [ q, Q, quotedbl, Greek_omicron, Prior, Prior, U21CD, Greek_OMICRON ] }; 1820 key <AD02> { [ f, F, underscore, Greek_phi, BackSpace, BackSpace, U21A4, Greek_PHI ] }; 1821 key <AD03> { [ u, U, bracketleft, Greek_upsilon, Up, Up, U2191, Greek_UPSILON ] }; 1822 key <AD04> { [ y, Y, bracketright, Greek_psi, Delete, Delete, U21A6, Greek_PSI ] }; 1823 key <AD05> { [ z, Z, asciicircum, Greek_zeta, Next, Next, U21CF, Greek_ZETA ] }; 1824 key <AD06> { [ x, X, exclam, Greek_xi, NoSymbol, NoSymbol, U2260, Greek_XI ] }; 1825 key <AD07> { [ k, K, less, Greek_kappa, 1, A, U2A7D, Greek_KAPPA ] }; 1826 key <AD08> { [ c, C, greater, Greek_chi, 2, B, U2A7E, Greek_CHI ] }; 1827 key <AD09> { [ w, W, equal, Greek_omega, 3, C, U2261, Greek_OMEGA ] }; 1828 key <AD10> { [ b, B, ampersand, Greek_beta, NoSymbol, NoSymbol, U2248, Greek_BETA ] }; 1829 1830 // Home row 1831 key <AC01> { [ o, O, slash, Greek_omega, Home, Home, U21D0, Greek_OMEGA ] }; 1832 key <AC02> { [ h, H, minus, Greek_theta, Left, Left, U2190, Greek_THETA ] }; 1833 key <AC03> { [ e, E, braceleft, Greek_epsilon, Down, Down, U2193, Greek_EPSILON ] }; 1834 key <AC04> { [ a, A, braceright, Greek_alpha, Right, Right, U2192, Greek_ALPHA ] }; 1835 key <AC05> { [ i, I, asterisk, Greek_iota, End, End, U21D2, Greek_IOTA ] }; 1836 key <AC06> { [ d, D, question, Greek_delta, period, colon, U2286, Greek_DELTA ] }; 1837 key <AC07> { [ r, R, parenleft, Greek_rho, 4, D, U2227, Greek_RHO ] }; 1838 key <AC08> { [ t, T, parenright, Greek_tau, 5, E, U2228, Greek_TAU ] }; 1839 key <AC09> { [ n, N, apostrophe, Greek_eta, 6, F, U2200, Greek_ETA ] }; 1840 key <AC10> { [ s, S, colon, Greek_sigma, NoSymbol, NoSymbol, U2203, Greek_SIGMA ] }; 1841 1842 // Bottom row 1843 key <AB01> { [ comma, comma, numbersign, NoSymbol, slash, NoSymbol, U21AE, NoSymbol ] }; 1844 key <AB02> { [ m, M, dollar, Greek_mu, asterisk, NoSymbol, U2194, Greek_MU ] }; 1845 key <AB03> { [ period, period, bar, NoSymbol, minus, NoSymbol, U21CE, NoSymbol ] }; 1846 key <AB04> { [ j, J, asciitilde, Greek_SIGMA, plus, NoSymbol, U21D4, NoSymbol ] }; 1847 key <AB05> { [ semicolon, semicolon, grave, NoSymbol, comma, NoSymbol, U2282, NoSymbol ] }; 1848 key <AB06> { [ g, G, plus, Greek_gamma, 0, NoSymbol, U2229, Greek_GAMMA ] }; 1849 key <AB07> { [ l, L, percent, Greek_lambda, 7, parenleft, U222A, Greek_LAMBDA ] }; 1850 key <AB08> { [ p, P, backslash, Greek_pi, 8, parenright, U2208, Greek_PI ] }; 1851 key <AB09> { [ v, V, at, Greek_nu, 9, NoSymbol, U2209, Greek_NU ] }; 1852 1853 include "level5(modifier_mapping)" 1854}; 1855 1856// Chromebooks typically have the key which is normally in the caps 1857// lock position mapped to keycode 133 (LWIN). For 3l, it is critical 1858// that the key in this positon correspond to tab, so there is a 1859// variant available for chromebook hardware. 1860partial modifier_keys 1861xkb_symbols "3l-cros" { 1862 include "us(3l)" 1863 name[Group1] = "English (3l, Chromebook)"; 1864 key <LWIN> { 1865 type[Group1] = "ONE_LEVEL", 1866 symbols[Group1] = [ Tab ] 1867 }; 1868}; 1869 1870// A 3l variant for emacs users, which maps control to caps lock and (re)maps 1871// tab back to tab. 1872partial modifier_keys 1873xkb_symbols "3l-emacs" { 1874 include "us(3l)" 1875 name[Group1] = "English (3l, emacs)"; 1876 1877 key <TAB> { [ Tab ] }; 1878 key <CAPS> { [ Control_L ] }; 1879 1880 modifier_map Control { <CAPS> }; 1881}; 1882 1883// Drix EU Latin - version 3.1 (2019-10-07) 1884// Author: Jerome Leclanche <jerome@leclan.ch> 1885// Latin layout based on classic US qwerty, with azerty-style second-row m key. 1886// Features: 1887// - Programmer-centric punctuation keys (All common symbols on right hand except < and > on left) 1888// - Most common dead accents on altgr-shift number row 1889// - Unicode arrows on Altgr+shift+WASD 1890// - Some commonly used special characters available: 1891// - Most common european special characters 1892// - Misc currency symbols, copyright/registered/trademark symbols 1893// - Common math symbols + some common greek letters 1894// - Compose key replaces Mod5 1895// 1896// This layout is in the Public Domain. 1897// 1898// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓ 1899// │ ~ ~ │ " ´ │ ' ` │ ^ ^ │ ` ¨ │ ´ ° │ 6 ¯ │ 7 ¸ │ 8 ˛ │ 9 ˇ │ | ˝ │ _ ± │ = ≠ ┃Backspace┃ 1900// │ @ £ │ 1 ¹ │ 2 ² │ 3 ³ │ 4 ⁴ │ 5 ⁵ │ 6 ⁶ │ 7 ⁷ │ 8 ⁸ │ 9 ⁹ │ 0 ⁰ │ - " │ + ' ┃ ⌫ ┃ 1901// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫ 1902// ┃Tab ┃ Q Ø │ W ↑ │ E € │ R ₽ │ T τ │ Y ¥ │ U U │ I ’ │ O Ω │ P ₱ │ [ « │ ] » ┃ ⏎ ┃ 1903// ┃ ↹ ┃ q ø │ w w │ e € │ r ® │ t ™ │ y ¥ │ u u │ i ‘ │ o œ │ p π │ ( { │ ) } ┃ Enter ┃ 1904// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ 1905// ┃Caps ┃ A ← │ S ↓ │ D → │ F Ƒ │ G G │ H H │ J ” │ K „ │ L λ │ M M │ % ‰ │ & × ┃ ┃ 1906// ┃Lock ⇬ ┃ a æ │ s ß │ d Δ │ f ƒ │ g g │ h h │ j “ │ k ‚ │ l £ │ m µ │ # ~ │ * $ ┃ ┃ 1907// ┣━━━━━━┳━┹───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┲━┷━━━━━┻━━━━━━┫ 1908// ┃Shift ┃ > ≥ │ Z ¶ │ X ÷ │ C ¢ │ V V │ B ₿ │ N N │ ? ¿ │ , · │ ; ´ │ \ ¦ ┃Shift ┃ 1909// ┃ ⇧ ┃ < ≤ │ z § │ x × │ c © │ v ♀ │ b ♂ │ n ⚥ │ ! ¡ │ . … │ : ` │ / | ┃ ⇧ ┃ 1910// ┣━━━━━━┻┳━━━━┷━━┳━━┷━━━━┱┴─────┴─────┴─────┴─────┴─────┴────┲┷━━━━━╈━━━━━┻┳━━━━━━┳━━━━━━┫ 1911// ┃Ctrl ┃ Fn ┃Alt ┃ ␣ Space Nobreakspace ⍽ ┃AltGr ┃Multi ┃ Ctxt ┃ Ctrl ┃ 1912// ┃ ┃ ┃ ┃ ␣ Space Nobreakspace ⍽ ┃ ┃ ┃ Menu ┃ ┃ 1913// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━┻━━━━━━┻━━━━━━┻━━━━━━┛ 1914 1915partial alphanumeric_keys modifier_keys 1916xkb_symbols "drix" { 1917 1918 name[Group1] = "English (Drix)"; 1919 1920 // First row 1921 key <TLDE> {[ at, asciitilde, sterling, dead_tilde ]}; // @ ~ £ ~ 1922 key <AE01> {[ 1, quotedbl, onesuperior, dead_grave ]}; // 1 " ¹ ` 1923 key <AE02> {[ 2, apostrophe, twosuperior, dead_acute ]}; // 2 ' ² ´ 1924 key <AE03> {[ 3, asciicircum, threesuperior, dead_circumflex ]}; // 3 ^ ³ ^ 1925 key <AE04> {[ 4, grave, foursuperior, dead_diaeresis ]}; // 4 4 ⁴ ¨ 1926 key <AE05> {[ 5, degree, fivesuperior, dead_abovering ]}; // 5 ° ⁵ ° 1927 key <AE06> {[ 6, 6, sixsuperior, dead_macron ]}; // 6 6 ⁶ ¯ 1928 key <AE07> {[ 7, 7, sevensuperior, dead_cedilla ]}; // 7 7 ⁷ ¸ 1929 key <AE08> {[ 8, 8, eightsuperior, dead_ogonek ]}; // 8 8 ⁸ ˛ 1930 key <AE09> {[ 9, 9, ninesuperior, dead_caron ]}; // 9 9 ⁹ ˇ 1931 key <AE10> {[ 0, bar, zerosuperior, dead_doubleacute ]}; // 0 | ⁰ ˝ 1932 key <AE11> {[ minus, underscore, quotedbl, plusminus ]}; // - _ " ± 1933 key <AE12> {[ plus, equal, apostrophe, notequal ]}; // + = ' ≠ 1934 1935 // Second row 1936 key <AD01> {[ q, Q, oslash, Ooblique ]}; // q Q ø Ø 1937 key <AD02> {[ w, W, w, uparrow ]}; // w W w ↑ 1938 key <AD03> {[ e, E, EuroSign, EuroS ]}; // e E € € 1939 key <AD04> {[ r, R, registered, 0x10020bd ]}; // r R ® ₽ 1940 key <AD05> {[ t, T, trademark, Greek_tau ]}; // t T ™ τ 1941 key <AD06> {[ y, Y, yen, yen ]}; // y Y ¥ ¥ 1942 key <AD07> {[ u, U, u, U ]}; // u U u U 1943 key <AD08> {[ i, I, leftsinglequotemark, rightsinglequotemark ]}; // i I ‘ ’ 1944 key <AD09> {[ o, O, oe, Greek_OMEGA ]}; // o O œ Ω 1945 key <AD10> {[ p, P, Greek_pi, 0x10020b1 ]}; // p P π ₱ 1946 key <AD11> {[ parenleft, bracketleft, braceleft, guillemotleft ]}; // ( [ { « 1947 key <AD12> {[ parenright, bracketright, braceright, guillemotright ]}; // ) ] } » 1948 1949 // Third row 1950 key <AC01> {[ a, A, ae, leftarrow ]}; // a A æ ← 1951 key <AC02> {[ s, S, ssharp, downarrow ]}; // s S ß ↓ 1952 key <AC03> {[ d, D, Greek_DELTA, rightarrow ]}; // d D Δ → 1953 key <AC04> {[ f, F, 0x1000192, 0x1000191 ]}; // f F ƒ Ƒ 1954 key <AC05> {[ g, G, g, G ]}; // g G g G 1955 key <AC06> {[ h, H, h, H ]}; // h H h H 1956 key <AC07> {[ j, J, leftdoublequotemark, rightdoublequotemark ]}; // j J “ ” 1957 key <AC08> {[ k, K, singlelowquotemark, doublelowquotemark ]}; // k K ‚ „ 1958 key <AC09> {[ l, L, sterling, Greek_lambda ]}; // l L £ λ 1959 key <AC10> {[ m, M, mu, M ]}; // m M µ M 1960 key <AC11> {[ numbersign, percent, asciitilde, 0x1002030 ]}; // # % ~ ‰ 1961 1962 // Fourth row 1963 key <LSGT> {[ less, greater, lessthanequal, greaterthanequal ]}; // < > ≤ ≥ 1964 key <AB01> {[ z, Z, section, paragraph ]}; // z Z § ¶ 1965 key <AB02> {[ x, X, multiply, division ]}; // x X × ÷ 1966 key <AB03> {[ c, C, copyright, cent ]}; // c C © ¢ 1967 key <AB04> {[ v, V, 0x1002640, V ]}; // v V ♀ V 1968 key <AB05> {[ b, B, 0x1002642, 0x10020bf ]}; // b B ♂ ₿ 1969 key <AB06> {[ n, N, 0x10026a5, N ]}; // n N ⚥ N 1970 key <AB07> {[ exclam, question, exclamdown, questiondown ]}; // ! ? ¡ ¿ 1971 key <AB08> {[ period, comma, 0x1002026, periodcentered ]}; // . , … · 1972 key <AB09> {[ colon, semicolon, grave, acute ]}; // : ; ` ´ 1973 key <AB10> {[ slash, backslash, bar, brokenbar ]}; // / \ | ¦ 1974 1975 // Next to the enter key 1976 key <BKSL> {[ asterisk, ampersand, dollar, multiply ]}; // * & $ × 1977 1978 // Rebind right Super (windows key) into a Compose key 1979 key <RWIN> {[ Multi_key ]}; 1980 1981 // Implement AltGr and AltGr+Shift 1982 // For some reason, include "level3(ralt_switch)" doesn't do the trick. 1983 key <RALT> { 1984 type[Group1]="TWO_LEVEL", 1985 [ ISO_Level3_Shift, Multi_key ] 1986 }; 1987}; 1988 1989// German and Swedish characters added as third level symbols to the US keyboard layout 1990// Author: Stephan Lachnit <stephanlachnit@protonmail.com>, 2019 1991// the german umlauts are placed over the characters without diaeresis, the sharp-s over the s 1992// the swedish ao is placed over the p, since it's closed to the position on a swedish keyboard 1993// the euro sign is placed over the e, as it is usual for german and swedish keyboards 1994partial alphanumeric_keys 1995xkb_symbols "de_se_fi" { 1996 1997 include "us(basic)" 1998 include "eurosign(e)" 1999 name[Group1] = "German, Swedish and Finnish (US)"; 2000 2001 key <AC01> {[ a, A, adiaeresis, Adiaeresis ]}; 2002 key <AD09> {[ o, O, odiaeresis, Odiaeresis ]}; 2003 key <AC02> {[ s, S, ssharp, U1E9E ]}; 2004 key <AD07> {[ u, U, udiaeresis, Udiaeresis ]}; 2005 key <AD10> {[ p, P, aring, Aring ]}; 2006 2007 include "level3(ralt_switch)" 2008}; 2009