Remove RCS tags
[xorg/xkeyboard-config] / symbols / se
1 // based on a keyboard map from an 'xkb/symbols/se' file
2
3 partial default alphanumeric_keys
4 xkb_symbols "basic" {
5     include "latin(type2)"
6     include "se(se)"
7 };
8
9 partial alphanumeric_keys
10 xkb_symbols "se" {
11
12     name[Group1]="Sweden";
13
14     key <AE05>  { [         5,    percent,     EuroSign,         cent ] };
15     key <AE11>  { [      plus,   question,    backslash, questiondown ] };
16     key <AE12>  { [dead_acute, dead_grave,    plusminus,      notsign ] };
17
18
19     key <AC10>  { [odiaeresis, Odiaeresis,       oslash,     Ooblique ] };
20     key <AC11>  { [adiaeresis, Adiaeresis,           ae,           AE ] };
21     key <TLDE>  { [   section,    onehalf,    paragraph, threequarters] };
22
23     key <BKSL>  { [apostrophe,   asterisk,        acute,     multiply ] };
24
25     key <SPCE>  { [     space,      space,        space, nobreakspace ] };
26
27     key <LSGT>  { [      less,     greater,         bar,    brokenbar ] };
28     include "kpdl(comma)"
29
30     include "level3(ralt_switch)"
31 };
32
33 partial alphanumeric_keys
34 xkb_symbols "nodeadkeys" {
35
36     // Modifies the basic Swedish layout to eliminate all dead keys
37
38     include "latin(type2)"
39     include "latin(type2_nodeadkeys)"
40     include "se(se)"
41
42     name[Group1]="Sweden - Eliminate dead keys";
43
44     key <AE12>  { [     acute,      grave,    plusminus,      notsign ] };
45
46 };
47
48 // Swedish Dvorak
49 partial alphanumeric_keys 
50 xkb_symbols "dvorak" {
51
52     name[Group1]="Sweden - Dvorak";
53
54     include "se(basic)"
55
56     key <AD01> { [     aring,      Aring,    backslash               ]  };
57     key <AD02> { [  adiaeresis, Adiaeresis,  braceleft,  bracketleft ]  };
58     key <AD03> { [ odiaeresis, Odiaeresis,  braceright, bracketright ]  };
59     key <AD04> { [         p,          P,        thorn,        THORN ]  };
60     key <AD05> { [         y,          Y,    leftarrow,          yen ]  };
61     key <AD06> { [         f,          F,      dstroke,  ordfeminine ]  };
62     key <AD07> { [         g,          G,          eng,          ENG ]  };
63     key <AD08> { [         c,          C,    copyright,    copyright ]  };
64     key <AD09> { [         r,          R,   registered,   registered ]  };
65     key <AD10> { [         l,          L,      lstroke,      Lstroke ]  };
66     key <AD11> { [     comma,  semicolon, dead_cedilla,  dead_ogonek ]  };
67     key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum     ]       };
68
69     key <AC01> { [         a,          A,           ae,           AE ]  };
70     key <AC02> { [         o,          O,           oe,           OE ]  };
71     key <AC03> { [         e,          E,     EuroSign,         cent ]  };
72     key <AC04> { [         u,          U,    downarrow,      uparrow ]  };
73     key <AC05> { [         i,          I,   rightarrow,     idotless ]  };
74     key <AC06> { [         d,          D,          eth,          ETH ]  };
75     key <AC07> { [         h,          H,      hstroke,      Hstroke ]  };
76     key <AC08> { [         t,          T,       tslash,       Tslash ]  };
77     key <AC09> { [         n,          N ]      };
78     key <AC10> { [         s,          S,       ssharp,      section ]  };
79     key <AC11> { [     minus, underscore, dead_belowdot, dead_abovedot ] };
80
81     key <AB01> { [    period,   colon, periodcentered, dead_abovedot ]  };
82     key <AB02> { [         q,          Q,           at,  Greek_OMEGA ]  };
83     key <AB03> { [         j,          J ]      };
84     key <AB04> { [         k,          K,          kra,    ampersand ]  };
85     key <AB05> { [         x,          X, guillemotright,    greater ]  };
86     key <AB06> { [         b,          B, rightdoublequotemark, apostrophe ] };
87     key <AB07> { [         m,          M,           mu,    masculine ]  };
88     key <AB08> { [         w,          W,      lstroke,      Lstroke ]  };
89     key <AB09> { [         v,          V, leftdoublequotemark, grave ]  };
90     key <AB10> { [         z,          Z, guillemotleft,        less ]  };
91 };
92
93 // Ivan Popov, 2005-07-17
94 // phonetic layout for Russian cyrillic letters
95 // on Swedish (latin type2) keyboards
96
97 // level3 modifier is a shortcut to the "se" meaning of the keys where
98 // we place cyrillic letters, handy for accessing the corresponding
99 // punctuation marks.
100 // It is important to have access to punctuation marks, and the rest of
101 // alphabetical keys are added for being consequent so that the users
102 // can expect the level3 modifier to give what the key label shows.
103
104 partial alphanumeric_keys
105 xkb_symbols "rus" {
106     include "se(basic)"
107
108     name[Group1]="Sweden - Russian phonetic";
109     key.type[group1]="ALPHABETIC";
110
111     key <TLDE> {        [ Cyrillic_io, Cyrillic_IO ]    };
112     key <AE12> {        [ Cyrillic_hardsign, Cyrillic_HARDSIGN ]        };
113
114     key <AD01> {        [ Cyrillic_ya, Cyrillic_YA ]    };
115     key <AD02> {        [ Cyrillic_ve, Cyrillic_VE ]    };
116     key <AD03> {        [ Cyrillic_ie, Cyrillic_IE ]    };
117     key <AD04> {        [ Cyrillic_er, Cyrillic_ER ]    };
118     key <AD05> {        [ Cyrillic_te, Cyrillic_TE ]    };
119     key <AD06> {        [ Cyrillic_yeru, Cyrillic_YERU ]        };
120     key <AD07> {        [ Cyrillic_u, Cyrillic_U ]      };
121     key <AD08> {        [ Cyrillic_i, Cyrillic_I ]      };
122     key <AD09> {        [ Cyrillic_o, Cyrillic_O ]      };
123     key <AD10> {        [ Cyrillic_pe, Cyrillic_PE ]    };
124     key <AD11> {        [ Cyrillic_e, Cyrillic_E ]      };
125
126     key <AC01> {        [ Cyrillic_a, Cyrillic_A ]      };
127     key <AC02> {        [ Cyrillic_es, Cyrillic_ES ]    };
128     key <AC03> {        [ Cyrillic_de, Cyrillic_DE ]    };
129     key <AC04> {        [ Cyrillic_ef, Cyrillic_EF ]    };
130     key <AC05> {        [ Cyrillic_ghe, Cyrillic_GHE ]  };
131     key <AC06> {        [ Cyrillic_ha, Cyrillic_HA ]    };
132     key <AC07> {        [ Cyrillic_shorti, Cyrillic_SHORTI ]    };
133     key <AC08> {        [ Cyrillic_ka, Cyrillic_KA ]    };
134     key <AC09> {        [ Cyrillic_el, Cyrillic_EL ]    };
135     key <AC10> {        [ Cyrillic_sha, Cyrillic_SHA ]  };
136     key <AC11> {        [ Cyrillic_shcha, Cyrillic_SHCHA ]      };
137     key <BKSL> {        [ Cyrillic_yu, Cyrillic_YU ]    };
138
139     key <LSGT> {        [ Cyrillic_che, Cyrillic_CHE ]  };
140     key <AB01> {        [ Cyrillic_ze, Cyrillic_ZE ]    };
141     key <AB02> {        [ Cyrillic_softsign, Cyrillic_SOFTSIGN ]        };
142     key <AB03> {        [ Cyrillic_tse, Cyrillic_TSE ]  };
143     key <AB04> {        [ Cyrillic_zhe, Cyrillic_ZHE ]  };
144     key <AB05> {        [ Cyrillic_be, Cyrillic_BE ]    };
145     key <AB06> {        [ Cyrillic_en, Cyrillic_EN ]    };
146     key <AB07> {        [ Cyrillic_em, Cyrillic_EM ]    };
147 };
148
149 partial alphanumeric_keys
150 xkb_symbols "rus_nodeadkeys" {
151
152     include "se(nodeadkeys)"
153     include "se(rus)"
154
155     name[Group1]="Sweden - Russian phonetic, eliminate dead keys";
156
157     key <AE12> {        [ Cyrillic_hardsign, Cyrillic_HARDSIGN ]        };
158 };
159
160 xkb_symbols "smi" {
161
162     // Describes the differences between a Norwegian Northern Sami
163     // (keyboard with dead key support) and a Swedish/Finnish Sami
164     // keyboard according to the specs at:
165     // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
166
167     include "fi(smi)"
168
169     name[Group1]= "Sweden - Northern Saami";
170 };
171
172 // Copied from macintosh_vndr/se
173 partial alphanumeric_keys 
174 xkb_symbols "mac" {
175
176     // Describes the differences between a very simple en_US
177     // keyboard and a very simple Swedish(Sweden) keybaord
178
179     include "latin"
180     name[Group1]= "Sweden - Macintosh";
181
182     key <TLDE> {        [         section,         degree       ]       };
183     key <AE01> {        [               1,          exclam,        copyright,      exclamdown   ]       };
184     key <AE02> {        [               2,        quotedbl,            at,       oneeighth      ]       };
185     key <AE03> {        [               3,      numbersign,         sterling,             yen   ]       };
186     key <AE04> {        [               4,        currency,        dollar,            cent      ]       };
187     key <AE06> {        [               6,       ampersand      ]       };
188     key <AE07> {        [               7,           slash,           bar,       backslash      ]       };
189     key <AE08> {        [               8,       parenleft,      bracketleft,       braceleft   ]       };
190     key <AE09> {        [               9,      parenright,     bracketright,      braceright   ]       };
191     key <AB08> {        [           comma,       semicolon      ]       };
192     key <AE10> {        [               0,           equal      ]       };
193     key <AB09> {        [          period,           colon      ]       };
194     key <AB10> {        [           minus,      underscore      ]       };
195     key <AC10> {        [      odiaeresis,      Odiaeresis,        oslash,          Ooblique    ]       };
196     key <AE11> {        [            plus,        question      ]       };
197     key <AC11> {        [      adiaeresis,      Adiaeresis,               ae,           AE      ]       };
198     key <AD11> {        [           aring,           Aring      ]       };
199     key <AE12> {        [           acute,           grave      ]       };
200     key <AD12> {        [       diaeresis,     asciicircum,     asciitilde                      ]       };
201     key <BKSL> {        [      apostrophe,        asterisk,               at                    ]       };
202
203     include "kpdl(comma)"
204     include "level3(ralt_switch)"
205 };
206
207 // Svdvorak
208 // This version of Dvorak follows danish and norwegian style in hope for a
209 // Scandinavian standard.
210 partial alphanumeric_keys
211 xkb_symbols "svdvorak" {
212
213    name[Group1]="Sweden - Svdvorak";
214
215    include "se(basic)"
216
217    key <AD01> { [ aring, Aring, braceleft ] };
218    key <AD02> { [ comma, semicolon, bracketleft ] };
219    key <AD03> { [ period, colon, bracketright ] };
220    key <AD04> { [ p, P, braceright ] };
221    key <AD05> { [ y, Y ] };
222    key <AD06> { [ f, F ] };
223    key <AD07> { [ g, G ] };
224    key <AD08> { [ c, C ] };
225    key <AD09> { [ r, R ] };
226    key <AD10> { [ l, L ] };
227    key <AD11> { [ apostrophe, asterisk ] };
228
229    key <AC01> { [ a, A ] };
230    key <AC02> { [ o, O, parenleft ] };
231    key <AC03> { [ e, E, parenright ] };
232    key <AC04> { [ u, U ] };
233    key <AC05> { [ i, I ] };
234    key <AC06> { [ d, D ] };
235    key <AC07> { [ h, H ] };
236    key <AC08> { [ t, T ] };
237    key <AC09> { [ n, N ] };
238    key <AC10> { [ s, S, ssharp ] };
239    key <AC11> { [ minus, underscore ] };
240    key <BKSL> { [ less, greater, bar ] };
241
242    key <LSGT> { [ odiaeresis, Odiaeresis ] };
243    key <AB01> { [ adiaeresis, Adiaeresis ] };
244    key <AB02> { [ q, Q ] };
245    key <AB03> { [ j, J ] };
246    key <AB04> { [ k, K ] };
247    key <AB05> { [ x, X ] };
248    key <AB06> { [ b, B ] };
249    key <AB07> { [ m, M ] };
250    key <AB08> { [ w, W ] };
251    key <AB09> { [ v, V ] };
252    key <AB10> { [ z, Z ] };
253 };