diff options
Diffstat (limited to 'symbols/yu')
-rw-r--r-- | symbols/yu | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/symbols/yu b/symbols/yu new file mode 100644 index 00000000..3d6de22a --- /dev/null +++ b/symbols/yu @@ -0,0 +1,58 @@ +// $XFree86$ +// Serbian 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 (Данило Шеган) <dsegan@gmx.net> +// Chusslove Illich (Часлав Илић) <chaslav@sezampro.yu> +// +// Modified for inclusion in XFree86 by Danilo Segan <dsegan@gmx.net> +// +// + +default partial alphanumeric_keys +xkb_symbols "default" { + + name[Group1]= "Serbian Latin"; + + include "pc/sr(level3)" + include "pc/sr(common)" + include "pc/sr(latalpha)" + include "level3(ralt_switch_multikey)" +}; + +partial alphanumeric_keys +xkb_symbols "unicode" { + // 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 "pc/yu(default)" + include "pc/sr(twoletter)" +}; + +partial alphanumeric_keys +xkb_symbols "yz" { + // For those who insist on using "english-position" Z and Y. + + name[Group1]= "Serbian Latin (swap Y, Z)"; + + include "pc/yu(default)" + + key <AD06> { [ y, Y, any,any ] }; // y + key <AB01> { [ z, Z, any,any ] }; // z +}; + +partial alphanumeric_keys +xkb_symbols "unicodeyz" { + // Unicode, ZHE and Z swapped. + + name[Group1]= "Serbian Latin Unicode (swap ZHE, Z)"; + + include "pc/yu(unicode)" + + key <AD06> { [ zcaron, Zcaron, any,any ] }; // y + key <AB01> { [ z, Z, any,any ] }; // z +}; |