adding mac variants to base layouts, closing b.fd.o#8465
[xorg/xkeyboard-config] / symbols / se
1
2 // based on a keyboard map from an 'xkb/symbols/se' file
3 //
4 // $XKeyboardConfig$
5 // $XFree86: xc/programs/xkbcomp/symbols/se,v 1.5 2003/01/26 02:01:48 dawes Exp $
6
7 partial default alphanumeric_keys
8 xkb_symbols "basic" {
9     include "latin(type2)"
10     include "se(se)"
11 };
12
13 partial alphanumeric_keys
14 xkb_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 "keypad(comma)"
32
33     include "level3(ralt_switch)"
34 };
35
36 partial alphanumeric_keys
37 xkb_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
52 partial alphanumeric_keys 
53 xkb_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
107 partial alphanumeric_keys
108 xkb_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
152 partial alphanumeric_keys
153 xkb_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
163 xkb_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
176 partial alphanumeric_keys 
177 xkb_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
184     name[Group1]= "Sweden - Macintosh";
185
186     key <TLDE> {        [         section,         degree       ]       };
187
188     key <AE01> {        [               1,          exclam,        copyright,      exclamdown   ]       };
189     key <AE02> {        [               2,        quotedbl,            at,       oneeighth      ]       };
190     key <AE03> {        [               3,      numbersign,         sterling,             yen   ]       };
191     key <AE04> {        [               4,        currency,        dollar,            cent      ]       };
192     key <AE06> {        [               6,       ampersand      ]       };
193     key <AE07> {        [               7,           slash,           bar,       backslash      ]       };
194     key <AE08> {        [               8,       parenleft,      bracketleft,       braceleft   ]       };
195     key <AE09> {        [               9,      parenright,     bracketright,      braceright   ]       };
196     key <AB08> {        [           comma,       semicolon      ]       };
197     key <AE10> {        [               0,           equal      ]       };
198     key <AB09> {        [          period,           colon      ]       };
199     key <AB10> {        [           minus,      underscore      ]       };
200     key <AC10> {        [      odiaeresis,      Odiaeresis,        oslash,          Ooblique    ]       };
201     key <AE11> {        [            plus,        question      ]       };
202     key <AC11> {        [      adiaeresis,      Adiaeresis,               ae,           AE      ]       };
203     key <AD11> {        [           aring,           Aring      ]       };
204     key <AE12> {        [           acute,           grave      ]       };
205     key <AD12> {        [       diaeresis,     asciicircum,     asciitilde                      ]       };
206     key <BKSL> {        [      apostrophe,        asterisk,               at                    ]       };
207     key <LSGT> {        [            less,         greater,              bar,       brokenbar      ]       };
208
209     include "keypad(comma)"
210     include "level3(ralt_switch)"
211 };
212