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