diff -uNr xkeyboard-config-0.8.orig/docs/README.enhancing xkeyboard-config-0.8/docs/README.enhancing --- xkeyboard-config-0.8.orig/docs/README.enhancing 2005-09-21 23:29:24.000000000 +0200 +++ xkeyboard-config-0.8/docs/README.enhancing 2006-09-15 19:49:03.000000000 +0200 @@ -293,6 +293,19 @@ Lock+LevelThree modifiers apply the symbol from the third level is taken. This also, shift-cancels-caps variant. + FOUR_LEVEL_MIXED_KEYPAD + A four-level keypad scheme where the first two levels are + controled by NumLock, with LevelThree overriding them and adding + two Shift-ed levels + Intended for the digit area of the keypad + + FOUR_LEVEL_X + A four-level scheme where the base level accepts no modifier, + LevelThree provides two more Shift-ed levels like in the previous + scheme, and Ctrl+Alt controls the fourth level + Intended for the operator part of a keypad, though since NumLock + plays no part, it is not keypad-specific + Besides that, there are several schemes for special purposes: PC_BREAK diff -uNr xkeyboard-config-0.8.orig/po/fr.po xkeyboard-config-0.8/po/fr.po --- xkeyboard-config-0.8.orig/po/fr.po 2006-03-04 18:41:23.000000000 +0100 +++ xkeyboard-config-0.8/po/fr.po 2006-09-15 19:49:03.000000000 +0200 @@ -179,6 +179,9 @@ msgid "Alternative" msgstr "Autre" +msgid "Alternative with unicode additions" +msgstr "Autre, avec des suppléments unicode" + #: ../rules/base.xml.in.h:41 msgid "Alternative international (former us_intl)" msgstr "International (auparavant us_intl)" diff -uNr xkeyboard-config-0.8.orig/rules/base xkeyboard-config-0.8/rules/base --- xkeyboard-config-0.8.orig/rules/base 2006-02-28 00:14:28.000000000 +0100 +++ xkeyboard-config-0.8/rules/base 2006-09-15 19:49:03.000000000 +0200 @@ -251,6 +251,8 @@ * yu = pc(pc105)+srp $pcmodels fr-latin9 = pc(%m)+fr(latin9) * fr-latin9 = pc(pc105)+fr(latin9) + $pcmodels fr-unicode = pc(%m)+fr(unicode) + * fr-unicode = pc(pc105)+fr(unicode) $pcmodels us_intl = pc(%m)+us(alt-intl) * us_intl = pc(pc105)+us(alt-intl) $pcmodels ben(basic) = pc(%m)+in(ben) @@ -409,6 +411,8 @@ * yu = pc(pc105)+srp%(v[1]) $pcmodels fr-latin9 = pc(%m)+fr(latin9)%(v[1]) * fr-latin9 = pc(pc105)+fr(latin9)%(v[1]) + $pcmodels fr-unicode = pc(%m)+fr(unicode)%(v[1]) + * fr-unicode = pc(pc105)+fr(unicode)%(v[1]) $pcmodels us_intl = pc(%m)+us(alt-intl)%(v[1]) * us_intl = pc(pc105)+us(alt-intl)%(v[1]) $pcmodels ben(basic) = pc(%m)+in(ben) @@ -610,6 +614,7 @@ tml = +in(tam)%(v[2]):2 yu = +srp%(v[2]):2 fr-latin9 = +fr(latin9)%(v[2]):2 + fr-unicode = +fr(unicode)%(v[2]):2 us_intl = +us(alt-intl)%(v[2]):2 ben(basic) = +in(ben):2 ben(probhat) = +in(ben_probhat):2 @@ -679,6 +684,7 @@ tml = +in(tam)%(v[3]):3 yu = +srp%(v[3]):3 fr-latin9 = +fr(latin9)%(v[3]):3 + fr-unicode = +fr(unicode)%(v[3]):3 us_intl = +us(alt-intl)%(v[3]):3 ben(basic) = +in(ben):3 ben(probhat) = +in(ben_probhat):3 @@ -748,6 +754,7 @@ tml = +in(tam)%(v[4]):4 yu = +srp%(v[4]):4 fr-latin9 = +fr(latin9)%(v[4]):4 + fr-unicode = +fr(unicode)%(v[4]):4 us_intl = +us(alt-intl)%(v[4]):4 ben(basic) = +in(ben):4 ben(probhat) = +in(ben_probhat):4 diff -uNr xkeyboard-config-0.8.orig/rules/base.lst xkeyboard-config-0.8/rules/base.lst --- xkeyboard-config-0.8.orig/rules/base.lst 2006-03-04 18:45:00.000000000 +0100 +++ xkeyboard-config-0.8/rules/base.lst 2006-09-15 19:49:03.000000000 +0200 @@ -260,6 +260,7 @@ latin9 fr: Alternative latin9_nodeadkeys fr: Alternative, eliminate dead keys latin9_sundeadkeys fr: Alternative, Sun dead keys + unicode fr:Alternative with unicode additions dvorak fr: Dvorak generic gh: Multilingual akan gh: Akan diff -uNr xkeyboard-config-0.8.orig/rules/base.xml.in xkeyboard-config-0.8/rules/base.xml.in --- xkeyboard-config-0.8.orig/rules/base.xml.in 2006-02-26 17:12:33.000000000 +0100 +++ xkeyboard-config-0.8/rules/base.xml.in 2006-09-15 19:49:03.000000000 +0200 @@ -1331,6 +1331,12 @@ + unicode + <_description>Alternative with unicode additions + + + + latin9_nodeadkeys <_description>Alternative, eliminate dead keys diff -uNr xkeyboard-config-0.8.orig/symbols/fr xkeyboard-config-0.8/symbols/fr --- xkeyboard-config-0.8.orig/symbols/fr 2005-09-28 00:15:11.000000000 +0200 +++ xkeyboard-config-0.8/symbols/fr 2006-09-16 18:18:22.000000000 +0200 @@ -107,45 +107,45 @@ // (If you can't read it you probably have no business changing this file anyway:) // // Les accents circonflexes des principales voyelles sont obtenus avec -// la touche Alt_Gr, les trémas sont obtenus par Alt_Gr + Shift. +// la touche Alt_Gr, les trémas sont obtenus par Alt_Gr + Shift. // // ____ _________ _____________ _______ -// | S A| S = Shift, A = AltGr + Shift | Imprime | Arrêt défil | Pause | +// | S A| S = Shift, A = AltGr + Shift | Imprime | Arrêt défil | Pause | // | s a| s = normal, a = AltGr | Exec | | Halte | -// ¯¯¯¯ ¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯ +// ¯¯¯¯ ¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯ // ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ _______ -// | ½ "| 1 ·| 2 É| 3 ,| 4 '| 5 "| 6 || 7 È| 8 ¯| 9 Ç| 0 À| ° ÿ| + °| <-- | -// | ¼ "| & '| é ~| " #| ' {| ( [| - || è `| _ \| ç ^| à @| ) ]| = }| | +// | Å“ "| 1 ·| 2 É| 3 ,| 4 '| 5 "| 6 || 7 È| 8 ¯| 9 Ç| 0 À| ° ÿ| + °| <-- | +// | Å’ "| & '| é ~| " #| ' {| ( [| - || è `| _ \| ç ^| à @| ) ]| = }| | // ======================================================================== -// | |<- | A ä| Z Å| E ¢| R Ç| T Þ| Y Ý| U ü| I ï| O ö| P '| " `| $ ë| , | -// | ->| | a â| z å| e ¤| r ç| t þ| y ý| u û| i î| o ô| p ¶| ^ ~| £ ê| <-' | -// ===================================================================¬ | -// | | Q Ä| S Ø| D Ë| F ª| G Æ| H Ð| J Ü| K Ï| L Ö| M º| % Ù| µ ¥| | -// | MAJ | q Â| s ø| d Ê| f ±| g æ| h ð| j Û| k Î| l Ô| m ¹| ù ²| * ³| | +// | |<- | A ä| Z Ã…| E ¢| R Ç| T Þ| Y Ã| U ü| I ï| O ö| P '| " `| $ ë| , | +// | ->| | a â| z Ã¥| e €| r ç| t þ| y ý| u û| i î| o ô| p ¶| ^ ~| £ ê| <-' | +// ===================================================================¬ | +// | | Q Ä| S Ø| D Ë| F ª| G Æ| H Ã| J Ãœ| K Ã| L Ö| M º| % Ù| µ Â¥| | +// | MAJ | q Â| s ø| d Ê| f ±| g æ| h ð| j Û| k ÃŽ| l Ô| m ¹| ù ²| * ³| | // ======================================================================== -// | ^ | > | W | X | C | V | B | N | ? | . | / | § | ^ | -// | | | < || w «| x »| c ©| v ®| b ß| n ¬| , ¿| ; ×| : ÷| ! ¡| | | +// | ^ | > | W | X | C | V | B | N | ? | . | / | § | ^ | +// | | | < || w «| x »| c ©| v ®| b ß| n ¬| , ¿| ; ×| : ÷| ! ¡| | | // ======================================================================== // | | | | | | | | | // | Ctrl | Meta | Alt | Space Nobreakspace | AltGr | Multi|Menu | Ctrl | -// ¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯ +// ¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯ // // // Si les touches mortes fonctionnent, utiliser les accents dits -// « morts », i.e. fonctionnant comme l'accent circonflexe & le -// tréma des machines à écrire ; sont disponibles : +// « morts », i.e. fonctionnant comme l'accent circonflexe & le +// tréma des machines à écrire ; sont disponibles : // // (^) : accent circonflexe, -// Shift+(^) : tréma, +// Shift+(^) : tréma, // Shift+AltGr (^) : tilde, // AltGr (1) : accent aigu, // AltGr (7) : accent grave // -// Pour s'en servir, procéder comme avec l'accent circonflexe & le tréma -// sur les vielles machines à écrire : +// Pour s'en servir, procéder comme avec l'accent circonflexe & le tréma +// sur les vielles machines à écrire : // -// AltGr (1) puis e : é -// Shift+AltGr (1) puis e : É ... +// AltGr (1) puis e : é +// Shift+AltGr (1) puis e : É ... partial alphanumeric_keys @@ -216,6 +216,105 @@ include "level3(ralt_switch)" }; + +// Unicode French derivative +// Loose refactoring of the historic Linux French keyboard layout +// +// Copyright © 2006 Nicolas Mailhot +// +// Credits (fr-latin1, fr-latin0, fr-latin9) +// © 199x-1996 Rene Cougnenc +// © 1997-2002 Guylhem Aznar +// © 2003-2006 Nicolas Mailhot +// +// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲â”â”â”â”â”â”â”â”┓ +// │ Š¸ │ 1 · │ 2 É │ 3 ‑ │ 4 – │ 5 — │ 6 ¦ │ 7 È │ 8 â„¢ │ 9 Ç │ 0 À │ ° ≠ │ + ± ┃↠Retour┃ +// │ Å‚ ` │ & ´ │ é ~ │ " # │ ' { │ ( [ │ - | │ è ` │ _ \ │ ç ^ │ à @ │ ) ] │ = } ┃arrière ┃ +// ┢â”â”â”â”â”â”·â”┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺â”┳â”â”â”â”â”â”┫ +// ┃ ┃ A Æ │ Z  │ E ¢ │ R Ê │ T Þ │ Y Ÿ │ U Û │ I ÃŽ │ O Å’ │ P Ø │ ¨ Ëš │ ÌŒ Ì„ ┃Entrée┃ +// ┃Tab ↹ ┃ a æ │ z â │ e € │ r ê │ t þ │ y ÿ │ u û │ i î │ o Å“ │ p ø │ ^ ~ │ $ ̆ ┃ ↵ ┃ +// ┣â”â”â”â”â”â”â”┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ +// ┃ ┃ Q Ä │ S £ │ D Ë │ F ` │ G ' │ H à │ J Ãœ │ K à │ L Ô │ M º │ % Ù │ µ Â¥ ┃ ┃ +// ┃Maj ⇬ ┃ q ä │ s ß │ d ë │ f ‘ │ g ’ │ h ð │ j ü │ k ï │ l ô │ m ¹ │ ù ² │ * ³ ┃ ┃ +// ┣â”â”â”â”â”â”â”┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷â”â”â”â”â”â”»â”â”â”â”â”┫ +// ┃ ┃ > ≥ │ W “ │ X †│ C ® │ V │ B ↑ │ N ¬ │ ? … │ . . │ / ∕ │ § − ┃ ┃ +// ┃Shift ⇧┃ < ≤ │ w « │ x » │ c © │ v ↠│ b ↓ │ n → │ , ¿ │ ; × │ : ÷ │ ! ¡ ┃Shift ⇧ ┃ +// ┣â”â”â”â”â”â”â”â•‹â”â”â”â”â”┷┳â”â”â”â”â”·â”┱───┴─────┴─────┴─────┴─────┴─────┴────┲┷â”â”â”â”â”╈â”â”â”â”â”┻┳â”â”â”â”â”â”┳â”â”â”â”â”› +// ┃ ┃ ┃ ┃ Espace insécable┃ ┃ ┃ ┃ +// ┃Ctrl ┃Meta ┃Alt ┃Espace ┃AltGr⇮┃Menu ┃Ctrl ┃ +// â”—â”â”â”â”â”â”â”â”»â”â”â”â”â”â”â”»â”â”â”â”â”â”┹──────────────────────────────────────┺â”â”â”â”â”â”â”»â”â”â”â”â”â”â”»â”â”â”â”â”â”â”› + +partial alphanumeric_keys +xkb_symbols "unicode" { + + include "latin" + include "level3(ralt_switch)" + include "keypad(unimath)" + include "keypad(uniarrows)" + + name[Group1]="France - Alternative with unicode additions"; + + // First row + key { [ lstroke, Lstroke, dead_grave, dead_cedilla ] }; // Å‚ Å ` ¸ + key { [ ampersand, 1, dead_acute, periodcentered ] }; // & 1 ´ · + key { [ eacute, 2, asciitilde, Eacute ] }; // é 2 ~ É + key { [ quotedbl, 3, numbersign, 0x1002011 ] }; // " 3 # ‑ (tiret insécable) + key { [ apostrophe, 4, braceleft, 0x1002013 ] }; // ' 4 { – (tiret demi-cadratin) + key { [ parenleft, 5, bracketleft, 0x1002014 ] }; // ( 5 } — (tiret cadratin) + key { [ minus, 6, bar, brokenbar ] }; // - 6 | ¦ + key { [ egrave, 7, grave, Egrave ] }; // è 7 ` È + key { [ underscore, 8, backslash, trademark ] }; // _ 8 \ â„¢ + key { [ ccedilla, 9, asciicircum, Ccedilla ] }; // ç 9 ^ Ç + key { [ agrave, 0, at, Agrave ] }; // à 0 @ À + key { [ parenright, degree, bracketright, notequal ] }; // ) ° ] ≠ + key { [ equal, plus, braceright, plusminus ] }; // = + } ± + + // Second row + key { [ a, A, ae, AE ] }; // a A æ Æ + key { [ z, Z, acircumflex, Acircumflex ] }; // z Z â  + key { [ e, E, EuroSign, cent ] }; // e E € ¢ + key { [ r, R, ecircumflex, Ecircumflex ] }; // r R ê Ê + key { [ t, T, thorn, THORN ] }; // t T þ Þ + key { [ y, Y, ycircumflex, Ycircumflex ] }; // y Y ÿ Ÿ + key { [ u, U, ucircumflex, Ucircumflex ] }; // u U û Û + key { [ i, I, icircumflex, Icircumflex ] }; // i I î ÃŽ + key { [ o, O, oe, OE ] }; // o O Å“ Å’ + key { [ p, P, oslash, Ooblique ] }; // p P ø Ø + key { [ dead_circumflex, dead_diaeresis, dead_tilde, dead_abovering ] }; // ^ ̈ ̃ Ëš + key { [ dollar, dead_ogonrek, dead_breve, dead_macron ] }; // $ ÌŒ ̆ Ì„ + + // Third row + key { [ q, Q, adiaeresis, Adiaeresis ] }; // q Q ä Ä + key { [ s, S, ssharp, sterling ] }; // s S ß £ + key { [ d, D, ediaeresis, Ediaeresis ] }; // d D ë Ë + key { [ f, F, leftsinglequotemark, quoteleft ] }; // f F ‘ ` + key { [ g, G, rightsinglequotemark, quoteright ] }; // g G ’ ' + key { [ h, H, eth, ETH ] }; // h H ð à + key { [ j, J, udiaeresis, Udiaeresis ] }; // j J ü Ãœ + key { [ k, K, idiaeresis, Idiaeresis ] }; // k K ï à + key { [ l, L, ocircumflex, Ocircumflex ] }; // l L ô Ô + key { [ m, M, onesuperior, masculine ] }; // m M ¹ º + key { [ ugrave, percent, twosuperior, Ugrave ] }; // ù % ² Ù + key { [ asterisk, mu, threesuperior, yen ] }; // * µ ³ Â¥ + + // Fourth row + key { [ less, greater, lessthanequal, greaterthanequal ] }; // < > ≤ ≥ + key { [ w, W, guillemotleft, leftdoublequotemark ] }; // w W « “ + key { [ x, X, guillemotright, rightdoublequotemark ] }; // x X » †+ key { [ c, C, copyright, registered ] }; // c C © ® + key { [ v, V, leftarrow, 0x100202F ] }; // v V ↠« espace fine insécable » + key { [ b, B, downarrow, uparrow ] }; // b B ↓ ↑ + key { [ n, N, rightarrow, notsign ] }; // n N → ¬ + key { [ comma, question, questiondown, 0x1002026 ] }; // , ? ¿ … + key { [ semicolon, period, multiply, 0x10022C5 ] }; // ; . × â‹… + key { [ colon, slash, division, 0x1002215 ] }; // : / ÷ ∕ + key { [ exclam, section, exclamdown, 0x1002212 ] }; // ! § ¡ − + + // Make nobreakspace harder to hit + key { [ space, space, space, nobreakspace ] }; // espace espace espace « espace insécable » + +}; + partial alphanumeric_keys xkb_symbols "latin9_Sundeadkeys" { @@ -252,7 +351,7 @@ key { [ asciicircum, diaeresis, asciitilde, quoteright ] }; }; -// Keymap Dvorak pour le Français +// Keymap Dvorak pour le Français // par Josselin Mouette . partial alphanumeric_keys diff -uNr xkeyboard-config-0.8.orig/symbols/keypad xkeyboard-config-0.8/symbols/keypad --- xkeyboard-config-0.8.orig/symbols/keypad 2005-09-21 23:29:26.000000000 +0200 +++ xkeyboard-config-0.8/symbols/keypad 2006-09-16 01:59:07.000000000 +0200 @@ -87,3 +87,77 @@ xkb_symbols "comma" { key { [ KP_Delete, KP_Separator ] }; }; + + +// Keypad part with unicode math operators +// Copyright © 2006 Nicolas Mailhot +// +// â”â”â”â”â”â”┱─────┬─────┬─────┠+// ┃Num ┃ ∕ ₠│ . â‚‚ │ − ₃ │ â‚ +// ┃Lock⇭┃ / ÷ │ * × │ - − │ â‚‚ +// ┡â”â”â”â”â”╃─────┼─────┼─────┤ ₃ +// │ + â‚„ │ â‚„ +// │ │ +// ┤ │ 1 None +// │ │ 2 Level3 +// │ + + │ 3 Shift+Level3 +// ╆â”â”â”â”â”┪ 4 Ctrl+Alt + + + +partial hidden keypad_keys +xkb_symbols "unimath" { + + key.type[Group1] = "FOUR_LEVEL_X" ; + + key { [ KP_Divide, 0x1002215, 0x10000F7, XF86_Ungrab ] }; // / ∕ ÷ + key { [ KP_Multiply, 0x10022C5, 0x10000D7, XF86_ClearGrab ] }; // * â‹… × + key { [ KP_Subtract, 0x1002212, 0x1002212, XF86_Prev_VMode ] }; // - − − + + key { [ KP_Add, 0x100002B, 0x100002B, XF86_Next_VMode ] }; // + + + + +}; + + +// Keypad part with arrows +// Copyright © 2006 Nicolas Mailhot +// +// â”â”â”â”â”â”â”± (Usual keypad level1 not represented) +// ┃Num ┃ +// ┃Lock⇭┃ â‚ narrow no-break space +// ┡â”â”â”â”â”╃─────┼─────┼ +// │ 7 ⇖ │ 8 ⇑ │ 9 ⇗ │ 1 None +// │ ↖ │ ↑ │ ↗ │ 2 Num Lock +// ├─────┼─────┼─────┤ 3 Level3 +// │ 4 ⇠│ 5 ⇔ │ 6 ⇗ │ 4 Shift+Level3 +// │ ↠│ ↔ │ ↗ │ +// ├─────┼─────┼─────╆â”â”â”â”â”┪ +// │ 1 ⇙ │ 2 ⇓ │ 3 ⇘ ┃Enter┃ +// │ ↙ │ ↓ │ ↘ ┃ ↵ ┃ +// ├─────┴─────┼─────┨ ┃ +// │ 0 ⇕ │ . ₠┃ ┃ +// │ ↕ │ , ┃ ┃ +// └───────────┴─────┺â”â”â”â”â”â”› + +partial hidden keypad_keys +xkb_symbols "uniarrows" { + + key.type[Group1] = "FOUR_LEVEL_MIXED_KEYPAD" ; + + key { [ KP_Home, KP_7, 0x1002196, 0x10021D6 ] }; // 7 ↖ ⇖ + key { [ KP_Up, KP_8, 0x1002191, 0x10021D1 ] }; // 8 ↑ ⇑ + key { [ KP_Prior, KP_9, 0x1002197, 0x10021D7 ] }; // 9 ↗ ⇗ + + key { [ KP_Left, KP_4, 0x1002190, 0x10021D0 ] }; // 4 ↠⇠+ key { [ KP_Begin, KP_5, 0x1002194, 0x10021D4 ] }; // 5 ↔ ⇔ + key { [ KP_Right, KP_6, 0x1002192, 0x10021D2 ] }; // 6 → ⇒ + + key { [ KP_End, KP_1, 0x1002199, 0x10021D9 ] }; // 1 ↙ ⇙ + key { [ KP_Down, KP_2, 0x1002193, 0x10021D3 ] }; // 2 ↓ ⇓ + key { [ KP_Next, KP_3, 0x1002198, 0x10021D8 ] }; // 3 ↘ ⇘ + + key { [ KP_Insert, KP_0, 0x1002195, 0x10021D5 ] }; // 0 ↕ ⇕ + // We could use KP_Decimal and KP_Separator but we do not want the locale + // decimal and separator symbol but locale-insensitive dot and comma + key { [ KP_Delete, period, comma, 0x100202F ] }; // . , "narrow no-break space" +}; diff -uNr xkeyboard-config-0.8.orig/types/extra xkeyboard-config-0.8/types/extra --- xkeyboard-config-0.8.orig/types/extra 2005-10-16 03:24:47.000000000 +0200 +++ xkeyboard-config-0.8/types/extra 2006-09-15 19:49:03.000000000 +0200 @@ -68,6 +68,36 @@ level_name[Level4] = "Alt Number"; }; + // Another four level keypad variant + // First two levels controled by NumLock + // LevelThree overrides this mode, with two Shift-ed levels + type "FOUR_LEVEL_MIXED_KEYPAD" { + modifiers = Shift+NumLock+LevelThree; + map[None] = Level1; + map[NumLock] = Level2; + map[LevelThree] = Level3; + map[NumLock+LevelThree] = Level3; + map[Shift+LevelThree] = Level4; + map[Shift+NumLock+LevelThree] = Level4; + level_name[Level1] = "Base"; + level_name[Level2] = "Number"; + level_name[Level3] = "Alt Base"; + level_name[Level4] = "Shift Alt"; + }; + + // Base level, two Shift-ed LevelThree levels, one Ctrl+Alt command level + type "FOUR_LEVEL_X" { + modifiers = Shift+LevelThree+Control+Alt; + map[None] = Level1; + map[LevelThree] = Level2; + map[Shift+LevelThree] = Level3; + map[Control+Alt] = Level4; + level_name[Level1] = "Base"; + level_name[Level2] = "Alt Base"; + level_name[Level3] = "Shift Alt"; + level_name[Level4] = "Ctrl+Alt"; + }; + // Special type for keys used in Serbian Latin Unicode map // It makes it possible to use all three forms of latin letters // present in Unicode that are made up of two separate letters