us revision 8157b447
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> { [ 6, asciicircum ] }; 13 key <AE07> { [ 7, 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 of that, when trying to access 870// the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get 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, onehalf, dead_horn ] }; 882 key <KP8> { [ KP_Up, KP_8, threequarters, dead_ogonek ] }; 883 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] }; 884 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] }; 885 886 key <KP4> { [ KP_Left, KP_4, uacute, Uacute ] }; 887 key <KP5> { [ KP_Begin, KP_5, iacute, Iacute ] }; 888 key <KP6> { [ KP_Right, KP_6, oacute, Oacute ] }; 889 key <KPSU> { [ KP_Subtract, KP_Subtract, odiaeresis, Odiaeresis ] }; 890 891 key <KP2> { [ KP_Down, KP_2, oe, OE ] }; 892 key <KP3> { [ KP_Next, KP_3, oslash, Ooblique ] }; 893 key <KPAD> { [ KP_Add, KP_Add, paragraph, degree ] }; 894 895 key <KP0> { [ KP_Insert, KP_0, mu, mu ] }; 896 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_caron ] }; 897 key <KPDV> { [ KP_Divide, KP_Divide, questiondown, dead_hook ] }; 898 899 include "level3(switch)" 900}; 901 902// classmate-alt-intl - us(alt-intl) 903// RCTL is generated by Fn+Alt, because of that, when trying to access 904// the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get 905// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key> 906// generate the same symbol as the original key. 907partial alphanumeric_keys 908xkb_symbols "classmate-alt-intl" { 909 include "us(alt-intl)" 910 name[Group1]= "USA - ClassmatePC (Alternative international)"; 911 key.type[Group1]="FOUR_LEVEL"; 912 913 key <LSGT> { [ backslash, bar, backslash, bar ] }; 914 915 key <KPSU> { [ KP_Subtract, KP_Subtract ] }; 916 917 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] }; 918 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] }; 919 920 key <KPAD> { [ KP_Add, KP_Add, dead_ogonek, dead_diaeresis ] }; 921 922 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_circumflex] }; 923 key <KPDV> { [ KP_Divide, KP_Divide, dead_hook, dead_hook ] }; 924 925 include "level3(switch)" 926}; 927 928// classmate-altgr-intl - us(altgr-intl) 929// RCTL is generated by Fn+Alt, because of that, when trying to access 930// the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get 931// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key> 932// generate the same symbol as the original key. 933partial alphanumeric_keys 934xkb_symbols "classmate-altgr-intl" { 935 include "us(altgr-intl)" 936 name[Group1]= "USA - ClassmatePC (International Fn+Alt dead-keys)"; 937 key.type[Group1]="FOUR_LEVEL"; 938 939 key <LSGT> { [ backslash, bar, backslash, bar ] }; 940 941 key <KP7> { [ KP_Home, KP_7, dead_horn, dead_horn ] }; 942 key <KP8> { [ KP_Up, KP_8, dead_ogonek, dead_ogonek ] }; 943 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] }; 944 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] }; 945 946 key <KP4> { [ KP_Left, KP_4, uacute, Uacute ] }; 947 key <KP5> { [ KP_Begin, KP_5, iacute, Iacute ] }; 948 key <KP6> { [ KP_Right, KP_6, oacute, Oacute ] }; 949 key <KPSU> { [ KP_Subtract, KP_Subtract, odiaeresis, Odiaeresis ] }; 950 951 key <KP1> { [ KP_End, KP_1, idiaeresis, Idiaeresis ] }; 952 key <KP2> { [ KP_Down, KP_2, oe, OE ] }; 953 key <KP3> { [ KP_Next, KP_3, oslash, Ooblique ] }; 954 key <KPAD> { [ KP_Add, KP_Add, paragraph, degree ] }; 955 956 key <KP0> { [ KP_Insert, KP_0, mu, mu ] }; 957 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_caron ] }; 958 key <KPDV> { [ KP_Divide, KP_Divide, questiondown, dead_hook ] }; 959 960 include "level3(switch)" 961}; 962 963partial alphanumeric_keys 964xkb_symbols "olpc" { 965 966 include "us(basic)" 967 name[Group1]= "English (US)"; 968 969 // OLPC international US English keyboard layout. 970 // It's a little different from the usual international layout. 971 // See: http://wiki.laptop.org/go/Image:Keyboard_english.png 972 973 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 974 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] }; 975 key <AE02> { [ 2, at, notsign, notsign ] }; 976 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave 977 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute 978 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above 979 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above 980 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above 981 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above 982 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above 983 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above 984 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above 985 key <AE12> { [ equal, plus, 0x1000303, 0x1000303 ] }; // combining tilde above 986 987 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] }; 988 key <AD02> { [ w, W, oslash, Oslash ] }; 989 key <AD03> { [ e, E, oe, OE ] }; 990 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla 991 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below 992 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below 993 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below 994 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below 995 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below 996 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below 997 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below 998 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below 999 1000 key <AC01> { [ a, A, ae, AE ] }; 1001 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp 1002 key <AC03> { [ d, D, eth, ETH ] }; 1003 key <AC04> { [ f, F, thorn, THORN ] }; 1004 key <AC06> { [ h, H, sterling, sterling ] }; 1005 key <AC07> { [ j, J, EuroSign, EuroSign ] }; 1006 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] }; 1007 key <AC11> { [ apostrophe, quotedbl, currency, currency ] }; 1008 key <AC12> { [ backslash, bar, section, section ] }; 1009 1010 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 1011 key <AB06> { [ n, N, ntilde, Ntilde ] }; 1012 key <AB07> { [ m, M, mu, mu ] }; 1013 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] }; 1014 key <AB09> { [ period, greater, guillemotright, guillemotright ] }; 1015 key <AB10> { [ slash, question, questiondown, questiondown ] }; 1016 1017 key <I219> { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] }; 1018 1019 include "level3(ralt_switch)" 1020}; 1021 1022partial alphanumeric_keys 1023xkb_symbols "olpc2" { 1024 include "us(olpc)" 1025 name[Group1]= "English (the divide/multiply toggle the layout)"; 1026 include "group(olpc)" 1027}; 1028 1029xkb_symbols "olpcm" { 1030 1031 include "us(basic)" 1032 name[Group1]= "English (US)"; 1033 1034 // Mechanical (non-membrane) OLPC int'l US English keyboard layout. 1035 // See: http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard 1036 1037 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 1038 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] }; 1039 key <AE02> { [ 2, at, notsign, notsign ] }; 1040 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave 1041 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute 1042 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above 1043 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above 1044 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above 1045 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above 1046 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above 1047 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above 1048 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above 1049 1050 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] }; 1051 key <AD02> { [ w, W, oslash, Oslash ] }; 1052 key <AD03> { [ e, E, oe, OE ] }; 1053 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla 1054 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below 1055 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below 1056 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below 1057 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below 1058 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below 1059 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below 1060 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below 1061 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below 1062 1063 key <AC01> { [ a, A, ae, AE ] }; 1064 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp 1065 key <AC03> { [ d, D, eth, ETH ] }; 1066 key <AC04> { [ f, F, thorn, THORN ] }; 1067 key <AC06> { [ h, H, sterling, sterling ] }; 1068 key <AC07> { [ j, J, EuroSign, EuroSign ] }; 1069 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] }; 1070 // no AC11 or AC12 on olpcm 1071 1072 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 1073 key <AB06> { [ n, N, ntilde, Ntilde ] }; 1074 key <AB07> { [ m, M, mu, mu ] }; 1075 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] }; 1076 key <AB09> { [ period, greater, guillemotright, guillemotright ] }; 1077 key <AB10> { [ slash, question, questiondown, questiondown ] }; 1078 1079 key <AA02> { [ backslash, bar, section, section ] }; 1080 key <AA06> { [ equal, plus, 0x1000303, 0x1000303 ] }; 1081 key <AA07> { [ apostrophe, quotedbl, currency, currency ] }; 1082 1083 include "level3(ralt_switch)" 1084}; 1085 1086// Based on Cherokee Nation Official Layout 1087// http://www.cherokee.org/extras/downloads/font/Keyboard.htm 1088 1089partial alphanumeric_keys modifier_keys 1090xkb_symbols "chr" { 1091 1092 name[Group1]= "Cherokee"; 1093 key.type[group1]="ALPHABETIC"; 1094 1095 key <TLDE> { [ grave, U13CA ] }; 1096 key <AE01> { [ 1, U13B1 ] }; 1097 key <AE02> { [ 2, U13C7 ] }; 1098 key <AE03> { [ 3, U13E7 ] }; 1099 key <AE04> { [ U13D9, U13B0 ] }; 1100 key <AE05> { [ U13E6, U13B9 ] }; 1101 key <AE06> { [ U13DC, U13DD ] }; 1102 key <AE07> { [ U13CB, U13E1 ] }; 1103 key <AE08> { [ U13D6, U13BA ] }; 1104 key <AE09> { [ U13D2, parenleft ] }; 1105 key <AE10> { [ U13C4, parenright ] }; 1106 key <AE11> { [ U13BF, U13BC ] }; 1107 key <AE12> { [ U13F3, U13BD ] }; 1108 1109 key <AD01> { [ U13AA, U13C6 ] }; 1110 key <AD02> { [ U13B3, U13EB ] }; 1111 key <AD03> { [ U13A1, U13E3 ] }; 1112 key <AD04> { [ U13DB, U13CF ] }; 1113 key <AD05> { [ U13D4, U13D8 ] }; 1114 key <AD06> { [ U13EF, U13F2 ] }; 1115 key <AD07> { [ U13A4, U13AD ] }; 1116 key <AD08> { [ U13A2, U13F1 ] }; 1117 key <AD09> { [ U13A3, U13EC ] }; 1118 key <AD10> { [ U13C1, U13EA ] }; 1119 key <AD11> { [ U13D5, U13D1 ] }; 1120 key <AD12> { [ U13B6, U13E4 ] }; 1121 key <BKSL> { [ U13E9, U13EE ] }; 1122 1123 key <AC01> { [ U13A0, U13CC ] }; 1124 key <AC02> { [ U13CD, U13CE ] }; 1125 key <AC03> { [ U13D7, U13D0 ] }; 1126 key <AC04> { [ U13A9, U13C8 ] }; 1127 key <AC05> { [ U13A6, U13E5 ] }; 1128 key <AC06> { [ U13AF, U13B2 ] }; 1129 key <AC07> { [ U13DA, U13AB ] }; 1130 key <AC08> { [ U13B8, U13A7 ] }; 1131 key <AC09> { [ U13B5, U13AE ] }; 1132 key <AC10> { [ U13E8, U13E0 ] }; 1133 key <AC11> { [ apostrophe, quotedbl ] }; 1134 1135 key <AB01> { [ U13AC, U13C3 ] }; 1136 key <AB02> { [ U13F4, U13ED ] }; 1137 key <AB03> { [ U13D3, U13DF ] }; 1138 key <AB04> { [ U13A5, U13DE ] }; 1139 key <AB05> { [ U13A8, U13F0 ] }; 1140 key <AB06> { [ U13BE, U13BB ] }; 1141 key <AB07> { [ U13C5, U13B7 ] }; 1142 key <AB08> { [ comma, U13E2 ] }; 1143 key <AB09> { [ period, U13B4 ] }; 1144 key <AB10> { [ U13C2, U13C9 ] }; 1145}; 1146 1147// Add Hawaiian `okina and kahako to US layout 1148// Author: Greg Meyer <gregory.meyer@gmail.com>, 2020 1149// this mapping follows the one for Windows here: http://www.olelo.hawaii.edu/enehana/winkbd.php 1150// `okina replaces apostrophe (apostrophe moves to level 3) 1151// vowels with kahako (macron) are level 3 symbols 1152partial alphanumeric_keys 1153xkb_symbols "haw" { 1154 1155 include "us(basic)" 1156 name[Group1] = "Hawaiian"; 1157 1158 // `okina replaces single apostrophe 1159 // alt gives the literal apostrophe 1160 key <AC11> {[ U02BB, quotedbl, apostrophe ] }; 1161 1162 // kahako 1163 key <AC01> {[ a, A, amacron, Amacron ]}; 1164 key <AD03> {[ e, E, emacron, Emacron ]}; 1165 key <AD07> {[ u, U, umacron, Umacron ]}; 1166 key <AD08> {[ i, I, imacron, Imacron ]}; 1167 key <AD09> {[ o, O, omacron, Omacron ]}; 1168 1169 include "level3(ralt_switch)" 1170}; 1171 1172// Serbian charecters added as third level symbols to US keyboard layout. 1173 1174partial alphanumeric_keys 1175xkb_symbols "hbs" { 1176 1177 include "us" 1178 name[Group1]= "Serbo-Croatian (US)"; 1179 1180 key <TLDE> { [ grave, asciitilde ] }; 1181 key <AE06> { [ 6, dead_caron, asciicircum, asciicircum ] }; 1182 key <AE08> { [ 8, asterisk, multiply, division ] }; 1183 key <AE11> { [ minus, underscore, endash, emdash ] }; 1184 key <AC09> { [ l, L, U1C9, U1C8 ] }; 1185 key <AB06> { [ n, N, U1CC, U1CB ] }; 1186 key <AB01> { [ z, Z, U1C6, U1C5 ] }; 1187 key <AD03> { [ e, E, EuroSign, cent ] }; 1188 key <AC03> { [ d, D, dstroke, Dstroke ] }; 1189 key <AC11> { [ dead_acute, quotedbl, apostrophe, apostrophe ] }; 1190 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] }; 1191 key <AB08> { [ comma, less, U3003, guillemotright ] }; 1192 key <AB09> { [ period, greater, ellipsis, guillemotleft ] }; 1193 1194 include "level3(ralt_switch)" 1195}; 1196 1197// Workman Keyboard Layout symbols for xkb on X.Org Server 7.x 1198// 09-06-2010 OJ Bucao. http://www.workmanlayout.com 1199 1200partial alphanumeric_keys 1201xkb_symbols "workman" { 1202 1203 include "us(basic)" 1204 name[Group1]= "English (Workman)"; 1205 1206 key <AD01> { [ q, Q ] }; 1207 key <AD02> { [ d, D ] }; 1208 key <AD03> { [ r, R ] }; 1209 key <AD04> { [ w, W ] }; 1210 key <AD05> { [ b, B ] }; 1211 key <AD06> { [ j, J ] }; 1212 key <AD07> { [ f, F ] }; 1213 key <AD08> { [ u, U ] }; 1214 key <AD09> { [ p, P ] }; 1215 key <AD10> { [ semicolon, colon ] }; 1216 1217 key <AC01> { [ a, A ] }; 1218 key <AC02> { [ s, S ] }; 1219 key <AC03> { [ h, H ] }; 1220 key <AC04> { [ t, T ] }; 1221 key <AC05> { [ g, G ] }; 1222 key <AC06> { [ y, Y ] }; 1223 key <AC07> { [ n, N ] }; 1224 key <AC08> { [ e, E ] }; 1225 key <AC09> { [ o, O ] }; 1226 key <AC10> { [ i, I ] }; 1227 1228 key <AB01> { [ z, Z ] }; 1229 key <AB02> { [ x, X ] }; 1230 key <AB03> { [ m, M ] }; 1231 key <AB04> { [ c, C ] }; 1232 key <AB05> { [ v, V ] }; 1233 key <AB06> { [ k, K ] }; 1234 key <AB07> { [ l, L ] }; 1235 1236 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] }; 1237 1238 include "level3(ralt_switch)" 1239}; 1240 1241partial alphanumeric_keys 1242xkb_symbols "workman-intl" { 1243 1244 include "us(intl)" 1245 name[Group1]= "English (Workman, intl., with dead keys)"; 1246 1247 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] }; 1248 key <AD02> { [ d, D, eth, ETH ] }; 1249 key <AD03> { [ r, R, registered, registered ] }; 1250 key <AD04> { [ w, W, aring, Aring ] }; 1251 key <AD05> { [ b, B, b, B ] }; 1252 key <AD06> { [ j, J, j, J ] }; 1253 key <AD07> { [ f, F, f, F ] }; 1254 key <AD08> { [ u, U, uacute, Uacute ] }; 1255 key <AD09> { [ p, P, odiaeresis, Odiaeresis ] }; 1256 key <AD10> { [ semicolon, colon, paragraph, degree ] }; 1257 1258 key <AC01> { [ a, A, aacute, Aacute ] }; 1259 key <AC02> { [ s, S, ssharp, section ] }; 1260 key <AC03> { [ h, H, h, H ] }; 1261 key <AC04> { [ t, T, thorn, THORN ] }; 1262 key <AC05> { [ g, G, g, G ] }; 1263 key <AC06> { [ y, Y, udiaeresis, Udiaeresis ] }; 1264 key <AC07> { [ n, N, ntilde, Ntilde ] }; 1265 key <AC08> { [ e, E, eacute, Eacute ] }; 1266 key <AC09> { [ o, O, oacute, Oacute ] }; 1267 key <AC10> { [ i, I, iacute, Iacute ] }; 1268 1269 key <AB01> { [ z, Z, ae, AE ] }; 1270 key <AB02> { [ x, X, x, X ] }; 1271 key <AB03> { [ m, M, mu, mu ] }; 1272 key <AB04> { [ c, C, copyright, cent ] }; 1273 key <AB05> { [ v, V, v, V ] }; 1274 key <AB06> { [ k, K, oe, OE ] }; 1275 key <AB07> { [ l, L, oslash, Ooblique ] }; 1276 1277 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] }; 1278 1279 include "level3(ralt_switch)" 1280}; 1281 1282// Norman keyboard layout symbols for xkb on X.Org Server 7.x 1283// Written 11/23/2012, revised 3/7/2013 by David Norman http://normanlayout.info 1284// To the extent possible under law, the author(s) have dedicated all 1285// copyright and related and neighboring rights to this software to the 1286// public domain worldwide. This software is distributed without any warranty. 1287 1288partial alphanumeric_keys 1289xkb_symbols "norman" { 1290 1291 include "us(basic)" 1292 name[Group1]= "English (Norman)"; 1293 1294 key <AD01> { [ q, Q ] }; 1295 key <AD02> { [ w, W ] }; 1296 key <AD03> { [ d, D ] }; 1297 key <AD04> { [ f, F ] }; 1298 key <AD05> { [ k, K ] }; 1299 key <AD06> { [ j, J ] }; 1300 key <AD07> { [ u, U ] }; 1301 key <AD08> { [ r, R ] }; 1302 key <AD09> { [ l, L ] }; 1303 key <AD10> { [ semicolon, colon ] }; 1304 1305 key <AC01> { [ a, A ] }; 1306 key <AC02> { [ s, S ] }; 1307 key <AC03> { [ e, E ] }; 1308 key <AC04> { [ t, T ] }; 1309 key <AC05> { [ g, G ] }; 1310 key <AC06> { [ y, Y ] }; 1311 key <AC07> { [ n, N ] }; 1312 key <AC08> { [ i, I ] }; 1313 key <AC09> { [ o, O ] }; 1314 key <AC10> { [ h, H ] }; 1315 1316 key <AB01> { [ z, Z ] }; 1317 key <AB02> { [ x, X ] }; 1318 key <AB03> { [ c, C ] }; 1319 key <AB04> { [ v, V ] }; 1320 key <AB05> { [ b, B ] }; 1321 key <AB06> { [ p, P ] }; 1322 key <AB07> { [ m, M ] }; 1323 1324 key <CAPS> { [ BackSpace ] }; 1325 1326 include "level3(ralt_switch)" 1327}; 1328 1329// Carpalx layout created by Martin Krzywinski 1330// http://mkweb.bcgsc.ca/carpalx/ 1331 1332partial alphanumeric_keys 1333xkb_symbols "carpalx" { 1334 1335 name[Group1]= "English (Carpalx)"; 1336 1337 key <TLDE> { [ grave, asciitilde ] }; 1338 key <AE01> { [ 1, exclam ] }; 1339 key <AE02> { [ 2, at ] }; 1340 key <AE03> { [ 3, numbersign ] }; 1341 key <AE04> { [ 4, dollar ] }; 1342 key <AE05> { [ 5, percent ] }; 1343 key <AE06> { [ 6, asciicircum ] }; 1344 key <AE07> { [ 7, ampersand ] }; 1345 key <AE08> { [ 8, asterisk ] }; 1346 key <AE09> { [ 9, parenleft ] }; 1347 key <AE10> { [ 0, parenright ] }; 1348 key <AE11> { [ minus, underscore ] }; 1349 key <AE12> { [ equal, plus ] }; 1350 1351 key <AD01> { [ q, Q ] }; 1352 key <AD02> { [ g, G ] }; 1353 key <AD03> { [ m, M ] }; 1354 key <AD04> { [ l, L ] }; 1355 key <AD05> { [ w, W ] }; 1356 key <AD06> { [ y, Y ] }; 1357 key <AD07> { [ f, F ] }; 1358 key <AD08> { [ u, U ] }; 1359 key <AD09> { [ b, B ] }; 1360 key <AD10> { [ semicolon, colon ] }; 1361 key <AD11> { [ bracketleft, braceleft ] }; 1362 key <AD12> { [ bracketright, braceright ] }; 1363 1364 key <AC01> { [ d, D ] }; 1365 key <AC02> { [ s, S ] }; 1366 key <AC03> { [ t, T ] }; 1367 key <AC04> { [ n, N ] }; 1368 key <AC05> { [ r, R ] }; 1369 key <AC06> { [ i, I ] }; 1370 key <AC07> { [ a, A ] }; 1371 key <AC08> { [ e, E ] }; 1372 key <AC09> { [ o, O ] }; 1373 key <AC10> { [ h, H ] }; 1374 key <AC11> { [ apostrophe, quotedbl ] }; 1375 1376 key <AB01> { [ z, Z ] }; 1377 key <AB02> { [ x, X ] }; 1378 key <AB03> { [ c, C ] }; 1379 key <AB04> { [ v, V ] }; 1380 key <AB05> { [ j, J ] }; 1381 key <AB06> { [ k, K ] }; 1382 key <AB07> { [ p, P ] }; 1383 key <AB08> { [ comma, less ] }; 1384 key <AB09> { [ period, greater ] }; 1385 key <AB10> { [ slash, question ] }; 1386 1387 key <BKSL> { [ backslash, bar ] }; 1388}; 1389 1390// Carpalx layout created by Martin Krzywinski 1391// http://mkweb.bcgsc.ca/carpalx/ 1392// Merged with us(intl) and modified to move 1393// accented vowels closer to the plain vowels 1394 1395partial alphanumeric_keys 1396xkb_symbols "carpalx-intl" { 1397 1398 include "us(carpalx)" 1399 name[Group1]= "English (Carpalx, intl., with dead keys)"; 1400 1401 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] }; 1402 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; 1403 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] }; 1404 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] }; 1405 key <AE04> { [ 4, dollar, currency, sterling ] }; 1406 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] }; 1407 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] }; 1408 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] }; 1409 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] }; 1410 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; 1411 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; 1412 key <AE11> { [ minus, underscore, yen, dead_belowdot ] }; 1413 key <AE12> { [ equal, plus, multiply, division ] }; 1414 1415 key <AD01> { [ q, Q, degree, paragraph ] }; 1416 key <AD02> { [ g, G, U011F, U011E ] }; 1417 key <AD03> { [ m, M, mu, mu ] }; 1418 key <AD04> { [ l, L, copyright, cent ] }; 1419 key <AD05> { [ w, W, w, W ] }; 1420 key <AD06> { [ y, Y, idiaeresis, Idiaeresis ] }; 1421 key <AD07> { [ f, F, adiaeresis, Adiaeresis ] }; 1422 key <AD08> { [ u, U, udiaeresis, Udiaeresis ] }; 1423 key <AD09> { [ b, B, odiaeresis, Odiaeresis ] }; 1424 key <AD10> { [ semicolon, colon, oslash, Ooblique ] }; 1425 key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] }; 1426 key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] }; 1427 1428 key <AC01> { [ d, D, eth, ETH ] }; 1429 key <AC02> { [ s, S, ssharp, section ] }; 1430 key <AC03> { [ t, T, thorn, THORN ] }; 1431 key <AC04> { [ n, N, ntilde, Ntilde ] }; 1432 key <AC05> { [ r, R, registered, registered ] }; 1433 key <AC06> { [ i, I, iacute, Iacute ] }; 1434 key <AC07> { [ a, A, aacute, Aacute ] }; 1435 key <AC08> { [ e, E, eacute, Eacute ] }; 1436 key <AC09> { [ o, O, oacute, Oacute ] }; 1437 key <AC10> { [ h, H, uacute, Uacute ] }; 1438 key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] }; 1439 1440 key <AB01> { [ z, Z, z, Z ] }; 1441 key <AB02> { [ x, X, U015F, U015E ] }; 1442 key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 1443 key <AB04> { [ v, V, ae, AE ] }; 1444 key <AB05> { [ j, J, oe, OE ] }; 1445 key <AB06> { [ k, K, U0131, U0130 ] }; 1446 key <AB07> { [ p, P, aring, Aring ] }; 1447 key <AB08> { [ comma, less, ediaeresis, Ediaeresis ] }; 1448 key <AB09> { [ period, greater, dead_abovedot, dead_caron ] }; 1449 key <AB10> { [ slash, question, questiondown, dead_hook ] }; 1450 key <BKSL> { [ backslash, bar, notsign, brokenbar ] }; 1451 1452 key <LSGT> { [ backslash, bar, backslash, bar ] }; 1453 1454 include "level3(ralt_switch)" 1455}; 1456 1457// Carpalx layout created by Martin Krzywinski 1458// http://mkweb.bcgsc.ca/carpalx/ 1459// Merged with us(intl) and us(altgr-intl) and modified to move 1460// accented vowels closer to the plain vowels 1461 1462partial alphanumeric_keys 1463xkb_symbols "carpalx-altgr-intl" { 1464 1465 include "us(carpalx-intl)" 1466 name[Group1]= "English (Carpalx, intl., with AltGr dead keys)"; 1467 1468// five dead keys moved into level3: 1469 1470 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; 1471 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] }; 1472 1473// diversions from the MS Intl keyboard: 1474 1475 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] }; 1476 1477// onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys: 1478 1479 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] }; 1480 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] }; 1481 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] }; 1482 1483 include "level3(ralt_switch)" 1484}; 1485 1486// Carpalx layout created by Martin Krzywinski 1487// Full optimization variant without fixed QWERTY-like ZXCV keys 1488// http://mkweb.bcgsc.ca/carpalx/ 1489 1490partial alphanumeric_keys 1491xkb_symbols "carpalx-full" { 1492 1493 include "us(carpalx)" 1494 name[Group1]= "English (Carpalx, full optimization)"; 1495 1496 key <AD06> { [ b, B ] }; 1497 key <AD07> { [ y, Y ] }; 1498 key <AD09> { [ v, V ] }; 1499 1500 key <AB04> { [ f, F ] }; 1501}; 1502 1503// Carpalx layout created by Martin Krzywinski 1504// Full optimization variant without fixed QWERTY-like ZXCV keys 1505// http://mkweb.bcgsc.ca/carpalx/ 1506// Merged with us(intl) and modified to move 1507// accented vowels closer to the plain vowels 1508 1509partial alphanumeric_keys 1510xkb_symbols "carpalx-full-intl" { 1511 1512 include "us(carpalx-intl)" 1513 name[Group1]= "English (Carpalx, full optimization, intl., with dead keys)"; 1514 1515 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] }; 1516 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] }; 1517 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] }; 1518 1519 key <AB04> { [ f, F, ae, AE ] }; 1520}; 1521 1522// Carpalx layout created by Martin Krzywinski 1523// Full optimization variant without fixed QWERTY-like ZXCV keys 1524// http://mkweb.bcgsc.ca/carpalx/ 1525// Merged with us(intl) and us(altgr-intl) and modified to move 1526// accented vowels closer to the plain vowels 1527 1528partial alphanumeric_keys 1529xkb_symbols "carpalx-full-altgr-intl" { 1530 1531 include "us(carpalx-altgr-intl)" 1532 name[Group1]= "English (Carpalx, full optimization, intl., with AltGr dead keys)"; 1533 1534 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] }; 1535 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] }; 1536 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] }; 1537 1538 key <AB04> { [ f, F, ae, AE ] }; 1539}; 1540 1541// US Symbolic 1542// Author: Daniele Baisero <daniele.baisero@gmail.com> 1543// Based on the default keyboard map from 'symbols/us', edited for scientific literature. 1544// Added simple Greek letters to alphas, and common symbols everywhere else. 1545// TLDE and BKSL are AltGr-inverse, to facilitate placement of ESC over TLDE on 60% keyboards. 1546// LGST (Iso Key) contains rarely used floor and ceiling brackets. 1547partial alphanumeric_keys modifier_keys 1548xkb_symbols "symbolic" { 1549 1550 name[Group1]= "English (US, Symbolic)"; 1551 1552 key <TLDE> { [ grave, asciitilde, backslash, bar ] }; // ` ~ \ | 1553 key <AE01> { [ 1, exclam, onesuperior, notsign ] }; // 1 ! ¹ ¬ 1554 key <AE02> { [ 2, at, twosuperior, therefore ] }; // 2 @ ² ∴ 1555 key <AE03> { [ 3, numbersign, threesuperior, sterling ] }; // 3 # ³ £ 1556 key <AE04> { [ 4, dollar, foursuperior, EuroSign ] }; // 4 $ ⁴ € 1557 key <AE05> { [ 5, percent, fivesuperior, U2030 ] }; // 5 % ⁵ ‰ 1558 key <AE06> { [ 6, asciicircum, sixsuperior, squareroot ] }; // 6 ^ ⁶ √ 1559 key <AE07> { [ 7, ampersand, sevensuperior, section ] }; // 7 & ⁷ § 1560 key <AE08> { [ 8, asterisk, eightsuperior, infinity ] }; // 8 * ⁸ ∞ 1561 key <AE09> { [ 9, parenleft, ninesuperior, periodcentered ] }; // 9 ( ⁹ · 1562 key <AE10> { [ 0, parenright, zerosuperior, degree ] }; // 0 ) ⁰ ° 1563 key <AE11> { [ minus, underscore, notequal, plusminus ] }; // - _ ≠ ± 1564 key <AE12> { [ equal, plus, multiply, division ] }; // = + × ÷ 1565 1566 key <AD01> { [ q, Q, U2200, U2203 ] }; // q Q ∀ ∃ 1567 key <AD02> { [ w, W, elementof, notelementof ] }; // w W ∈ ∉ 1568 key <AD03> { [ e, E, Greek_epsilon, Greek_EPSILON ] }; // e E ε Ε 1569 key <AD04> { [ r, R, Greek_rho, Greek_RHO ] }; // p P ρ Ρ 1570 key <AD05> { [ t, T, Greek_tau, Greek_TAU ] }; // t T τ Τ 1571 key <AD06> { [ y, Y, Greek_upsilon, Greek_UPSILON ] }; // y Y υ Υ 1572 key <AD07> { [ u, U, Greek_theta, Greek_THETA ] }; // u U θ Θ 1573 key <AD08> { [ i, I, Greek_iota, Greek_IOTA ] }; // i I ι Ι 1574 key <AD09> { [ o, O, Greek_omicron, Greek_OMICRON ] }; // o O ο Ο 1575 key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; // p P π Π 1576 key <AD11> { [ bracketleft, braceleft, union, intersection ] }; // [ { ∪ ∩ 1577 key <AD12> { [ bracketright, braceright, includedin, includes ] }; // ] } ⊂ ⊃ 1578 1579 key <AC01> { [ a, A, Greek_alpha, Greek_ALPHA ] }; // a A α Α 1580 key <AC02> { [ s, S, Greek_sigma, Greek_SIGMA ] }; // s S σ Σ 1581 key <AC03> { [ d, D, Greek_delta, Greek_DELTA ] }; // d D δ Δ 1582 key <AC04> { [ f, F, Greek_phi, Greek_PHI ] }; // f F φ Φ 1583 key <AC05> { [ g, G, Greek_gamma, Greek_GAMMA ] }; // g G γ Γ 1584 key <AC06> { [ h, H, Greek_eta, Greek_ETA ] }; // h H η Η 1585 key <AC07> { [ j, J, Greek_xi, Greek_XI ] }; // j J ξ Ξ 1586 key <AC08> { [ k, K, Greek_kappa, Greek_KAPPA ] }; // k K κ Κ 1587 key <AC09> { [ l, L, Greek_lamda, Greek_LAMDA ] }; // l L λ Λ 1588 key <AC10> { [ semicolon, colon, downarrow, uparrow ] }; // ; : ↓ ↑ 1589 key <AC11> { [ apostrophe, quotedbl, rightarrow, leftarrow ] }; // ' " → ← 1590 1591 key <AB01> { [ z, Z, Greek_zeta, Greek_ZETA ] }; // z Z ζ Ζ 1592 key <AB02> { [ x, X, Greek_chi, Greek_CHI ] }; // x X χ Χ 1593 key <AB03> { [ c, C, Greek_psi, Greek_PSI ] }; // c C ψ Ψ 1594 key <AB04> { [ v, V, Greek_omega, Greek_OMEGA ] }; // v V ω Ω 1595 key <AB05> { [ b, B, Greek_beta, Greek_BETA ] }; // b B β Β 1596 key <AB06> { [ n, N, Greek_nu, Greek_NU ] }; // n N ν Ν 1597 key <AB07> { [ m, M, Greek_mu, Greek_MU ] }; // m M μ Μ 1598 key <AB08> { [ comma, less, lessthanequal, guillemotleft ] }; // , < ≤ « 1599 key <AB09> { [ period, greater, greaterthanequal, guillemotright ] }; // . > ≥ » 1600 key <AB10> { [ slash, question, U203D, U2766 ] }; // / ? ‽ ❦ 1601 1602 key <BKSL> { [ backslash, bar, grave, asciitilde ] }; // \ | ` ~ 1603 key <LSGT> { [ U230A, U230B, U2308, U2309 ] }; // ⌊ ⌋ ⌈ ⌉ 1604 1605 include "level3(ralt_switch)" 1606 1607}; 1608 1609// EXTRAS: 1610 1611// Czech, Slovak and German charecters added as third level symbols to US keyboard layout. 1612partial alphanumeric_keys 1613xkb_symbols "cz_sk_de" { 1614 1615 include "us" 1616 name[Group1]="Czech Slovak and German (US)"; 1617 1618 key <TLDE> { [grave, asciitilde, uring, Uring ] }; 1619 key <AE01> { [ 1, exclam, uacute, Uacute ] }; 1620 key <AE02> { [ 2, at, ecaron, Ecaron ] }; 1621 key <AE03> { [ 3, numbersign, scaron, Scaron ] }; 1622 key <AE04> { [ 4, dollar, ccaron, Ccaron ] }; 1623 key <AE05> { [ 5, percent, rcaron, Rcaron ] }; 1624 key <AE06> { [ 6, asciicircum, zcaron, Zcaron ] }; 1625 key <AE07> { [ 7, ampersand, yacute, Yacute ] }; 1626 key <AE08> { [ 8, asterisk, aacute, Aacute ] }; 1627 key <AE09> { [ 9, parenleft, iacute, Iacute ] }; 1628 key <AE10> { [ 0, parenright, eacute, Eacute ] }; 1629 key <AE11> { [minus, underscore, ssharp, 0x1001E9E ] }; 1630 key <AE12> { [equal, plus, dead_acute, dead_caron ] }; 1631 1632 key <AD03> { [ e, E, EuroSign, Eacute ] }; 1633 1634 key <AD11> { [bracketleft, braceleft, udiaeresis, Udiaeresis ] }; 1635 key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] }; 1636 key <AC11> { [apostrophe, quotedbl,adiaeresis, Adiaeresis ] }; 1637 1638 key <AC01> { [ a, A, aacute, Aacute ] }; 1639 key <AD08> { [ i, I, iacute, Iacute ] }; 1640 key <AD09> { [ o, O, oacute, Oacute ] }; 1641 key <AD06> { [ y, Y, yacute, Yacute ] }; 1642 key <AD07> { [ u, U, uring, Uring ] }; 1643 1644 key <AC02> { [ s, S, scaron, Scaron ] }; 1645 key <AB01> { [ z, Z, zcaron, Zcaron ] }; 1646 key <AB03> { [ c, C, ccaron, Ccaron ] }; 1647 key <AD04> { [ r, R, rcaron, Rcaron ] }; 1648 key <AD05> { [ t, T, tcaron, Tcaron ] }; 1649 key <AC03> { [ d, D, dcaron, Dcaron ] }; 1650 key <AB06> { [ n, N, ncaron, Ncaron ] }; 1651 key <AC09> { [ l, L, lcaron, Lcaron ] }; 1652 key <AD10> { [ p, P,ocircumflex, Ocircumflex ] }; 1653 1654 key <SPCE> { [ space, space, nobreakspace, nobreakspace] }; 1655 1656 include "level3(ralt_switch)" 1657}; 1658 1659// 03 December 2017 - Added us(scn), please refer to 1660// Cadèmia Siciliana <l10n@cademiasiciliana.org> 1661partial alphanumeric_keys 1662xkb_symbols "scn" { 1663 1664 include "us(intl)" 1665 name[Group1]="Sicilian (US keyboard)"; 1666 1667 key <AD03> { [ e, E, U0259, U018F ] }; 1668 key <AC03> { [ d, D, U1E0D, U1E0C ] }; 1669 key <AC04> { [ f, F, U0111, U0110 ] }; 1670 key <AC06> { [ h, H, U1E25, U1E24 ] }; 1671 key <AB02> { [ x, X, U03C7, U03A7 ] }; 1672 key <AB09> { [ period, greater, U1D58, dead_caron ] }; 1673 1674 include "level3(ralt_switch)" 1675}; 1676 1677// XCompose is out! Unicode combining is in! For those of us who live 1678// on the edge: A keymap using Unicode combining characters instead of 1679// deadkeys. This variation does not deviate from the lame MS-style 1680// US-intl layout; but it uses AltGr for combining, like altgr-intl. 1681// 1682// This might break your font layout layout systems (because they 1683// suck), caveat emptor. Also, most of today's software will count 1684// individual combining marks for selection, deletion, character 1685// counting &c., and won't be smart enough to do canonical equivalence 1686// when searching, &c. 1687// 1688// With Unicode combining you use "handwriting order", not 1689// "typewriting order" as with deadkeys. That is, you first type the 1690// base character, then the diacritics/accents/modifiers. This has 1691// the advantage of avoiding hidden states --- each keypress changes 1692// something on screen. 1693// 1694// TODO: as of now, this duplicates all us(intl) functionality with 1695// combining. With care, perhaps we could add more combining marks 1696// not present in intl, and support all major languages. 1697partial alphanumeric_keys 1698xkb_symbols "intl-unicode" { 1699 1700 include "us(intl)" 1701 include "level3(ralt_switch)" 1702 1703 name[Group1]= "English (US, intl., AltGr Unicode combining)"; 1704 1705 // grave, tilde 1706 key <TLDE> { [grave, asciitilde, U0300, U0303 ] }; 1707 // double acute 1708 key <AE02> { [ 2, at, twosuperior, U030B ] }; 1709 // macron 1710 key <AE03> { [ 3, numbersign, threesuperior, U0304 ] }; 1711 // circumflex 1712 key <AE06> { [ 6, asciicircum, onequarter, U0302 ] }; 1713 // horn 1714 key <AE07> { [ 7, ampersand, onehalf, U031B ] }; 1715 // ogonek 1716 key <AE08> { [ 8, asterisk, threequarters, U0328 ] }; 1717 // breve 1718 key <AE09> { [ 9, parenleft, leftsinglequotemark, U0306 ] }; 1719 // abovering 1720 key <AE10> { [ 0, parenright, rightsinglequotemark, U030A ] }; 1721 1722 // belowdot 1723 key <AE11> { [ minus, underscore, yen, U0323 ] }; 1724 // acute, diaeresis 1725 key <AC11> { [apostrophe, quotedbl, U0301, U0308 ] }; 1726 // abovedot, caron 1727 key <AB09> { [ period, greater, U0307, U030C ] }; 1728 // hook 1729 key <AB10> { [ slash, question, questiondown, U0309 ] }; 1730 1731 // alt-intl compatibility 1732 // cedilla, caron 1733 key <AB08> { [ comma, less, U0327, U030C ] }; 1734 // ogonek, diaeresis 1735 key <AC10> { [ semicolon, colon, U0328, U0308 ] }; 1736 // doubleacute, horn 1737 key <AE12> { [ equal, plus, U030B, U031B ] }; 1738 1739 // we don't do combining latin letters and combining enclosures 1740 // because support for those is very rare. 1741}; 1742 1743// XCompose is out! Unicode combining is in! For those of us who live 1744// on the edge: A keymap using Unicode combining characters instead of 1745// deadkeys. This variation does break compatibility with us-intl, 1746// whenever I thought it would be more mnemonic or Unicodeish. 1747partial alphanumeric_keys 1748xkb_symbols "alt-intl-unicode" { 1749 1750 include "us(intl-unicode)" 1751 1752 name[Group1]= "English (US, intl., AltGr Unicode combining, alt.)"; 1753 1754 // easier macron; em-dash. 1755 // em-dash is available via compose, but I added here since it's such 1756 // an important typographic character. 1757 key <AE11> { [ minus, underscore, U0304, U2014 ] }; 1758 1759 // belowdot, abovedot (caron at coma/less key, per above) 1760 key <AB09> { [ period, greater, U0323, U0307 ] }; 1761 1762}; 1763 1764partial alphanumeric_keys 1765xkb_symbols "ats" { 1766 1767 include "us" 1768 name[Group1]= "Atsina"; 1769 1770 //Using Dead key to get COMBINING COMMA ABOVE for ejectives on 1771 //q, l, t, s, m, g, k, p, w, y, r 1772 //XCompose key is used for the other accute and grave. 1773 1774 key <AD03> { [ e, E, eacute, Eacute ] }; 1775 key <AD07> { [ u, U, uacute, Uacute ] }; 1776 key <AD08> { [ i, I, iacute, Iacute ] }; 1777 key <AD09> { [ o, O, oacute, Oacute ] }; 1778 key <AD11> { [ bracketleft, braceleft, U03B8 ] }; 1779 key <AD12> { [ bracketright, braceright, U010D, U010C ] }; 1780 //U+010C (uppercase Č) and U+010D (lowercase č). 1781 1782 key <AC01> { [ a, A, aacute, Aacute ] }; 1783 1784 //Small letter Open use compose to key get acute accent 1785 key <AB03> { [ c, C, U0254, U0186 ] }; 1786 key <AB08> { [ comma, less, U0313 ] }; 1787 key <AB10> { [ slash, question, U0294 ] }; 1788 1789 include "level3(ralt_switch)" 1790 include "compose(rctrl)" 1791}; 1792 1793partial alphanumeric_keys 1794xkb_symbols "crd" { 1795 1796 include "us" 1797 name[Group1]= "Coeur d'Alene Salish"; 1798 1799 key <AD02> { [ w, W, U02B7, U02B7 ] }; 1800 key <AE07> { [ 7, ampersand, U0294 ] }; 1801 key <AD01> { [ q, Q, U221A ] }; 1802 key <AB04> { [ v, V, U0259 ] }; 1803 key <BKSL> { [ backslash, bar, U026B ] }; 1804 key <AD03> { [ e, E, U025B ] }; 1805 key <AD08> { [ i, I, U026A ] }; 1806 key <AC07> { [ j, J, U01F0 ] }; 1807 key <AE06> { [ 6, asciicircum, U0295 ] }; 1808 key <AC02> { [ s, S, U0161 ] }; 1809 key <AB03> { [ c, C, U010D ] }; 1810 key <AD09> { [ o, O, U0254 ] }; 1811 key <AB09> { [ period, greater, U0323 ] }; 1812 1813 include "level3(ralt_switch)" 1814 include "compose(rctrl)" 1815}; 1816 1817 1818partial alphanumeric_keys 1819 xkb_symbols "sun_type6" { 1820 include "sun_vndr/us(sun_type6)" 1821}; 1822 1823// Implementation of the 3l keyboard layout 1824// See https://github.com/jackrosenthal/threelayout for specification 1825partial alphanumeric_keys modifier_keys 1826xkb_symbols "3l" { 1827 name[Group1] = "English (3l)"; 1828 1829 key.type[Group1] = "ONE_LEVEL"; 1830 key <TAB> { [ Escape ] }; 1831 key <CAPS> { [ Tab ] }; 1832 key <AC11> { [ ISO_Level3_Shift ] }; // Sym Modifier 1833 key <AB10> { [ ISO_Level5_Shift ] }; // Cur/Num Modifier 1834 1835 // Top row numbers - not part of spec, but given for convenience 1836 key <AE01> { [ 1 ] }; 1837 key <AE02> { [ 2 ] }; 1838 key <AE03> { [ 3 ] }; 1839 key <AE04> { [ 4 ] }; 1840 key <AE05> { [ 5 ] }; 1841 key <AE06> { [ 6 ] }; 1842 key <AE07> { [ 7 ] }; 1843 key <AE08> { [ 8 ] }; 1844 key <AE09> { [ 9 ] }; 1845 key <AE10> { [ 0 ] }; 1846 1847 // Main keys 1848 // Order of mods (defined by EIGHT_LEVEL_SEMIALPHABETIC) is: 1849 // [ None, Shift, Sym, Shift+Sym, Num, Shift+Num, Sym+Num, Shift+Sym+Num ] 1850 key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC"; 1851 1852 // Second row 1853 key <AD01> { [ q, Q, quotedbl, Greek_omicron, Prior, Prior, U21CD, Greek_OMICRON ] }; 1854 key <AD02> { [ f, F, underscore, Greek_phi, BackSpace, BackSpace, U21A4, Greek_PHI ] }; 1855 key <AD03> { [ u, U, bracketleft, Greek_upsilon, Up, Up, U2191, Greek_UPSILON ] }; 1856 key <AD04> { [ y, Y, bracketright, Greek_psi, Delete, Delete, U21A6, Greek_PSI ] }; 1857 key <AD05> { [ z, Z, asciicircum, Greek_zeta, Next, Next, U21CF, Greek_ZETA ] }; 1858 key <AD06> { [ x, X, exclam, Greek_xi, NoSymbol, NoSymbol, U2260, Greek_XI ] }; 1859 key <AD07> { [ k, K, less, Greek_kappa, 1, A, U2A7D, Greek_KAPPA ] }; 1860 key <AD08> { [ c, C, greater, Greek_chi, 2, B, U2A7E, Greek_CHI ] }; 1861 key <AD09> { [ w, W, equal, Greek_omega, 3, C, U2261, Greek_OMEGA ] }; 1862 key <AD10> { [ b, B, ampersand, Greek_beta, NoSymbol, NoSymbol, U2248, Greek_BETA ] }; 1863 1864 // Home row 1865 key <AC01> { [ o, O, slash, Greek_omega, Home, Home, U21D0, Greek_OMEGA ] }; 1866 key <AC02> { [ h, H, minus, Greek_theta, Left, Left, U2190, Greek_THETA ] }; 1867 key <AC03> { [ e, E, braceleft, Greek_epsilon, Down, Down, U2193, Greek_EPSILON ] }; 1868 key <AC04> { [ a, A, braceright, Greek_alpha, Right, Right, U2192, Greek_ALPHA ] }; 1869 key <AC05> { [ i, I, asterisk, Greek_iota, End, End, U21D2, Greek_IOTA ] }; 1870 key <AC06> { [ d, D, question, Greek_delta, period, colon, U2286, Greek_DELTA ] }; 1871 key <AC07> { [ r, R, parenleft, Greek_rho, 4, D, U2227, Greek_RHO ] }; 1872 key <AC08> { [ t, T, parenright, Greek_tau, 5, E, U2228, Greek_TAU ] }; 1873 key <AC09> { [ n, N, apostrophe, Greek_eta, 6, F, U2200, Greek_ETA ] }; 1874 key <AC10> { [ s, S, colon, Greek_sigma, NoSymbol, NoSymbol, U2203, Greek_SIGMA ] }; 1875 1876 // Bottom row 1877 key <AB01> { [ comma, comma, numbersign, NoSymbol, slash, NoSymbol, U21AE, NoSymbol ] }; 1878 key <AB02> { [ m, M, dollar, Greek_mu, asterisk, NoSymbol, U2194, Greek_MU ] }; 1879 key <AB03> { [ period, period, bar, NoSymbol, minus, NoSymbol, U21CE, NoSymbol ] }; 1880 key <AB04> { [ j, J, asciitilde, Greek_SIGMA, plus, NoSymbol, U21D4, NoSymbol ] }; 1881 key <AB05> { [ semicolon, semicolon, grave, NoSymbol, comma, NoSymbol, U2282, NoSymbol ] }; 1882 key <AB06> { [ g, G, plus, Greek_gamma, 0, NoSymbol, U2229, Greek_GAMMA ] }; 1883 key <AB07> { [ l, L, percent, Greek_lambda, 7, parenleft, U222A, Greek_LAMBDA ] }; 1884 key <AB08> { [ p, P, backslash, Greek_pi, 8, parenright, U2208, Greek_PI ] }; 1885 key <AB09> { [ v, V, at, Greek_nu, 9, NoSymbol, U2209, Greek_NU ] }; 1886 1887 include "level5(modifier_mapping)" 1888}; 1889 1890// Chromebooks typically have the key which is normally in the caps 1891// lock position mapped to keycode 133 (LWIN). For 3l, it is critical 1892// that the key in this positon correspond to tab, so there is a 1893// variant available for chromebook hardware. 1894partial modifier_keys 1895xkb_symbols "3l-cros" { 1896 include "us(3l)" 1897 name[Group1] = "English (3l, Chromebook)"; 1898 key <LWIN> { 1899 type[Group1] = "ONE_LEVEL", 1900 symbols[Group1] = [ Tab ] 1901 }; 1902}; 1903 1904// A 3l variant for emacs users, which maps control to caps lock and (re)maps 1905// tab back to tab. 1906partial modifier_keys 1907xkb_symbols "3l-emacs" { 1908 include "us(3l)" 1909 name[Group1] = "English (3l, emacs)"; 1910 1911 key <TAB> { [ Tab ] }; 1912 key <CAPS> { [ Control_L ] }; 1913 1914 modifier_map Control { <CAPS> }; 1915}; 1916 1917// Drix EU Latin - version 3.1 (2019-10-07) 1918// Author: Jerome Leclanche <jerome@leclan.ch> 1919// Latin layout based on classic US qwerty, with azerty-style second-row m key. 1920// Features: 1921// - Programmer-centric punctuation keys (All common symbols on right hand except < and > on left) 1922// - Most common dead accents on altgr-shift number row 1923// - Unicode arrows on Altgr+shift+WASD 1924// - Some commonly used special characters available: 1925// - Most common european special characters 1926// - Misc currency symbols, copyright/registered/trademark symbols 1927// - Common math symbols + some common greek letters 1928// - Compose key replaces Mod5 1929// 1930// This layout is in the Public Domain. 1931// 1932// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓ 1933// │ ~ ~ │ " ´ │ ' ` │ ^ ^ │ ` ¨ │ ´ ° │ 6 ¯ │ 7 ¸ │ 8 ˛ │ 9 ˇ │ | ˝ │ _ ± │ = ≠ ┃Backspace┃ 1934// │ @ £ │ 1 ¹ │ 2 ² │ 3 ³ │ 4 ⁴ │ 5 ⁵ │ 6 ⁶ │ 7 ⁷ │ 8 ⁸ │ 9 ⁹ │ 0 ⁰ │ - " │ + ' ┃ ⌫ ┃ 1935// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫ 1936// ┃Tab ┃ Q Ø │ W ↑ │ E € │ R ₽ │ T τ │ Y ¥ │ U U │ I ’ │ O Ω │ P ₱ │ [ « │ ] » ┃ ⏎ ┃ 1937// ┃ ↹ ┃ q ø │ w w │ e € │ r ® │ t ™ │ y ¥ │ u u │ i ‘ │ o œ │ p π │ ( { │ ) } ┃ Enter ┃ 1938// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ 1939// ┃Caps ┃ A ← │ S ↓ │ D → │ F Ƒ │ G G │ H H │ J ” │ K „ │ L λ │ M M │ % ‰ │ & × ┃ ┃ 1940// ┃Lock ⇬ ┃ a æ │ s ß │ d Δ │ f ƒ │ g g │ h h │ j “ │ k ‚ │ l £ │ m µ │ # ~ │ * $ ┃ ┃ 1941// ┣━━━━━━┳━┹───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┬─┴───┲━┷━━━━━┻━━━━━━┫ 1942// ┃Shift ┃ > ≥ │ Z ¶ │ X ÷ │ C ¢ │ V V │ B ₿ │ N N │ ? ¿ │ , · │ ; ´ │ \ ¦ ┃Shift ┃ 1943// ┃ ⇧ ┃ < ≤ │ z § │ x × │ c © │ v ♀ │ b ♂ │ n ⚥ │ ! ¡ │ . … │ : ` │ / | ┃ ⇧ ┃ 1944// ┣━━━━━━┻┳━━━━┷━━┳━━┷━━━━┱┴─────┴─────┴─────┴─────┴─────┴────┲┷━━━━━╈━━━━━┻┳━━━━━━┳━━━━━━┫ 1945// ┃Ctrl ┃ Fn ┃Alt ┃ ␣ Space Nobreakspace ⍽ ┃AltGr ┃Multi ┃ Ctxt ┃ Ctrl ┃ 1946// ┃ ┃ ┃ ┃ ␣ Space Nobreakspace ⍽ ┃ ┃ ┃ Menu ┃ ┃ 1947// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━┻━━━━━━┻━━━━━━┻━━━━━━┛ 1948 1949partial alphanumeric_keys modifier_keys 1950xkb_symbols "drix" { 1951 1952 name[Group1] = "English (Drix)"; 1953 1954 // First row 1955 key <TLDE> {[ at, asciitilde, sterling, dead_tilde ]}; // @ ~ £ ~ 1956 key <AE01> {[ 1, quotedbl, onesuperior, dead_grave ]}; // 1 " ¹ ` 1957 key <AE02> {[ 2, apostrophe, twosuperior, dead_acute ]}; // 2 ' ² ´ 1958 key <AE03> {[ 3, asciicircum, threesuperior, dead_circumflex ]}; // 3 ^ ³ ^ 1959 key <AE04> {[ 4, grave, foursuperior, dead_diaeresis ]}; // 4 4 ⁴ ¨ 1960 key <AE05> {[ 5, degree, fivesuperior, dead_abovering ]}; // 5 ° ⁵ ° 1961 key <AE06> {[ 6, 6, sixsuperior, dead_macron ]}; // 6 6 ⁶ ¯ 1962 key <AE07> {[ 7, 7, sevensuperior, dead_cedilla ]}; // 7 7 ⁷ ¸ 1963 key <AE08> {[ 8, 8, eightsuperior, dead_ogonek ]}; // 8 8 ⁸ ˛ 1964 key <AE09> {[ 9, 9, ninesuperior, dead_caron ]}; // 9 9 ⁹ ˇ 1965 key <AE10> {[ 0, bar, zerosuperior, dead_doubleacute ]}; // 0 | ⁰ ˝ 1966 key <AE11> {[ minus, underscore, quotedbl, plusminus ]}; // - _ " ± 1967 key <AE12> {[ plus, equal, apostrophe, notequal ]}; // + = ' ≠ 1968 1969 // Second row 1970 key <AD01> {[ q, Q, oslash, Ooblique ]}; // q Q ø Ø 1971 key <AD02> {[ w, W, w, uparrow ]}; // w W w ↑ 1972 key <AD03> {[ e, E, EuroSign, EuroS ]}; // e E € € 1973 key <AD04> {[ r, R, registered, 0x10020bd ]}; // r R ® ₽ 1974 key <AD05> {[ t, T, trademark, Greek_tau ]}; // t T ™ τ 1975 key <AD06> {[ y, Y, yen, yen ]}; // y Y ¥ ¥ 1976 key <AD07> {[ u, U, u, U ]}; // u U u U 1977 key <AD08> {[ i, I, leftsinglequotemark, rightsinglequotemark ]}; // i I ‘ ’ 1978 key <AD09> {[ o, O, oe, Greek_OMEGA ]}; // o O œ Ω 1979 key <AD10> {[ p, P, Greek_pi, 0x10020b1 ]}; // p P π ₱ 1980 key <AD11> {[ parenleft, bracketleft, braceleft, guillemotleft ]}; // ( [ { « 1981 key <AD12> {[ parenright, bracketright, braceright, guillemotright ]}; // ) ] } » 1982 1983 // Third row 1984 key <AC01> {[ a, A, ae, leftarrow ]}; // a A æ ← 1985 key <AC02> {[ s, S, ssharp, downarrow ]}; // s S ß ↓ 1986 key <AC03> {[ d, D, Greek_DELTA, rightarrow ]}; // d D Δ → 1987 key <AC04> {[ f, F, 0x1000192, 0x1000191 ]}; // f F ƒ Ƒ 1988 key <AC05> {[ g, G, g, G ]}; // g G g G 1989 key <AC06> {[ h, H, h, H ]}; // h H h H 1990 key <AC07> {[ j, J, leftdoublequotemark, rightdoublequotemark ]}; // j J “ ” 1991 key <AC08> {[ k, K, singlelowquotemark, doublelowquotemark ]}; // k K ‚ „ 1992 key <AC09> {[ l, L, sterling, Greek_lambda ]}; // l L £ λ 1993 key <AC10> {[ m, M, mu, M ]}; // m M µ M 1994 key <AC11> {[ numbersign, percent, asciitilde, 0x1002030 ]}; // # % ~ ‰ 1995 1996 // Fourth row 1997 key <LSGT> {[ less, greater, lessthanequal, greaterthanequal ]}; // < > ≤ ≥ 1998 key <AB01> {[ z, Z, section, paragraph ]}; // z Z § ¶ 1999 key <AB02> {[ x, X, multiply, division ]}; // x X × ÷ 2000 key <AB03> {[ c, C, copyright, cent ]}; // c C © ¢ 2001 key <AB04> {[ v, V, 0x1002640, V ]}; // v V ♀ V 2002 key <AB05> {[ b, B, 0x1002642, 0x10020bf ]}; // b B ♂ ₿ 2003 key <AB06> {[ n, N, 0x10026a5, N ]}; // n N ⚥ N 2004 key <AB07> {[ exclam, question, exclamdown, questiondown ]}; // ! ? ¡ ¿ 2005 key <AB08> {[ period, comma, 0x1002026, periodcentered ]}; // . , … · 2006 key <AB09> {[ colon, semicolon, grave, acute ]}; // : ; ` ´ 2007 key <AB10> {[ slash, backslash, bar, brokenbar ]}; // / \ | ¦ 2008 2009 // Next to the enter key 2010 key <BKSL> {[ asterisk, ampersand, dollar, multiply ]}; // * & $ × 2011 2012 // Rebind right Super (windows key) into a Compose key 2013 key <RWIN> {[ Multi_key ]}; 2014 2015 // Implement AltGr and AltGr+Shift 2016 // For some reason, include "level3(ralt_switch)" doesn't do the trick. 2017 key <RALT> { 2018 type[Group1]="TWO_LEVEL", 2019 [ ISO_Level3_Shift, Multi_key ] 2020 }; 2021}; 2022 2023// German and Swedish characters added as third level symbols to the US keyboard layout 2024// Author: Stephan Lachnit <stephanlachnit@protonmail.com>, 2019 2025// the german umlauts are placed over the characters without diaeresis, the sharp-s over the s 2026// the swedish ao is placed over the p, since it's closed to the position on a swedish keyboard 2027// the euro sign is placed over the e, as it is usual for german and swedish keyboards 2028partial alphanumeric_keys 2029xkb_symbols "de_se_fi" { 2030 2031 include "us(basic)" 2032 include "eurosign(e)" 2033 name[Group1] = "German, Swedish and Finnish (US)"; 2034 2035 key <AC01> {[ a, A, adiaeresis, Adiaeresis ]}; 2036 key <AC02> {[ s, S, ssharp, U1E9E ]}; 2037 key <AD01> {[ q, Q, at ]}; 2038 key <AD07> {[ u, U, udiaeresis, Udiaeresis ]}; 2039 key <AD09> {[ o, O, odiaeresis, Odiaeresis ]}; 2040 key <AD10> {[ p, P, aring, Aring ]}; 2041 key <AD12> {[ bracketright, braceright, asciitilde ]}; 2042 2043 include "level3(ralt_switch)" 2044}; 2045