// 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 // // $XKeyboardConfig$ default partial alphanumeric_keys xkb_symbols "basic" { name[Group1]= "Serbia and Montenegro"; include "cs(level3)" include "cs(common)" include "cs(cyralpha)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "latin" { name[Group1]= "Serbia and Montenegro - Latin"; include "latin(type3)" include "cs(latalpha)" include "cs(level3)" include "cs(common)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "yz" { // Cyrillic_zhe and Cyrillic_ze swapped. name[Group1]= "Serbia and Montenegro - Z and ZHE swapped"; include "cs(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 "keypad(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 "level3" { 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 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]= "Serbia and Montenegro - Latin Unicode"; include "cs(latin)" include "cs(twoletter)" }; partial alphanumeric_keys xkb_symbols "latinyz" { // For those who insist on using "english-position" Z and Y. name[Group1]= "Serbia and Montenegro - Latin qwerty"; include "cs(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]= "Serbia and Montenegro - Latin Unicode qwerty"; include "cs(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]= "Serbia and Montenegro - With guillemets"; include "cs(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]= "Serbia and Montenegro - Latin with guillemets"; include "cs(latin)" key { [ any,any, guillemotright, NoSymbol ] }; // s key { [ any,any, guillemotleft, NoSymbol ] }; // d };