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