Debian Codegraph @

symbols/fi

raw
1 // Keyboard layouts for Finland.
2
3 // SFS 5966 / Kotoistus keymap created by Troy Korjuslommi
4 // Classic keymap based on traditional by Marko Myllynen
5 // Eliminate deadkeys alternative sent by Linus Torvalds
6
7 default partial alphanumeric_keys
8 xkb_symbols "kotoistus" {
9
10 // Official keymap for Finland based on SFS 5966:2019 standard
11 //
12 // This keymap implements all the functionality of Annex 1
13 // of the standard and additionally defines the following to
14 // allow entering these characters with keyboards without LSGT.
15 //
16 // AE08+4 : U+003C LESS-THAN SIGN (less)
17 // AE09+4 : U+003E GREATER-THAN SIGN (greater)
18 // AD08+4 : U+007C VERTICAL LINE (bar)
19 //
20 // Annex 3 of the standard is implemented in fi_FI.UTF-8/Compose.
21 //
22 // This keymap implements regular space in position "A-3" of the
23 // standard and implements NARROW NO-BREAK SPACE (U+202F) in A-4.
24 //
25 // The following definitions are also included to allow entering
26 // Greek letters and currency symbols with the libX11 sequences.
27 //
28 // AC08+4 : dead_greek
29 // AC09+4 : dead_currency
30
31 name[Group1]="Finnish";
32
33 key <TLDE> { [ section, onehalf, dead_stroke, NoSymbol ] };
34 key <AE01> { [ 1, exclam, NoSymbol, exclamdown ] };
35 key <AE02> { [ 2, quotedbl, at, rightdoublequotemark ] };
36 key <AE03> { [ 3, numbersign, sterling, guillemotright ] };
37 key <AE04> { [ 4, currency, dollar, guillemotleft ] };
38 key <AE05> { [ 5, percent, permille, leftdoublequotemark ] };
39 key <AE06> { [ 6, ampersand, singlelowquotemark, doublelowquotemark ] };
40 key <AE07> { [ 7, slash, braceleft, NoSymbol ] };
41 key <AE08> { [ 8, parenleft, bracketleft, less ] };
42 key <AE09> { [ 9, parenright, bracketright, greater ] };
43 key <AE10> { [ 0, equal, braceright, degree ] };
44 key <AE11> { [ plus, question, backslash, questiondown ] };
45 key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
46
47 key <AD01> { [ q, Q, q, Q ] };
48 key <AD02> { [ w, W, w, W ] };
49 key <AD03> { [ e, E, EuroSign, NoSymbol ] };
50 key <AD04> { [ r, R, r, R ] };
51 key <AD05> { [ t, T, thorn, THORN ] };
52 key <AD06> { [ y, Y, y, Y ] };
53 key <AD07> { [ u, U, u, U ] };
54 key <AD08> { [ i, I, idotless, bar ] };
55 key <AD09> { [ o, O, oe, OE ] };
56 key <AD10> { [ p, P, dead_horn, dead_hook ] };
57 key <AD11> { [ aring, Aring, dead_doubleacute, dead_abovering ] };
58 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_macron ] };
59
60 key <AC01> { [ a, A, schwa, SCHWA ] };
61 key <AC02> { [ s, S, ssharp, U1E9E ] };
62 key <AC03> { [ d, D, eth, ETH ] };
63 key <AC04> { [ f, F, f, F ] };
64 key <AC05> { [ g, G, g, G ] };
65 key <AC06> { [ h, H, h, H ] };
66 key <AC07> { [ j, J, j, J ] };
67 key <AC08> { [ k, K, kra, dead_greek ] };
68 key <AC09> { [ l, L, dead_stroke, dead_currency ] };
69 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
70 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
71 key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] };
72
73 key <LSGT> { [ less, greater, bar, NoSymbol ] };
74 key <AB01> { [ z, Z, ezh, EZH ] };
75 key <AB02> { [ x, X, multiply, periodcentered ] };
76 key <AB03> { [ c, C, c, C ] };
77 key <AB04> { [ v, V, v, V ] };
78 key <AB05> { [ b, B, b, B ] };
79 key <AB06> { [ n, N, eng, ENG ] };
80 key <AB07> { [ m, M, mu, emdash ] };
81 key <AB08> { [ comma, semicolon, rightsinglequotemark, leftsinglequotemark ] };
82 key <AB09> { [ period, colon, dead_belowdot, dead_abovedot ] };
83 key <AB10> { [ minus, underscore, endash, dead_belowcomma ] };
84
85 key <SPCE> { [ space, space, space, U202F ] };
86
87 include "kpdl(comma)"
88 include "level3(ralt_switch)"
89 };
90
91 partial alphanumeric_keys
92 xkb_symbols "winkeys" {
93
94 include "fi(kotoistus)"
95
96 name[Group1]="Finnish (Windows)";
97
98 include "eurosign(5)"
99 };
100
101 hidden partial alphanumeric_keys
102 xkb_symbols "fi" {
103
104 // Classic Finnish keyboard layout with dead keys
105
106 key <TLDE> { [ section, onehalf, onequarter, threequarters ] };
107 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
108 key <AE02> { [ 2, quotedbl, at, twosuperior ] };
109 key <AE03> { [ 3, numbersign, sterling, threesuperior ] };
110 key <AE04> { [ 4, currency, dollar, cent ] };
111 key <AE05> { [ 5, percent, EuroSign, masculine ] };
112 key <AE06> { [ 6, ampersand, yen, ordfeminine ] };
113 key <AE07> { [ 7, slash, braceleft, plusminus ] };
114 key <AE08> { [ 8, parenleft, bracketleft, less ] };
115 key <AE09> { [ 9, parenright, bracketright, greater ] };
116 key <AE10> { [ 0, equal, braceright, degree ] };
117 key <AE11> { [ plus, question, backslash, questiondown ] };
118 key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
119
120 key <AD01> { [ q, Q, q, Q ] };
121 key <AD02> { [ w, W, w, W ] };
122 key <AD03> { [ e, E, EuroSign, cent ] };
123 key <AD04> { [ r, R, registered, NoSymbol ] };
124 key <AD05> { [ t, T, thorn, THORN ] };
125 key <AD06> { [ y, Y, y, Y ] };
126 key <AD07> { [ u, U, u, U ] };
127 key <AD08> { [ i, I, idotless, bar ] };
128 key <AD09> { [ o, O, o, O ] };
129 key <AD10> { [ p, P, paragraph, NoSymbol ] };
130 key <AD11> { [ aring, Aring, oe, OE ] };
131 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] };
132
133 key <AC01> { [ a, A, schwa, SCHWA ] };
134 key <AC02> { [ s, S, scaron, Scaron ] };
135 key <AC03> { [ d, D, eth, ETH ] };
136 key <AC04> { [ f, F, f, F ] };
137 key <AC05> { [ g, G, eng, ENG ] };
138 key <AC06> { [ h, H, h, H ] };
139 key <AC07> { [ j, J, j, J ] };
140 key <AC08> { [ k, K, kra, dead_greek ] };
141 key <AC09> { [ l, L, dead_stroke, dead_currency ] };
142 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
143 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
144 key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] };
145
146 key <LSGT> { [ less, greater, bar, brokenbar ] };
147 key <AB01> { [ z, Z, zcaron, Zcaron ] };
148 key <AB02> { [ x, X, multiply, division ] };
149 key <AB03> { [ c, C, copyright, cent ] };
150 key <AB04> { [ v, V, v, V ] };
151 key <AB05> { [ b, B, ssharp, U1E9E ] };
152 key <AB06> { [ n, N, ntilde, Ntilde ] };
153 key <AB07> { [ m, M, mu, NoSymbol ] };
154 key <AB08> { [ comma, semicolon, dead_cedilla, dead_ogonek ] };
155 key <AB09> { [ period, colon, periodcentered, notsign ] };
156 key <AB10> { [ minus, underscore, hyphen, dead_macron ] };
157
158 key <SPCE> { [ space, space, space, U202F ] };
159
160 include "kpdl(comma)"
161 include "level3(ralt_switch)"
162 };
163
164 partial alphanumeric_keys
165 xkb_symbols "classic" {
166
167 include "fi(fi)"
168
169 name[Group1]="Finnish (classic)";
170 };
171
172 partial alphanumeric_keys
173 xkb_symbols "nodeadkeys" {
174
175 // Classic Finnish keyboard layout without dead keys
176
177 include "fi(fi)"
178
179 name[Group1]="Finnish (classic, no dead keys)";
180
181 key <AE12> { [ acute, grave, cedilla, ogonek ] };
182 key <AD12> { [ diaeresis, asciicircum, asciitilde, caron ] };
183 key <AC09> { [ l, L, l, L ] };
184 key <BKSL> { [ apostrophe, asterisk, caron, breve ] };
185 key <AB08> { [ comma, semicolon, cedilla, ogonek ] };
186 key <AB10> { [ minus, underscore, hyphen, macron ] };
187 };
188
189 partial alphanumeric_keys
190 xkb_symbols "smi" {
191
192 // Describes the differences between a Norwegian Northern Sami
193 // (keyboard with dead key support) and a Swedish/Finnish Sami
194 // keyboard according to the specs at:
195 // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
196
197 include "no(smi)"
198
199 name[Group1]="Northern Saami (Finland)";
200
201 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
202 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
203 };
204
205 partial alphanumeric_keys
206 xkb_symbols "mac" {
207
208 include "se(mac)"
209
210 name[Group1]="Finnish (Macintosh)";
211 };
212
213
214 // EXTRAS:
215
216 partial alphanumeric_keys
217 xkb_symbols "sun_type6" {
218
219 // #HW-SPECIFIC
220
221 include "sun_vndr/fi(sun_type6)"
222
223 name[Group1]="Finnish";
224 };
225
226 partial
227 xkb_symbols "das" {
228
229 // DAS layout for typing Finnish designed by Cristian Seres (cseres at iki.fi).
230 // More information about DAS is available at http://c.seres.fi/DAS_en.html.
231 // This xkeyboard layout was created by Joel Lehtonen (joel.lehtonen at iki.fi),
232 // and he released it to public domain.
233
234 name[Group1]="Finnish (DAS)";
235
236 key <TLDE> { [ backslash, dead_tilde ] };
237 key <AE01> { [ 1, exclam, section ] };
238 key <AE02> { [ 2, quotedbl, twosuperior ] };
239 key <AE03> { [ 3, at, sterling ] };
240 key <AE04> { [ 4, EuroSign, dollar ] };
241 key <AE05> { [ 5, percent, onehalf ] };
242 key <AE06> { [ 6, ampersand ] };
243 key <AE07> { [ 7, braceleft ] };
244 key <AE08> { [ 8, parenleft, bracketleft ] };
245 key <AE09> { [ 9, parenright, bracketright ] };
246 key <AE10> { [ 0, braceright, degree ] };
247 key <AE11> { [ plus, question, currency ] };
248 key <AE12> { [ equal, numbersign ] };
249
250 key <AD01> { [ p, P, Greek_pi ] };
251 key <AD02> { [ h, H ] };
252 key <AD03> { [ r, R, dead_circumflex ] };
253 key <AD04> { [ k, K, dead_caron ] };
254 key <AD05> { [ less, greater ] };
255 key <AD06> { [ apostrophe, bar ] };
256 key <AD07> { [ w, W ] };
257 key <AD08> { [ u, U ] };
258 key <AD09> { [ y, Y ] };
259 key <AD10> { [ b, B ] };
260 key <AD11> { [ q, Q ] };
261 key <AD12> { [ z, Z, zcaron, Zcaron ] };
262
263 key <AC01> { [ s, S, scaron, Scaron ] };
264 key <AC02> { [ l, L, dead_acute ] };
265 key <AC03> { [ n, N, dead_grave ] };
266 key <AC04> { [ t, T, dead_diaeresis ] };
267 key <AC05> { [ v, V ] };
268 key <AC06> { [ g, G ] };
269 key <AC07> { [ a, A ] };
270 key <AC08> { [ i, I ] };
271 key <AC09> { [ o, O ] };
272 key <AC10> { [ e, E ] };
273 key <AC11> { [ c, C ] };
274 key <BKSL> { [ asterisk, slash ] };
275
276 key <LSGT> { [ f, F ] };
277 key <AB01> { [ x, X ] };
278 key <AB02> { [ d, D ] };
279 key <AB03> { [ m, M, mu ] };
280 key <AB04> { [ j, J ] };
281 key <AB05> { [ aring, Aring ] };
282 key <AB06> { [ odiaeresis, Odiaeresis, oe, OE ] };
283 key <AB07> { [ adiaeresis, Adiaeresis, ae, AE ] };
284 key <AB08> { [ comma, semicolon ] };
285 key <AB09> { [ period, colon ] };
286 key <AB10> { [ minus, underscore, U2013, dead_macron ] };
287
288 key <SPCE> { [ space, space, space, nobreakspace ] };
289
290 include "kpdl(comma)"
291 include "level3(ralt_switch)"
292 };
293
294 partial alphanumeric_keys
295 xkb_symbols "fidvorak" {
296
297 // Dvorak keyboard layout for use with Finnish by Pekka Oinas.
298 //
299 // Dedicated keys for Ä and Ö by utilizing the extra LSGT key found on Finnish keyboards
300 // and by moving colon and semicolon behind shift-modifiers on comma and period.
301 // Less and greater than symbols moved behind 3rd level modifiers on comma and period.
302 // Includes an assortment of dead keys but was not created with them in mind.
303
304 name[Group1]="Finnish (Dvorak)";
305
306 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
307 key <AE01> { [ 1, exclam, NoSymbol, exclamdown ] };
308 key <AE02> { [ 2, at, cent, rightdoublequotemark ] };
309 key <AE03> { [ 3, numbersign, sterling ] };
310 key <AE04> { [ 4, dollar, currency ] };
311 key <AE05> { [ 5, percent, permille, leftdoublequotemark ] };
312 key <AE06> { [ 6, asciicircum, dead_circumflex, doublelowquotemark ] };
313 key <AE07> { [ 7, ampersand, section, singlelowquotemark ] };
314 key <AE08> { [ 8, asterisk ] };
315 key <AE09> { [ 9, parenleft ] };
316 key <AE10> { [ 0, parenright, degree, dead_abovering ] };
317 key <AE11> { [ bracketleft, braceleft ] };
318 key <AE12> { [ bracketright, braceright ] };
319
320 key <AD01> { [ apostrophe, quotedbl, dead_acute, dead_doubleacute ] };
321 key <AD02> { [ comma, semicolon, less, leftsinglequotemark ] };
322 key <AD03> { [ period, colon, greater ] };
323 key <AD04> { [ p, P ] };
324 key <AD05> { [ y, Y, yen ] };
325 key <AD06> { [ f, F ] };
326 key <AD07> { [ g, G ] };
327 key <AD08> { [ c, C ] };
328 key <AD09> { [ r, R ] };
329 key <AD10> { [ l, L, notsign ] };
330 key <AD11> { [ slash, question, NoSymbol, questiondown ] };
331 key <AD12> { [ equal, plus ] };
332
333 key <AC01> { [ a, A, schwa, SCHWA ] };
334 key <AC02> { [ o, O, aring, Aring ] };
335 key <AC03> { [ e, E, EuroSign ] };
336 key <AC04> { [ u, U, udiaeresis, Udiaeresis ] };
337 key <AC05> { [ i, I, idotless, Iabovedot ] };
338 key <AC06> { [ d, D, eth, ETH ] };
339 key <AC07> { [ h, H ] };
340 key <AC08> { [ t, T, thorn, THORN ] };
341 key <AC09> { [ n, N, eng, ENG ] };
342 key <AC10> { [ s, S, ssharp, U1E9E ] };
343 key <AC11> { [ minus, underscore, endash, emdash ] };
344 key <BKSL> { [ backslash, bar, dead_caron, dead_breve ] };
345
346 key <LSGT> { [ adiaeresis, Adiaeresis, ae, AE ] };
347 key <AB01> { [ odiaeresis, Odiaeresis, dead_diaeresis, dead_macron ] };
348 key <AB02> { [ q, Q, oslash, Oslash ] };
349 key <AB03> { [ j, J ] };
350 key <AB04> { [ k, K, kra ] };
351 key <AB05> { [ x, X, multiply, periodcentered ] };
352 key <AB06> { [ b, B, hyphen ] };
353 key <AB07> { [ m, M, mu, emdash ] };
354 key <AB08> { [ w, W ] };
355 key <AB09> { [ v, V ] };
356 key <AB10> { [ z, Z, ezh, EZH ] };
357
358 include "level3(ralt_switch)"
359 };