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