From dafebc5bb70303f0b5baf0b087cf4d9a64b5c7f0 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 12 Sep 2011 11:27:51 +0200 Subject: Synchronised line endinge with release branch --- xorg-server/xkeyboard-config/symbols/rs | 690 ++++++++++++++++---------------- 1 file changed, 345 insertions(+), 345 deletions(-) (limited to 'xorg-server/xkeyboard-config/symbols/rs') diff --git a/xorg-server/xkeyboard-config/symbols/rs b/xorg-server/xkeyboard-config/symbols/rs index b6d27457f..71541bcbc 100644 --- a/xorg-server/xkeyboard-config/symbols/rs +++ b/xorg-server/xkeyboard-config/symbols/rs @@ -1,345 +1,345 @@ -// Bosnian, Croatian, Serbian and Slovenian XKB keyboard mapping -// (derived from "Danube" D.2) -// -// Danube D.2 from 2003-05-12 is available at http://srpski.org/dunav/ -// -// Original authors: -// Danilo Segan (Данило Шеган) -// Chusslove Illich (Часлав Илић) -// -// Danilo Segan : -// - Modified for inclusion in XFree86 -// - Further modifications on 2005-08-18 to support Bosnian, Croatian -// and Slovenian in xkeyboard-config -// - -default partial alphanumeric_keys -xkb_symbols "basic" { - - name[Group1]= "Serbian"; - - include "rs(cyrlevel3)" - include "rs(common)" - include "rs(cyralpha)" - include "level3(ralt_switch)" -}; - - -partial alphanumeric_keys -xkb_symbols "latin" { - - name[Group1]= "Serbian (Latin)"; - - include "latin(type3)" - include "rs(latalpha)" - include "rs(latlevel3)" - include "rs(common)" - include "level3(ralt_switch)" -}; - - -partial alphanumeric_keys -xkb_symbols "yz" { - // Cyrillic_zhe and Cyrillic_ze swapped. - - name[Group1]= "Serbian (Z and ZHE swapped)"; - - include "rs(basic)" - - key { [ Cyrillic_zhe, Cyrillic_ZHE, any,any ] }; // y - key { [ Cyrillic_ze, Cyrillic_ZE, any,any ] }; // z -}; - -partial hidden alphanumeric_keys -xkb_symbols "common" { - // "Common" keys: keys which are same for both latin and cyrillic keyboards - - key.type[Group1] = "FOUR_LEVEL"; - - key { [ quoteleft, asciitilde, any,any ] }; // - key { [ 1, exclam, any,any ] }; // - key { [ 2, quotedbl, any,any ] }; // - key { [ 3, numbersign, any,any ] }; // - key { [ 4, dollar, any,any ] }; // - key { [ 5, percent, any,any ] }; // - key { [ 6, ampersand, any,any ] }; // - key { [ 7, slash, any,any ] }; // - key { [ 8, parenleft, any,any ] }; // - key { [ 9, parenright, any,any ] }; // - key { [ 0, equal, any,any ] }; // - key { [ apostrophe, question, any,any ] }; // - key { [ plus, asterisk, any,any ] }; // - - key { [ comma, semicolon, any,any ] }; // - key { [ period, colon, any,any ] }; // - key { [ minus, underscore, any,any ] }; // - - include "kpdl(comma)" -}; - -partial hidden alphanumeric_keys -xkb_symbols "cyralpha" { - - key.type[Group1] = "FOUR_LEVEL_ALPHABETIC"; - - key { [ Cyrillic_lje, Cyrillic_LJE, any,any ] }; // q - key { [ Cyrillic_nje, Cyrillic_NJE, any,any ] }; // w - key { [ Cyrillic_ie, Cyrillic_IE, any,any ] }; // e - key { [ Cyrillic_er, Cyrillic_ER, any,any ] }; // r - key { [ Cyrillic_te, Cyrillic_TE, any,any ] }; // t - key { [ Cyrillic_ze, Cyrillic_ZE, any,any ] }; // y - key { [ Cyrillic_u, Cyrillic_U, any,any ] }; // u - key { [ Cyrillic_i, Cyrillic_I, any,any ] }; // i - key { [ Cyrillic_o, Cyrillic_O, any,any ] }; // o - key { [ Cyrillic_pe, Cyrillic_PE, any,any ] }; // p - key { [ Cyrillic_sha, Cyrillic_SHA, any,any ] }; // [ { - key { [ Serbian_dje, Serbian_DJE, any,any ] }; // ] } - - key { [ Cyrillic_a, Cyrillic_A, any,any ] }; // a - key { [ Cyrillic_es, Cyrillic_ES, any,any ] }; // s - key { [ Cyrillic_de, Cyrillic_DE, any,any ] }; // d - key { [ Cyrillic_ef, Cyrillic_EF, any,any ] }; // f - key { [ Cyrillic_ghe, Cyrillic_GHE, any,any ] }; // g - key { [ Cyrillic_ha, Cyrillic_HA, any,any ] }; // h - key { [ Cyrillic_je, Cyrillic_JE, any,any ] }; // j - key { [ Cyrillic_ka, Cyrillic_KA, any,any ] }; // k - key { [ Cyrillic_el, Cyrillic_EL, any,any ] }; // l - key { [ Cyrillic_che, Cyrillic_CHE, any,any ] }; // ; : - key { [ Serbian_tshe, Serbian_TSHE, any,any ] }; // ' " - key { [ Cyrillic_zhe, Cyrillic_ZHE, any,any ] }; // \ | - - key { [ Cyrillic_zhe, Cyrillic_ZHE, any,any ] }; // z - key { [ Cyrillic_dzhe, Cyrillic_DZHE, any,any ] }; // x - key { [ Cyrillic_tse, Cyrillic_TSE, any,any ] }; // c - key { [ Cyrillic_ve, Cyrillic_VE, any,any ] }; // v - key { [ Cyrillic_be, Cyrillic_BE, any,any ] }; // b - key { [ Cyrillic_en, Cyrillic_EN, any,any ] }; // n - key { [ Cyrillic_em, Cyrillic_EM, any,any ] }; // m -}; - - -partial hidden alphanumeric_keys -xkb_symbols "latalpha" { - - key.type[Group1] = "FOUR_LEVEL_ALPHABETIC"; - - key { [ scaron, Scaron, any,any ] }; // - key { [ dstroke, Dstroke, any,any ] }; // - - key { [ ccaron, Ccaron, any,any ] }; // - key { [ cacute, Cacute, any,any ] }; // - key { [ zcaron, Zcaron, any,any ] }; // - -}; - -partial hidden alphanumeric_keys -xkb_symbols "twoletter" { - // These are letters which are written in latin transcription with two-characters. - - key { type[Group1] = "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC", - [ U1C9, U1C8, any, U1C7 ] }; // q - key { type[Group1] = "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC", - [ U1CC, U1CB, any, U1CA ] }; // w - key { type[Group1] = "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC", - [ U1C6, U1C5, any, U1C4 ] }; // x - - // Also replace letter Y with Zcaron, since Y is of no use any longer - key { [ zcaron, Zcaron, any,any ] }; // -}; - -partial hidden alphanumeric_keys -xkb_symbols "latlevel3" { - key { [ any,any, notsign, notsign ] }; // ` ~ - key { [ any,any, dead_tilde, asciitilde ] }; // 1 ! - key { [ any,any, dead_caron, caron ] }; // 2 @ - key { [ any,any, dead_circumflex, asciicircum ] }; // 3 # - key { [ any,any, dead_breve, breve ] }; // 4 $ - key { [ any,any, dead_abovering, degree ] }; // 5 % - key { [ any,any, dead_ogonek, ogonek ] }; // 6 ^ - key { [ any,any, dead_grave, grave ] }; // 7 & - key { [ any,any, dead_abovedot, abovedot ] }; // 8 * - key { [ any,any, dead_acute, apostrophe ] }; // 9 ( - key { [ any,any, dead_doubleacute, doubleacute ] }; // 0 ) - key { [ any,any, dead_diaeresis, diaeresis ] }; // - _ - key { [ any,any, dead_cedilla, cedilla ] }; // = + - - key { [ any,any, backslash, Greek_OMEGA ] }; // q - key { [ any,any, bar, Lstroke ] }; // w - key { [ any,any, EuroSign, EuroSign ] }; // e - key { [ any,any, paragraph, registered ] }; // r - key { [ any,any, tslash, Tslash ] }; // t // ALPHABETIC - key { [ any,any, leftarrow, yen ] }; // y - key { [ any,any, downarrow, uparrow ] }; // u - key { [ any,any, rightarrow, idotless ] }; // i - key { [ any,any, oslash, Ooblique ] }; // o // ALPHABETIC - key { [ any,any, thorn, THORN ] }; // p // ALPHABETIC - key { [ any,any, division, dead_abovering ] }; // [ - key { [ any,any, multiply, dead_macron ] }; // ] - - key { [ any,any, ae, AE ] }; // a // ALPHABETIC - key { [ any,any, doublelowquotemark, guillemotright ] }; // s - key { [ any,any, leftdoublequotemark, guillemotleft ] }; // d - key { [ any,any, bracketleft, ordfeminine ] }; // f - key { [ any,any, bracketright, ENG ] }; // g - key { [ any,any, hstroke, Hstroke ] }; // h // ALPHABETIC - key { [ any,any, NoSymbol, NoSymbol ] }; // j - key { [ any,any, lstroke, ampersand ] }; // k - key { [ any,any, lstroke, Lstroke ] }; // l - key { [ any,any, dead_acute, dead_doubleacute ] }; // ; - key { [ any,any, ssharp, dead_caron ] }; // ' - key { [ any,any, currency, dead_breve ] }; // \ - - key { [ any,any, leftsinglequotemark, guillemotright ] }; // z - key { [ any,any, rightsinglequotemark,guillemotleft ] }; // x - key { [ any,any, cent, copyright ] }; // c - key { [ any,any, at, grave ] }; // v - key { [ any,any, braceleft, apostrophe ] }; // b - key { [ any,any, braceright, braceright ] }; // n - key { [ any,any, asciicircum, masculine ] }; // m - key { [ any,any, less, multiply ] }; // , < - key { [ any,any, greater, division ] }; // . > - key { [ any,any, emdash, endash ] }; // / ? - -}; - -partial hidden alphanumeric_keys -xkb_symbols "cyrlevel3" { - key { [ any,any, degree, notsign ] }; // ` ~ - key { [ any,any, dead_circumflex, NoSymbol ] }; // 3 # - key { [ any,any, dead_grave, NoSymbol ] }; // 7 & - key { [ any,any, dead_doublegrave, NoSymbol ] }; // 8 * - key { [ any,any, dead_acute, NoSymbol ] }; // 9 ( - key { [ any,any, dead_invertedbreve, NoSymbol ] }; // 0 ) - key { [ any,any, dead_macron, NoSymbol ] }; // - _ - - key { [ any,any, backslash, NoSymbol ] }; // q - key { [ any,any, bar, NoSymbol ] }; // w - key { [ any,any, EuroSign, sterling ] }; // e - key { [ any,any, paragraph, registered ] }; // r - key { [ any,any, ellipsis, NoSymbol ] }; // t // ALPHABETIC - key { [ any,any, leftarrow, yen ] }; // y - key { [ any,any, downarrow, uparrow ] }; // u - key { [ any,any, rightarrow, NoSymbol ] }; // i - key { [ any,any, section, NoSymbol ] }; // o // ALPHABETIC - key { [ any,any, division, NoSymbol ] }; // [ - key { [ any,any, multiply, NoSymbol ] }; // ] - - key { [ any,any, doublelowquotemark, guillemotright ] }; // s - key { [ any,any, leftdoublequotemark, guillemotleft ] }; // d - key { [ any,any, bracketleft, NoSymbol ] }; // f - key { [ any,any, bracketright, NoSymbol ] }; // g - key { [ any,any, currency, NoSymbol ] }; // \ - - key { [ any,any, leftsinglequotemark, NoSymbol ] }; // z - key { [ any,any, rightsinglequotemark,NoSymbol ] }; // x - key { [ any,any, cent, copyright ] }; // c - key { [ any,any, at, NoSymbol ] }; // v - key { [ any,any, braceleft, NoSymbol ] }; // b - key { [ any,any, braceright, NoSymbol ] }; // n - key { [ any,any, asciicircum, NoSymbol ] }; // m - key { [ any,any, less, NoSymbol ] }; // , < - key { [ any,any, greater, NoSymbol ] }; // . > - key { [ any,any, emdash, endash ] }; // / ? -}; - -partial alphanumeric_keys -xkb_symbols "latinunicode" { - // This mapping supports the Unicode characters 0x1c4-0x1cc (dz, lj, and nj - // as single character). You get the title form with AltGr+Shift. - - name[Group1]= "Serbian (Latin Unicode)"; - - include "rs(latin)" - include "rs(twoletter)" -}; - -partial alphanumeric_keys -xkb_symbols "latinyz" { - // For those who insist on using "english-position" Z and Y. - - name[Group1]= "Serbian (Latin qwerty)"; - - include "rs(latin)" - - key { [ y, Y, any,any ] }; // y - key { [ z, Z, any,any ] }; // z -}; - -partial alphanumeric_keys -xkb_symbols "latinunicodeyz" { - // Unicode, ZHE and Z swapped. - - name[Group1]= "Serbian (Latin Unicode qwerty)"; - - include "rs(latinunicode)" - - key { [ zcaron, Zcaron, any,any ] }; // y - key { [ z, Z, any,any ] }; // z -}; - -xkb_symbols "alternatequotes" { - // Another acceptable »pair of quotes« for Serbian - - name[Group1]= "Serbian (with guillemets)"; - - include "rs(basic)" - - key { [ any,any, guillemotright, NoSymbol ] }; // s - key { [ any,any, guillemotleft, NoSymbol ] }; // d -}; - -xkb_symbols "latinalternatequotes" { - // Another acceptable »pair of quotes« for Serbian - - name[Group1]= "Serbian (Latin with guillemets)"; - - include "rs(latin)" - - key { [ any,any, guillemotright, NoSymbol ] }; // s - key { [ any,any, guillemotleft, NoSymbol ] }; // d -}; - -xkb_symbols "rue" { - // Homophonic layout for Pannonian Rusyn (spoken mainly in Serbia and - // Croatia by the Rusyn people), based on Ukrainian homophonic. - // Author: Ljubomir J. Papuga (Любомир Я. Папуґа) - - name[Group1]= "Pannonian Rusyn (homophonic)"; - - include "ua(homophonic)" - - key { [ grave, asciitilde ] }; - key { [ 3, doublelowquotemark ] }; - key { [ 4, rightdoublequotemark ] }; - key { [ 7, EuroSign ] }; - key { [ 0x002D, emdash ] }; - key { [ equal, plus ] }; - - key { [ Ukrainian_ie, Ukrainian_IE ] }; - key { [ Cyrillic_yu, Cyrillic_YU ] }; - key { [ Cyrillic_i, Cyrillic_I ] }; - key { [ Cyrillic_sha, Cyrillic_SHA ] }; - key { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; - - key { [ Ukrainian_yi, Ukrainian_YI ] }; - key { [ comma, semicolon ] }; - key { [ period, colon ] }; -}; - -// EXTRAS: - -xkb_symbols "combiningkeys" { - // Raw combining characters instead of dead keys, - // especially good for post-accenting texts. - - name[Group1]= "Serbian (combining accents instead of dead keys)"; - - include "rs(basic)" - - key { [ any,any, U0302, dead_circumflex ] }; // 3, U0302 = COMBINING CIRCUMFLEX ACCENT - key { [ any,any, U0300, NoSymbol ] }; // 7, U0300 = COMBINING GRAVE ACCENT - key { [ any,any, U030F, NoSymbol ] }; // 8, U030F = COMBINING DOUBLE GRAVE ACCENT - key { [ any,any, U0301, NoSymbol ] }; // 9, U0301 = COMBINING ACUTE ACCENT - key { [ any,any, U0311, NoSymbol ] }; // 0, U0311 = COMBINING INVERTED BREVE - key { [ any,any, U0304, NoSymbol ] }; // -, U0304 = COMBINING MACRON -}; +// Bosnian, Croatian, Serbian and Slovenian XKB keyboard mapping +// (derived from "Danube" D.2) +// +// Danube D.2 from 2003-05-12 is available at http://srpski.org/dunav/ +// +// Original authors: +// Danilo Segan (Данило Шеган) +// Chusslove Illich (Часлав Илић) +// +// Danilo Segan : +// - Modified for inclusion in XFree86 +// - Further modifications on 2005-08-18 to support Bosnian, Croatian +// and Slovenian in xkeyboard-config +// + +default partial alphanumeric_keys +xkb_symbols "basic" { + + name[Group1]= "Serbian"; + + include "rs(cyrlevel3)" + include "rs(common)" + include "rs(cyralpha)" + include "level3(ralt_switch)" +}; + + +partial alphanumeric_keys +xkb_symbols "latin" { + + name[Group1]= "Serbian (Latin)"; + + include "latin(type3)" + include "rs(latalpha)" + include "rs(latlevel3)" + include "rs(common)" + include "level3(ralt_switch)" +}; + + +partial alphanumeric_keys +xkb_symbols "yz" { + // Cyrillic_zhe and Cyrillic_ze swapped. + + name[Group1]= "Serbian (Z and ZHE swapped)"; + + include "rs(basic)" + + key { [ Cyrillic_zhe, Cyrillic_ZHE, any,any ] }; // y + key { [ Cyrillic_ze, Cyrillic_ZE, any,any ] }; // z +}; + +partial hidden alphanumeric_keys +xkb_symbols "common" { + // "Common" keys: keys which are same for both latin and cyrillic keyboards + + key.type[Group1] = "FOUR_LEVEL"; + + key { [ quoteleft, asciitilde, any,any ] }; // + key { [ 1, exclam, any,any ] }; // + key { [ 2, quotedbl, any,any ] }; // + key { [ 3, numbersign, any,any ] }; // + key { [ 4, dollar, any,any ] }; // + key { [ 5, percent, any,any ] }; // + key { [ 6, ampersand, any,any ] }; // + key { [ 7, slash, any,any ] }; // + key { [ 8, parenleft, any,any ] }; // + key { [ 9, parenright, any,any ] }; // + key { [ 0, equal, any,any ] }; // + key { [ apostrophe, question, any,any ] }; // + key { [ plus, asterisk, any,any ] }; // + + key { [ comma, semicolon, any,any ] }; // + key { [ period, colon, any,any ] }; // + key { [ minus, underscore, any,any ] }; // + + include "kpdl(comma)" +}; + +partial hidden alphanumeric_keys +xkb_symbols "cyralpha" { + + key.type[Group1] = "FOUR_LEVEL_ALPHABETIC"; + + key { [ Cyrillic_lje, Cyrillic_LJE, any,any ] }; // q + key { [ Cyrillic_nje, Cyrillic_NJE, any,any ] }; // w + key { [ Cyrillic_ie, Cyrillic_IE, any,any ] }; // e + key { [ Cyrillic_er, Cyrillic_ER, any,any ] }; // r + key { [ Cyrillic_te, Cyrillic_TE, any,any ] }; // t + key { [ Cyrillic_ze, Cyrillic_ZE, any,any ] }; // y + key { [ Cyrillic_u, Cyrillic_U, any,any ] }; // u + key { [ Cyrillic_i, Cyrillic_I, any,any ] }; // i + key { [ Cyrillic_o, Cyrillic_O, any,any ] }; // o + key { [ Cyrillic_pe, Cyrillic_PE, any,any ] }; // p + key { [ Cyrillic_sha, Cyrillic_SHA, any,any ] }; // [ { + key { [ Serbian_dje, Serbian_DJE, any,any ] }; // ] } + + key { [ Cyrillic_a, Cyrillic_A, any,any ] }; // a + key { [ Cyrillic_es, Cyrillic_ES, any,any ] }; // s + key { [ Cyrillic_de, Cyrillic_DE, any,any ] }; // d + key { [ Cyrillic_ef, Cyrillic_EF, any,any ] }; // f + key { [ Cyrillic_ghe, Cyrillic_GHE, any,any ] }; // g + key { [ Cyrillic_ha, Cyrillic_HA, any,any ] }; // h + key { [ Cyrillic_je, Cyrillic_JE, any,any ] }; // j + key { [ Cyrillic_ka, Cyrillic_KA, any,any ] }; // k + key { [ Cyrillic_el, Cyrillic_EL, any,any ] }; // l + key { [ Cyrillic_che, Cyrillic_CHE, any,any ] }; // ; : + key { [ Serbian_tshe, Serbian_TSHE, any,any ] }; // ' " + key { [ Cyrillic_zhe, Cyrillic_ZHE, any,any ] }; // \ | + + key { [ Cyrillic_zhe, Cyrillic_ZHE, any,any ] }; // z + key { [ Cyrillic_dzhe, Cyrillic_DZHE, any,any ] }; // x + key { [ Cyrillic_tse, Cyrillic_TSE, any,any ] }; // c + key { [ Cyrillic_ve, Cyrillic_VE, any,any ] }; // v + key { [ Cyrillic_be, Cyrillic_BE, any,any ] }; // b + key { [ Cyrillic_en, Cyrillic_EN, any,any ] }; // n + key { [ Cyrillic_em, Cyrillic_EM, any,any ] }; // m +}; + + +partial hidden alphanumeric_keys +xkb_symbols "latalpha" { + + key.type[Group1] = "FOUR_LEVEL_ALPHABETIC"; + + key { [ scaron, Scaron, any,any ] }; // + key { [ dstroke, Dstroke, any,any ] }; // + + key { [ ccaron, Ccaron, any,any ] }; // + key { [ cacute, Cacute, any,any ] }; // + key { [ zcaron, Zcaron, any,any ] }; // + +}; + +partial hidden alphanumeric_keys +xkb_symbols "twoletter" { + // These are letters which are written in latin transcription with two-characters. + + key { type[Group1] = "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC", + [ U1C9, U1C8, any, U1C7 ] }; // q + key { type[Group1] = "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC", + [ U1CC, U1CB, any, U1CA ] }; // w + key { type[Group1] = "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC", + [ U1C6, U1C5, any, U1C4 ] }; // x + + // Also replace letter Y with Zcaron, since Y is of no use any longer + key { [ zcaron, Zcaron, any,any ] }; // +}; + +partial hidden alphanumeric_keys +xkb_symbols "latlevel3" { + key { [ any,any, notsign, notsign ] }; // ` ~ + key { [ any,any, dead_tilde, asciitilde ] }; // 1 ! + key { [ any,any, dead_caron, caron ] }; // 2 @ + key { [ any,any, dead_circumflex, asciicircum ] }; // 3 # + key { [ any,any, dead_breve, breve ] }; // 4 $ + key { [ any,any, dead_abovering, degree ] }; // 5 % + key { [ any,any, dead_ogonek, ogonek ] }; // 6 ^ + key { [ any,any, dead_grave, grave ] }; // 7 & + key { [ any,any, dead_abovedot, abovedot ] }; // 8 * + key { [ any,any, dead_acute, apostrophe ] }; // 9 ( + key { [ any,any, dead_doubleacute, doubleacute ] }; // 0 ) + key { [ any,any, dead_diaeresis, diaeresis ] }; // - _ + key { [ any,any, dead_cedilla, cedilla ] }; // = + + + key { [ any,any, backslash, Greek_OMEGA ] }; // q + key { [ any,any, bar, Lstroke ] }; // w + key { [ any,any, EuroSign, EuroSign ] }; // e + key { [ any,any, paragraph, registered ] }; // r + key { [ any,any, tslash, Tslash ] }; // t // ALPHABETIC + key { [ any,any, leftarrow, yen ] }; // y + key { [ any,any, downarrow, uparrow ] }; // u + key { [ any,any, rightarrow, idotless ] }; // i + key { [ any,any, oslash, Ooblique ] }; // o // ALPHABETIC + key { [ any,any, thorn, THORN ] }; // p // ALPHABETIC + key { [ any,any, division, dead_abovering ] }; // [ + key { [ any,any, multiply, dead_macron ] }; // ] + + key { [ any,any, ae, AE ] }; // a // ALPHABETIC + key { [ any,any, doublelowquotemark, guillemotright ] }; // s + key { [ any,any, leftdoublequotemark, guillemotleft ] }; // d + key { [ any,any, bracketleft, ordfeminine ] }; // f + key { [ any,any, bracketright, ENG ] }; // g + key { [ any,any, hstroke, Hstroke ] }; // h // ALPHABETIC + key { [ any,any, NoSymbol, NoSymbol ] }; // j + key { [ any,any, lstroke, ampersand ] }; // k + key { [ any,any, lstroke, Lstroke ] }; // l + key { [ any,any, dead_acute, dead_doubleacute ] }; // ; + key { [ any,any, ssharp, dead_caron ] }; // ' + key { [ any,any, currency, dead_breve ] }; // \ + + key { [ any,any, leftsinglequotemark, guillemotright ] }; // z + key { [ any,any, rightsinglequotemark,guillemotleft ] }; // x + key { [ any,any, cent, copyright ] }; // c + key { [ any,any, at, grave ] }; // v + key { [ any,any, braceleft, apostrophe ] }; // b + key { [ any,any, braceright, braceright ] }; // n + key { [ any,any, asciicircum, masculine ] }; // m + key { [ any,any, less, multiply ] }; // , < + key { [ any,any, greater, division ] }; // . > + key { [ any,any, emdash, endash ] }; // / ? + +}; + +partial hidden alphanumeric_keys +xkb_symbols "cyrlevel3" { + key { [ any,any, degree, notsign ] }; // ` ~ + key { [ any,any, dead_circumflex, NoSymbol ] }; // 3 # + key { [ any,any, dead_grave, NoSymbol ] }; // 7 & + key { [ any,any, dead_doublegrave, NoSymbol ] }; // 8 * + key { [ any,any, dead_acute, NoSymbol ] }; // 9 ( + key { [ any,any, dead_invertedbreve, NoSymbol ] }; // 0 ) + key { [ any,any, dead_macron, NoSymbol ] }; // - _ + + key { [ any,any, backslash, NoSymbol ] }; // q + key { [ any,any, bar, NoSymbol ] }; // w + key { [ any,any, EuroSign, sterling ] }; // e + key { [ any,any, paragraph, registered ] }; // r + key { [ any,any, ellipsis, NoSymbol ] }; // t // ALPHABETIC + key { [ any,any, leftarrow, yen ] }; // y + key { [ any,any, downarrow, uparrow ] }; // u + key { [ any,any, rightarrow, NoSymbol ] }; // i + key { [ any,any, section, NoSymbol ] }; // o // ALPHABETIC + key { [ any,any, division, NoSymbol ] }; // [ + key { [ any,any, multiply, NoSymbol ] }; // ] + + key { [ any,any, doublelowquotemark, guillemotright ] }; // s + key { [ any,any, leftdoublequotemark, guillemotleft ] }; // d + key { [ any,any, bracketleft, NoSymbol ] }; // f + key { [ any,any, bracketright, NoSymbol ] }; // g + key { [ any,any, currency, NoSymbol ] }; // \ + + key { [ any,any, leftsinglequotemark, NoSymbol ] }; // z + key { [ any,any, rightsinglequotemark,NoSymbol ] }; // x + key { [ any,any, cent, copyright ] }; // c + key { [ any,any, at, NoSymbol ] }; // v + key { [ any,any, braceleft, NoSymbol ] }; // b + key { [ any,any, braceright, NoSymbol ] }; // n + key { [ any,any, asciicircum, NoSymbol ] }; // m + key { [ any,any, less, NoSymbol ] }; // , < + key { [ any,any, greater, NoSymbol ] }; // . > + key { [ any,any, emdash, endash ] }; // / ? +}; + +partial alphanumeric_keys +xkb_symbols "latinunicode" { + // This mapping supports the Unicode characters 0x1c4-0x1cc (dz, lj, and nj + // as single character). You get the title form with AltGr+Shift. + + name[Group1]= "Serbian (Latin Unicode)"; + + include "rs(latin)" + include "rs(twoletter)" +}; + +partial alphanumeric_keys +xkb_symbols "latinyz" { + // For those who insist on using "english-position" Z and Y. + + name[Group1]= "Serbian (Latin qwerty)"; + + include "rs(latin)" + + key { [ y, Y, any,any ] }; // y + key { [ z, Z, any,any ] }; // z +}; + +partial alphanumeric_keys +xkb_symbols "latinunicodeyz" { + // Unicode, ZHE and Z swapped. + + name[Group1]= "Serbian (Latin Unicode qwerty)"; + + include "rs(latinunicode)" + + key { [ zcaron, Zcaron, any,any ] }; // y + key { [ z, Z, any,any ] }; // z +}; + +xkb_symbols "alternatequotes" { + // Another acceptable »pair of quotes« for Serbian + + name[Group1]= "Serbian (with guillemets)"; + + include "rs(basic)" + + key { [ any,any, guillemotright, NoSymbol ] }; // s + key { [ any,any, guillemotleft, NoSymbol ] }; // d +}; + +xkb_symbols "latinalternatequotes" { + // Another acceptable »pair of quotes« for Serbian + + name[Group1]= "Serbian (Latin with guillemets)"; + + include "rs(latin)" + + key { [ any,any, guillemotright, NoSymbol ] }; // s + key { [ any,any, guillemotleft, NoSymbol ] }; // d +}; + +xkb_symbols "rue" { + // Homophonic layout for Pannonian Rusyn (spoken mainly in Serbia and + // Croatia by the Rusyn people), based on Ukrainian homophonic. + // Author: Ljubomir J. Papuga (Любомир Я. Папуґа) + + name[Group1]= "Pannonian Rusyn (homophonic)"; + + include "ua(homophonic)" + + key { [ grave, asciitilde ] }; + key { [ 3, doublelowquotemark ] }; + key { [ 4, rightdoublequotemark ] }; + key { [ 7, EuroSign ] }; + key { [ 0x002D, emdash ] }; + key { [ equal, plus ] }; + + key { [ Ukrainian_ie, Ukrainian_IE ] }; + key { [ Cyrillic_yu, Cyrillic_YU ] }; + key { [ Cyrillic_i, Cyrillic_I ] }; + key { [ Cyrillic_sha, Cyrillic_SHA ] }; + key { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; + + key { [ Ukrainian_yi, Ukrainian_YI ] }; + key { [ comma, semicolon ] }; + key { [ period, colon ] }; +}; + +// EXTRAS: + +xkb_symbols "combiningkeys" { + // Raw combining characters instead of dead keys, + // especially good for post-accenting texts. + + name[Group1]= "Serbian (combining accents instead of dead keys)"; + + include "rs(basic)" + + key { [ any,any, U0302, dead_circumflex ] }; // 3, U0302 = COMBINING CIRCUMFLEX ACCENT + key { [ any,any, U0300, NoSymbol ] }; // 7, U0300 = COMBINING GRAVE ACCENT + key { [ any,any, U030F, NoSymbol ] }; // 8, U030F = COMBINING DOUBLE GRAVE ACCENT + key { [ any,any, U0301, NoSymbol ] }; // 9, U0301 = COMBINING ACUTE ACCENT + key { [ any,any, U0311, NoSymbol ] }; // 0, U0311 = COMBINING INVERTED BREVE + key { [ any,any, U0304, NoSymbol ] }; // -, U0304 = COMBINING MACRON +}; -- cgit v1.2.3