se revision 1.1.1.15 1 default partial alphanumeric_keys
2 xkb_symbols "basic" {
3 include "latin(type2)"
4 include "se(se)"
5 };
6
7 partial alphanumeric_keys
8 xkb_symbols "se" {
9
10 name[Group1]="Swedish";
11
12 key <TLDE> { [ section, onehalf, paragraph, threequarters] };
13 key <AE05> { [ 5, percent, EuroSign, cent ] };
14 key <AE11> { [ plus, question, backslash, questiondown ] };
15 key <AE12> { [dead_acute, dead_grave, plusminus, notsign ] };
16
17 key <AC10> { [odiaeresis, Odiaeresis, oslash, Oslash ] };
18 key <AC11> { [adiaeresis, Adiaeresis, ae, AE ] };
19 key <BKSL> { [apostrophe, asterisk, acute, multiply ] };
20
21 key <LSGT> { [ less, greater, bar, brokenbar ] };
22
23 key <SPCE> { [ space, space, space, nobreakspace ] };
24
25 include "kpdl(comma)"
26
27 include "level3(ralt_switch)"
28 };
29
30 partial alphanumeric_keys
31 xkb_symbols "nodeadkeys" {
32
33 // Modifies the basic Swedish layout to eliminate all dead keys
34
35 include "latin(type2)"
36 include "latin(type2_nodeadkeys)"
37 include "se(se)"
38
39 name[Group1]="Swedish (no dead keys)";
40
41 key <AE12> { [ acute, grave, plusminus, notsign ] };
42 };
43
44 // Swedish Dvorak
45 partial alphanumeric_keys
46 xkb_symbols "dvorak" {
47
48 include "se(basic)"
49
50 name[Group1]="Swedish (Dvorak)";
51
52 key <AD01> { [ aring, Aring, backslash ] };
53 key <AD02> { [ adiaeresis, Adiaeresis, braceleft, bracketleft ] };
54 key <AD03> { [ odiaeresis, Odiaeresis, braceright, bracketright ] };
55 key <AD04> { [ p, P, thorn, THORN ] };
56 key <AD05> { [ y, Y, leftarrow, yen ] };
57 key <AD06> { [ f, F, dstroke, ordfeminine ] };
58 key <AD07> { [ g, G, eng, ENG ] };
59 key <AD08> { [ c, C, copyright, copyright ] };
60 key <AD09> { [ r, R, registered, registered ] };
61 key <AD10> { [ l, L, lstroke, Lstroke ] };
62 key <AD11> { [ comma, semicolon, dead_cedilla, dead_ogonek ] };
63 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] };
64
65 key <AC01> { [ a, A, ae, AE ] };
66 key <AC02> { [ o, O, oe, OE ] };
67 key <AC03> { [ e, E, EuroSign, cent ] };
68 key <AC04> { [ u, U, downarrow, uparrow ] };
69 key <AC05> { [ i, I, rightarrow, idotless ] };
70 key <AC06> { [ d, D, eth, ETH ] };
71 key <AC07> { [ h, H, hstroke, Hstroke ] };
72 key <AC08> { [ t, T, tslash, Tslash ] };
73 key <AC09> { [ n, N ] };
74 key <AC10> { [ s, S, ssharp, section ] };
75 key <AC11> { [ minus, underscore, dead_belowdot, dead_abovedot ] };
76
77 key <AB01> { [ period, colon, periodcentered, dead_abovedot ] };
78 key <AB02> { [ q, Q, at, Greek_OMEGA ] };
79 key <AB03> { [ j, J ] };
80 key <AB04> { [ k, K, kra, ampersand ] };
81 key <AB05> { [ x, X, guillemotright, greater ] };
82 key <AB06> { [ b, B, rightdoublequotemark, apostrophe ] };
83 key <AB07> { [ m, M, mu, masculine ] };
84 key <AB08> { [ w, W, lstroke, Lstroke ] };
85 key <AB09> { [ v, V, leftdoublequotemark, grave ] };
86 key <AB10> { [ z, Z, guillemotleft, less ] };
87 };
88
89 // Ivan Popov, 2005-07-17
90 // phonetic layout for Russian cyrillic letters
91 // on Swedish (latin type2) keyboards
92
93 // level3 modifier is a shortcut to the "se" meaning of the keys where
94 // we place cyrillic letters, handy for accessing the corresponding
95 // punctuation marks.
96 // It is important to have access to punctuation marks, and the rest of
97 // alphabetical keys are added for being consequent so that the users
98 // can expect the level3 modifier to give what the key label shows.
99
100 partial alphanumeric_keys
101 xkb_symbols "rus" {
102 include "se(basic)"
103
104 name[Group1]="Russian (Sweden, phonetic)";
105 key.type[group1]="ALPHABETIC";
106
107 key <TLDE> { [ Cyrillic_io, Cyrillic_IO ] };
108 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
109
110 key <AD01> { [ Cyrillic_ya, Cyrillic_YA ] };
111 key <AD02> { [ Cyrillic_ve, Cyrillic_VE ] };
112 key <AD03> { [ Cyrillic_ie, Cyrillic_IE ] };
113 key <AD04> { [ Cyrillic_er, Cyrillic_ER ] };
114 key <AD05> { [ Cyrillic_te, Cyrillic_TE ] };
115 key <AD06> { [ Cyrillic_yeru, Cyrillic_YERU ] };
116 key <AD07> { [ Cyrillic_u, Cyrillic_U ] };
117 key <AD08> { [ Cyrillic_i, Cyrillic_I ] };
118 key <AD09> { [ Cyrillic_o, Cyrillic_O ] };
119 key <AD10> { [ Cyrillic_pe, Cyrillic_PE ] };
120 key <AD11> { [ Cyrillic_e, Cyrillic_E ] };
121
122 key <AC01> { [ Cyrillic_a, Cyrillic_A ] };
123 key <AC02> { [ Cyrillic_es, Cyrillic_ES ] };
124 key <AC03> { [ Cyrillic_de, Cyrillic_DE ] };
125 key <AC04> { [ Cyrillic_ef, Cyrillic_EF ] };
126 key <AC05> { [ Cyrillic_ghe, Cyrillic_GHE ] };
127 key <AC06> { [ Cyrillic_ha, Cyrillic_HA ] };
128 key <AC07> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
129 key <AC08> { [ Cyrillic_ka, Cyrillic_KA ] };
130 key <AC09> { [ Cyrillic_el, Cyrillic_EL ] };
131 key <AC10> { [ Cyrillic_sha, Cyrillic_SHA ] };
132 key <AC11> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
133 key <BKSL> { [ Cyrillic_yu, Cyrillic_YU ] };
134
135 key <LSGT> { [ Cyrillic_che, Cyrillic_CHE ] };
136 key <AB01> { [ Cyrillic_ze, Cyrillic_ZE ] };
137 key <AB02> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
138 key <AB03> { [ Cyrillic_tse, Cyrillic_TSE ] };
139 key <AB04> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
140 key <AB05> { [ Cyrillic_be, Cyrillic_BE ] };
141 key <AB06> { [ Cyrillic_en, Cyrillic_EN ] };
142 key <AB07> { [ Cyrillic_em, Cyrillic_EM ] };
143 };
144
145 partial alphanumeric_keys
146 xkb_symbols "rus_nodeadkeys" {
147
148 include "se(nodeadkeys)"
149 include "se(rus)"
150
151 name[Group1]="Russian (Sweden, phonetic, no dead keys)";
152
153 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
154 };
155
156 xkb_symbols "smi" {
157 include "fi(smi)"
158 name[Group1]= "Northern Saami (Sweden)";
159 };
160
161 // Copied from macintosh_vndr/se
162 partial alphanumeric_keys
163 xkb_symbols "mac" {
164
165 // Describes the differences between a very simple en_US
166 // keyboard and a very simple Swedish(Sweden) keyboard.
167
168 include "latin"
169 name[Group1]= "Swedish (Macintosh)";
170
171 key <TLDE> { [ section, degree ] };
172 key <AE01> { [ 1, exclam, copyright, exclamdown ] };
173 key <AE02> { [ 2, quotedbl, at, oneeighth ] };
174 key <AE03> { [ 3, numbersign, sterling, yen ] };
175 key <AE04> { [ 4, currency, dollar, cent ] };
176 key <AE06> { [ 6, ampersand ] };
177 key <AE07> { [ 7, slash, bar, backslash ] };
178 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
179 key <AE09> { [ 9, parenright, bracketright, braceright ] };
180 key <AE10> { [ 0, equal ] };
181 key <AE11> { [ plus, question ] };
182 key <AE12> { [ acute, grave ] };
183 key <AD11> { [ aring, Aring ] };
184 key <AD12> { [ diaeresis, asciicircum, asciitilde ] };
185 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
186 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
187 key <BKSL> { [ apostrophe, asterisk, at ] };
188 key <AB08> { [ comma, semicolon ] };
189 key <AB09> { [ period, colon ] };
190 key <AB10> { [ minus, underscore ] };
191
192 include "kpdl(comma)"
193 include "level3(ralt_switch)"
194 };
195
196 // Svdvorak
197 // This version of Dvorak follows danish and norwegian style in hope for a
198 // Scandinavian standard.
199 partial alphanumeric_keys
200 xkb_symbols "svdvorak" {
201
202 include "se(basic)"
203
204 name[Group1]="Swedish (Svdvorak)";
205
206 key <AD01> { [ aring, Aring, braceleft ] };
207 key <AD02> { [ comma, semicolon, bracketleft ] };
208 key <AD03> { [ period, colon, bracketright ] };
209 key <AD04> { [ p, P, braceright ] };
210 key <AD05> { [ y, Y ] };
211 key <AD06> { [ f, F ] };
212 key <AD07> { [ g, G ] };
213 key <AD08> { [ c, C ] };
214 key <AD09> { [ r, R ] };
215 key <AD10> { [ l, L ] };
216 key <AD11> { [ apostrophe, asterisk ] };
217
218 key <AC01> { [ a, A ] };
219 key <AC02> { [ o, O, parenleft ] };
220 key <AC03> { [ e, E, parenright ] };
221 key <AC04> { [ u, U ] };
222 key <AC05> { [ i, I ] };
223 key <AC06> { [ d, D ] };
224 key <AC07> { [ h, H ] };
225 key <AC08> { [ t, T ] };
226 key <AC09> { [ n, N ] };
227 key <AC10> { [ s, S, ssharp, U1E9E ] };
228 key <AC11> { [ minus, underscore ] };
229 key <BKSL> { [ less, greater, bar ] };
230
231 key <LSGT> { [ odiaeresis, Odiaeresis ] };
232 key <AB01> { [ adiaeresis, Adiaeresis ] };
233 key <AB02> { [ q, Q ] };
234 key <AB03> { [ j, J ] };
235 key <AB04> { [ k, K ] };
236 key <AB05> { [ x, X ] };
237 key <AB06> { [ b, B ] };
238 key <AB07> { [ m, M ] };
239 key <AB08> { [ w, W ] };
240 key <AB09> { [ v, V ] };
241 key <AB10> { [ z, Z ] };
242 };
243
244 partial alphanumeric_keys
245 xkb_symbols "swl" {
246
247 //
248 // Swedish Sign Language
249 // ISO_639-3 language code: swl
250 // (called svenskt teckensprk in swedish)
251 //
252 // Author: Saaha Metsrantala saasha (a] acc.umu.se
253 //
254 // A sans-serif font is available at
255 // http://www.acc.umu.se/home/saasha/typsnitt/swl_sans.ttf
256 //
257
258 include "se(basic)"
259
260 name[Group1]="Swedish Sign Language";
261
262 key <AB01> { [ 0x110c925, 0x110c95f, 0x110c940, 0x110c99a ] };
263 key <AB02> { [ 0x110c96b, 0x110c933, 0x110c920, 0x110c98e ] };
264 key <AB03> { [ 0x110c949, 0x110c94b, 0x110c921, 0x110c99f ] };
265 key <AB04> { [ 0x110c923, 0x110c92d, 0x110c95c, 0x110c96e ] };
266 key <AB05> { [ 0x110c93b, 0x110c927, 0x110c908, 0x110c9a6 ] };
267 key <AB06> { [ 0x110c93a, 0x110c94c, 0x110c93e, 0x110c9a7 ] };
268 key <AB07> { [ 0x110c95b, 0x110c93f, 0x110c907, 0x110c992 ] };
269 key <AC01> { [ 0x110c973, 0x110c924, 0x110c93c, 0x110c9a4 ] };
270 key <AC02> { [ 0x110c972, 0x110c945, 0x110c91a, 0x110c99c ] };
271 key <AC03> { [ 0x110c979, 0x110c929, 0x110c916, 0x110c999 ] };
272 key <AC04> { [ 0x110c976, 0x110c975, 0x110c917, 0x110c994 ] };
273 key <AC05> { [ 0x110c95a, 0x110c926, 0x110c918, 0x110c996 ] };
274 key <AC06> { [ 0x110c96f, 0x110c932, 0x110c915, 0x110c998 ] };
275 key <AC07> { [ 0x110c942, 0x110c922, 0x110c913, 0x110c9a2 ] };
276 key <AC08> { [ 0x110c985, 0x110c94e, 0x110c914, 0x110c97a ] };
277 key <AC09> { [ 0x110c928, 0x110c948, 0x110c919, 0x110c9a5 ] };
278 key <AC10> { [ 0x110c970, 0x110c92b, 0x110c905, 0x110c991 ] };
279 key <AC11> { [ 0x110c92e, 0x110c944, 0x110c904, VoidSymbol ] };
280 key <AD01> { [ 0x110c96c, 0x110c92a, 0x110c900, 0x110c9a1 ] };
281 key <AD02> { [ 0x110c971, 0x110c930, 0x110c903, 0x110c99e ] };
282 key <AD03> { [ 0x110c987, 0x110c947, 0x110c90c, 0x110c96d ] };
283 key <AD04> { [ 0x110c986, 0x110c92c, 0x110c91b, 0x110c993 ] };
284 key <AD05> { [ 0x110c939, 0x110c94a, 0x110c911, 0x110c995 ] };
285 key <AD06> { [ 0x110c952, 0x110c943, 0x110c912, 0x110c99b ] };
286 key <AD07> { [ 0x110c978, 0x110c977, 0x110c95e, 0x110c9a3 ] };
287 key <AD08> { [ 0x110c951, 0x110c931, 0x110c91e, 0x110c997 ] };
288 key <AD09> { [ 0x110c90e, 0x110c946, 0x110c906, 0x110c9a0 ] };
289 key <AD10> { [ 0x110c91f, 0x110c961, 0x110c91c, VoidSymbol ] };
290 key <AD11> { [ 0x110c93d, 0x110c92f, 0x110c902, VoidSymbol ] };
291 key <AE01> { [ 0x110c953, 0x110c936, 0x110c988, 0x110c962 ] };
292 key <AE02> { [ 0x110c954, 0x110c957, 0x110c97d, 0x110c963 ] };
293 key <AE03> { [ 0x110c934, 0x110c937, 0x110c97e, 0x110c983 ] };
294 key <AE04> { [ 0x110c955, 0x110c958, 0x110c98a, 0x110c984 ] };
295 key <AE05> { [ 0x110c935, 0x110c938, 0x110c97f, 0x110c966 ] };
296 key <AE06> { [ 0x110c956, 0x110c959, 0x110c980, 0x110c967 ] };
297 key <AE07> { [ 0x110c960, 0x110c969, 0x110c982, 0x110c96a ] };
298 key <AE08> { [ 0x110c97c, 0x110c90b, 0x110c989, 0x110c964 ] };
299 key <AE09> { [ 0x110c97b, 0x110c90a, 0x110c98b, 0x110c965 ] };
300 key <AE10> { [ 0x110c974, 0x110c909, 0x110c98c, 0x110c968 ] };
301 };
302
303 partial alphanumeric_keys
304 xkb_symbols "us" {
305 include "us"
306
307 name[Group1]="Swedish (US)";
308
309 key <AC10> { [ NoSymbol, NoSymbol, odiaeresis, Odiaeresis ] };
310 key <AC11> { [ NoSymbol, NoSymbol, adiaeresis, Adiaeresis ] };
311 key <AD11> { [ NoSymbol, NoSymbol, aring, Aring ] };
312
313 include "level3(ralt_switch)"
314 };
315
316 // EXTRAS:
317
318 partial alphanumeric_keys
319 xkb_symbols "sun_type6" {
320 include "sun_vndr/se(sun_type6)"
321 };
322
323 partial alphanumeric_keys
324 xkb_symbols "dvorak_a5" {
325
326 include "se(basic)"
327
328 name[Group1]="Swedish (Dvorak A5)";
329
330 key <AE12> { [ dead_acute, dead_grave, plusminus, none ] };
331
332 key <AD01> { [ aring, Aring, braceleft, none ] };
333 key <AD02> { [ adiaeresis, Adiaeresis, braceright, none ] };
334 key <AD03> { [ odiaeresis, Odiaeresis, bracketleft, none ] };
335 key <AD04> { [ p, P, bracketright, none ] };
336 key <AD05> { [ y, Y, dollar, none ] };
337 key <AD06> { [ f, F, quotedbl, none ] };
338 key <AD07> { [ g, G, question, none ] };
339 key <AD08> { [ c, C, ampersand, none ] };
340 key <AD09> { [ r, R, less, none ] };
341 key <AD10> { [ l, L, greater, none ] };
342 key <AD11> { [ comma, semicolon, dead_cedilla, none ] };
343 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] };
344
345 key <AC01> { [ a, A, semicolon, none ] };
346 key <AC02> { [ o, O, slash, none ] };
347 key <AC03> { [ e, E, parenleft, none ] };
348 key <AC04> { [ u, U, parenright, none ] };
349 key <AC05> { [ i, I, bar, none ] };
350 key <AC06> { [ d, D, numbersign, none ] };
351 key <AC07> { [ h, H, asciicircum, none ] };
352 key <AC08> { [ t, T, numbersign, none ] };
353 key <AC09> { [ n, N, quotedbl, none ] };
354 key <AC10> { [ s, S, asciitilde, none ] };
355 key <AC11> { [ minus, underscore, grave, none ] };
356
357 key <AB01> { [ period, colon, colon, none ] };
358 key <AB02> { [ q, Q, equal, none ] };
359 key <AB03> { [ j, J, at, none ] };
360 key <AB04> { [ k, K, exclam, none ] };
361 key <AB05> { [ x, X, backslash, none ] };
362 key <AB06> { [ b, B, percent, none ] };
363 key <AB07> { [ m, M, grave, none ] };
364 key <AB08> { [ w, W, lstroke, none ] };
365 key <AB09> { [ v, V, leftdoublequotemark, none ] };
366 key <AB10> { [ z, Z, guillemotleft, none ] };
367
368 key <BKSL> { [ apostrophe, asterisk, asterisk, none ] };
369 };
370
371 partial alphanumeric_keys
372 xkb_symbols "ovd" {
373
374 // Adds combining ogonek (U0328) to the basic Swedish layout to facilitate
375 // typing of Y y .
376 // The character replaces <dead_diaeresis> which is considered dispensable
377 // since and have their own keys. <dead_diaeresis> is still available
378 // via <AltGr> + .
379
380 include "se(basic)"
381
382 name[Group1]="Elfdalian (Swedish, with combining ogonek)";
383
384 key <AD12> { [ U0328, dead_circumflex, dead_tilde, dead_caron ] };
385 };
386
387 // us_dvorak
388 // Author Thomas Lundqvist http://tlundqvist.org/sv_dvorak/
389
390 partial alphanumeric_keys
391 xkb_symbols "us_dvorak" {
392 include "us(dvorak-intl)"
393 name[Group1]="Swedish (Dvorak, intl.)";
394
395 key <TLDE> { [ apostrophe, asciitilde, grave, dead_tilde ] };
396 key <AE02> { [ 2, quotedbl, at ] };
397 key <AE06> { [ 6, asciicircum, dead_circumflex ] };
398 key <AD01> { [ aring, Aring, dead_acute ] };
399 key <AC11> { [ minus, underscore, bar, dead_macron ] };
400 key <AB01> { [ adiaeresis, Adiaeresis, dead_grave, dead_ogonek ] };
401 key <LSGT> { [ odiaeresis, Odiaeresis, dead_diaeresis, dead_belowdot ] };
402 key <BKSL> { [ semicolon, colon, backslash ] };
403
404 include "kpdl(comma)"
405 include "level3(ralt_switch)"
406 };
407