se revision 0412cded
1// based on a keyboard map from an 'xkb/symbols/se' file
2
3partial default alphanumeric_keys
4xkb_symbols "basic" {
5    include "latin(type2)"
6    include "se(se)"
7};
8
9partial alphanumeric_keys
10xkb_symbols "se" {
11
12    name[Group1]="Swedish";
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
33partial alphanumeric_keys
34xkb_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]="Swedish (eliminate dead keys)";
43
44    key <AE12>	{ [     acute,      grave,    plusminus,      notsign ]	};
45
46};
47
48// Swedish Dvorak
49partial alphanumeric_keys 
50xkb_symbols "dvorak" {
51
52    name[Group1]="Swedish (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
104partial alphanumeric_keys
105xkb_symbols "rus" {
106    include "se(basic)"
107
108    name[Group1]="Russian (Sweden, 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
149partial alphanumeric_keys
150xkb_symbols "rus_nodeadkeys" {
151
152    include "se(nodeadkeys)"
153    include "se(rus)"
154
155    name[Group1]="Russian (Sweden, phonetic, eliminate dead keys)";
156
157    key <AE12> {	[ Cyrillic_hardsign, Cyrillic_HARDSIGN ]	};
158};
159
160xkb_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]= "Northern Saami (Sweden)";
170};
171
172// Copied from macintosh_vndr/se
173partial alphanumeric_keys 
174xkb_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]= "Swedish (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.
210partial alphanumeric_keys
211xkb_symbols "svdvorak" {
212
213   name[Group1]="Swedish (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};
254
255partial alphanumeric_keys
256xkb_symbols "swl" {
257
258//
259// Swedish Sign Language
260// ISO_639-3 language code: swl
261// (called “svenskt teckenspråk” in swedish)
262//
263// Author: Saašha Metsärantala saasha@acc.umu.se
264//
265// A sans-serif font is available at
266// http://www.acc.umu.se/home/saasha/typsnitt/swl_sans.ttf
267//
268
269  include "se(basic)"
270
271  name[Group1]="Swedish Sign Language";
272
273  key <AB01> { [ 0x110c925, 0x110c95f, 0x110c940, 0x110c99a ] };
274  key <AB02> { [ 0x110c96b, 0x110c933, 0x110c920, 0x110c98e ] };
275  key <AB03> { [ 0x110c949, 0x110c94b, 0x110c921, 0x110c99f ] };
276  key <AB04> { [ 0x110c923, 0x110c92d, 0x110c95c, 0x110c96e ] };
277  key <AB05> { [ 0x110c93b, 0x110c927, 0x110c908, 0x110c9a6 ] };
278  key <AB06> { [ 0x110c93a, 0x110c94c, 0x110c93e, 0x110c9a7 ] };
279  key <AB07> { [ 0x110c95b, 0x110c93f, 0x110c907, 0x110c992 ] };
280  key <AC01> { [ 0x110c973, 0x110c924, 0x110c93c, 0x110c9a4 ] };
281  key <AC02> { [ 0x110c972, 0x110c945, 0x110c91a, 0x110c99c ] };
282  key <AC03> { [ 0x110c979, 0x110c929, 0x110c916, 0x110c999 ] };
283  key <AC04> { [ 0x110c976, 0x110c975, 0x110c917, 0x110c994 ] };
284  key <AC05> { [ 0x110c95a, 0x110c926, 0x110c918, 0x110c996 ] };
285  key <AC06> { [ 0x110c96f, 0x110c932, 0x110c915, 0x110c998 ] };
286  key <AC07> { [ 0x110c942, 0x110c922, 0x110c913, 0x110c9a2 ] };
287  key <AC08> { [ 0x110c985, 0x110c94e, 0x110c914, 0x110c97a ] };
288  key <AC09> { [ 0x110c928, 0x110c948, 0x110c919, 0x110c9a5 ] };
289  key <AC10> { [ 0x110c970, 0x110c92b, 0x110c905, 0x110c991 ] };
290  key <AC11> { [ 0x110c92e, 0x110c944, 0x110c904, VoidSymbol ] };
291  key <AD01> { [ 0x110c96c, 0x110c92a, 0x110c900, 0x110c9a1 ] };
292  key <AD02> { [ 0x110c971, 0x110c930, 0x110c903, 0x110c99e ] };
293  key <AD03> { [ 0x110c987, 0x110c947, 0x110c90c, 0x110c96d ] };
294  key <AD04> { [ 0x110c986, 0x110c92c, 0x110c91b, 0x110c993 ] };
295  key <AD05> { [ 0x110c939, 0x110c94a, 0x110c911, 0x110c995 ] };
296  key <AD06> { [ 0x110c952, 0x110c943, 0x110c912, 0x110c99b ] };
297  key <AD07> { [ 0x110c978, 0x110c977, 0x110c95e, 0x110c9a3 ] };
298  key <AD08> { [ 0x110c951, 0x110c931, 0x110c91e, 0x110c997 ] };
299  key <AD09> { [ 0x110c90e, 0x110c946, 0x110c906, 0x110c9a0 ] };
300  key <AD10> { [ 0x110c91f, 0x110c961, 0x110c91c, VoidSymbol ] };
301  key <AD11> { [ 0x110c93d, 0x110c92f, 0x110c902, VoidSymbol ] };
302  key <AE01> { [ 0x110c953, 0x110c936, 0x110c988, 0x110c962 ] };
303  key <AE02> { [ 0x110c954, 0x110c957, 0x110c97d, 0x110c963 ] };
304  key <AE03> { [ 0x110c934, 0x110c937, 0x110c97e, 0x110c983 ] };
305  key <AE04> { [ 0x110c955, 0x110c958, 0x110c98a, 0x110c984 ] };
306  key <AE05> { [ 0x110c935, 0x110c938, 0x110c97f, 0x110c966 ] };
307  key <AE06> { [ 0x110c956, 0x110c959, 0x110c980, 0x110c967 ] };
308  key <AE07> { [ 0x110c960, 0x110c969, 0x110c982, 0x110c96a ] };
309  key <AE08> { [ 0x110c97c, 0x110c90b, 0x110c989, 0x110c964 ] };
310  key <AE09> { [ 0x110c97b, 0x110c90a, 0x110c98b, 0x110c965 ] };
311  key <AE10> { [ 0x110c974, 0x110c909, 0x110c98c, 0x110c968 ] };
312};
313
314// EXTRAS:
315
316partial alphanumeric_keys
317	xkb_symbols "sun_type6" {
318	include "sun_vndr/se(sun_type6)"
319};
320