2 // Serbian XKB keyboard mapping (derived from "Danube" D.2)
4 // Danube D.2 from 2003-05-12 is available at http://srpski.org/dunav/
7 // Danilo Segan (Данило Шеган) <dsegan@gmx.net>
8 // Chusslove Illich (Часлав Илић) <chaslav@sezampro.yu>
10 // Modified for inclusion in XFree86 by Danilo Segan <dsegan@gmx.net>
14 default partial alphanumeric_keys
15 xkb_symbols "default" {
17 name[Group1]= "Serbian Latin";
19 include "pc/sr(level3)"
20 include "pc/sr(common)"
21 include "pc/sr(latalpha)"
22 include "level3(ralt_switch_multikey)"
25 partial alphanumeric_keys
26 xkb_symbols "unicode" {
27 // This mapping supports the Unicode characters 0x1c4-0x1cc (dz, lj, and nj
28 // as single character). You get the title form with AltGr+Shift.
30 name[Group1]= "Serbian Latin Unicode";
32 include "pc/yu(default)"
33 include "pc/sr(twoletter)"
36 partial alphanumeric_keys
38 // For those who insist on using "english-position" Z and Y.
40 name[Group1]= "Serbian Latin (swap Y, Z)";
42 include "pc/yu(default)"
44 key <AD06> { [ y, Y, any,any ] }; // y
45 key <AB01> { [ z, Z, any,any ] }; // z
48 partial alphanumeric_keys
49 xkb_symbols "unicodeyz" {
50 // Unicode, ZHE and Z swapped.
52 name[Group1]= "Serbian Latin Unicode (swap ZHE, Z)";
54 include "pc/yu(unicode)"
56 key <AD06> { [ zcaron, Zcaron, any,any ] }; // y
57 key <AB01> { [ z, Z, any,any ] }; // z