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