2 // X keyboard maps for Finland
4 // SFS 5966 / Kotoistus keymap created by Troy Korjuslommi
5 // Classic keymap based on traditional by Marko Myllynen
6 // Eliminate deadkeys alternative sent by Linus Torvalds
9 partial alphanumeric_keys default
10 xkb_symbols "kotoistus" {
12 // Official keymap for Finland based on SFS 5966 standard
14 // This keymap implements all the functionality of Annex 1
15 // of the standard and additionally defines the following to
16 // allow entering these characters with keyboards without LSGT.
18 // AE08+4, U+003C : LESS-THAN SIGN (less)
19 // AE09+4, U+003E : GREATER-THAN SIGN (greater)
20 // AD08+4, U+007C : VERTICAL LINE (bar)
22 // Annex 3 of the standard is implemented in fi_FI.UTF-8/Compose
24 name[Group1]="Finnish";
26 key <TLDE> { [ section, onehalf, dead_stroke, NoSymbol ] };
27 key <AE01> { [ 1, exclam, NoSymbol, exclamdown ] };
28 key <AE02> { [ 2, quotedbl, at, rightdoublequotemark ] };
29 key <AE03> { [ 3, numbersign, sterling, guillemotright ] };
30 key <AE04> { [ 4, currency, dollar, guillemotleft ] };
31 key <AE05> { [ 5, percent, permille, leftdoublequotemark ] };
32 key <AE06> { [ 6, ampersand, singlelowquotemark, doublelowquotemark ] };
33 key <AE07> { [ 7, slash, braceleft, NoSymbol ] };
34 key <AE08> { [ 8, parenleft, bracketleft, less ] };
35 key <AE09> { [ 9, parenright, bracketright, greater ] };
36 key <AE10> { [ 0, equal, braceright, degree ] };
37 key <AE11> { [ plus, question, backslash, questiondown ] };
38 key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
40 key <AD01> { [ q, Q, q, Q ] };
41 key <AD02> { [ w, W, w, W ] };
42 key <AD03> { [ e, E, EuroSign, NoSymbol ] };
43 key <AD04> { [ r, R, r, R ] };
44 key <AD05> { [ t, T, thorn, THORN ] };
45 key <AD06> { [ y, Y, y, Y ] };
46 key <AD07> { [ u, U, u, U ] };
47 key <AD08> { [ i, I, idotless, bar ] };
48 key <AD09> { [ o, O, oe, OE ] };
49 key <AD10> { [ p, P, dead_horn, dead_hook ] };
50 key <AD11> { [ aring, Aring, dead_doubleacute, dead_abovering ] };
51 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_macron ] };
53 key <AC01> { [ a, A, schwa, SCHWA ] };
54 key <AC02> { [ s, S, ssharp, NoSymbol ] };
55 key <AC03> { [ d, D, eth, ETH ] };
56 key <AC04> { [ f, F, f, F ] };
57 key <AC05> { [ g, G, g, G ] };
58 key <AC06> { [ h, H, h, H ] };
59 key <AC07> { [ j, J, j, J ] };
60 key <AC08> { [ k, K, kra, NoSymbol ] };
61 key <AC09> { [ l, L, dead_stroke, NoSymbol ] };
62 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
63 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
64 key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] };
66 key <LSGT> { [ less, greater, bar, NoSymbol ] };
67 key <AB01> { [ z, Z, ezh, EZH ] };
68 key <AB02> { [ x, X, multiply, periodcentered ] };
69 key <AB03> { [ c, C, c, C ] };
70 key <AB04> { [ v, V, v, V ] };
71 key <AB05> { [ b, B, b, B ] };
72 key <AB06> { [ n, N, eng, ENG ] };
73 key <AB07> { [ m, M, mu, emdash ] };
74 key <AB08> { [ comma, semicolon, rightsinglequotemark, leftsinglequotemark ] };
75 key <AB09> { [ period, colon, dead_belowdot, dead_abovedot ] };
76 key <AB10> { [ minus, underscore, endash, dead_belowcomma ] };
78 include "nbsp(level4)"
79 include "nbsp(level3)"
81 include "level3(ralt_switch)"
82 include "compose(rwin)"
85 partial alphanumeric_keys
86 xkb_symbols "classic" {
90 name[Group1]="Finnish (classic)";
93 partial alphanumeric_keys hidden
96 // Classic Finnish keyboard layout with dead keys support
97 // and all ISO-8859-1 and ISO-8859-15 characters available
99 key <TLDE> { [ section, onehalf, onequarter, threequarters ] };
100 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
101 key <AE02> { [ 2, quotedbl, at, twosuperior ] };
102 key <AE03> { [ 3, numbersign, sterling, threesuperior ] };
103 key <AE04> { [ 4, currency, dollar, cent ] };
104 key <AE05> { [ 5, percent, EuroSign, masculine ] };
105 key <AE06> { [ 6, ampersand, yen, ordfeminine ] };
106 key <AE07> { [ 7, slash, braceleft, plusminus ] };
107 key <AE08> { [ 8, parenleft, bracketleft, guillemotleft ] };
108 key <AE09> { [ 9, parenright, bracketright, guillemotright ] };
109 key <AE10> { [ 0, equal, braceright, degree ] };
110 key <AE11> { [ plus, question, backslash, questiondown ] };
111 key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
113 key <AD01> { [ q, Q, q, Q ] };
114 key <AD02> { [ w, W, w, W ] };
115 key <AD03> { [ e, E, EuroSign, cent ] };
116 key <AD04> { [ r, R, registered, NoSymbol ] };
117 key <AD05> { [ t, T, thorn, THORN ] };
118 key <AD06> { [ y, Y, y, Y ] };
119 key <AD07> { [ u, U, u, U ] };
120 key <AD08> { [ i, I, idotless, bar ] };
121 key <AD09> { [ o, O, o, O ] };
122 key <AD10> { [ p, P, paragraph, NoSymbol ] };
123 key <AD11> { [ aring, Aring, oe, OE ] };
124 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] };
126 key <AC01> { [ a, A, schwa, SCHWA ] };
127 key <AC02> { [ s, S, scaron, Scaron ] };
128 key <AC03> { [ d, D, eth, ETH ] };
129 key <AC04> { [ f, F, f, F ] };
130 key <AC05> { [ g, G, eng, ENG ] };
131 key <AC06> { [ h, H, h, H ] };
132 key <AC07> { [ j, J, j, J ] };
133 key <AC08> { [ k, K, kra, NoSymbol ] };
134 key <AC09> { [ l, L, dead_stroke, NoSymbol ] };
135 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
136 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
137 key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] };
139 key <LSGT> { [ less, greater, bar, brokenbar ] };
140 key <AB01> { [ z, Z, zcaron, Zcaron ] };
141 key <AB02> { [ x, X, multiply, division ] };
142 key <AB03> { [ c, C, copyright, cent ] };
143 key <AB04> { [ v, V, v, V ] };
144 key <AB05> { [ b, B, ssharp, NoSymbol ] };
145 key <AB06> { [ n, N, ntilde, Ntilde ] };
146 key <AB07> { [ m, M, mu, NoSymbol ] };
147 key <AB08> { [ comma, semicolon, dead_cedilla, dead_ogonek ] };
148 key <AB09> { [ period, colon, periodcentered, notsign ] };
149 key <AB10> { [ minus, underscore, hyphen, dead_macron ] };
151 include "nbsp(level4)"
152 include "kpdl(comma)"
153 include "level3(ralt_switch)"
154 include "compose(rwin)"
157 partial alphanumeric_keys
158 xkb_symbols "nodeadkeys" {
160 // Classic Finnish keyboard layout without dead keys
164 name[Group1]="Finnish (classic, eliminate dead keys)";
166 key <AE12> { [ acute, grave, cedilla, ogonek ] };
167 key <AD12> { [ diaeresis, asciicircum, asciitilde, caron ] };
168 key <AC09> { [ l, L, l, L ] };
169 key <BKSL> { [ apostrophe, asterisk, caron, breve ] };
170 key <AB08> { [ comma, semicolon, cedilla, ogonek ] };
171 key <AB10> { [ minus, underscore, hyphen, macron ] };
174 partial alphanumeric_keys
177 // Describes the differences between a Norwegian Northern Sami
178 // (keyboard with dead key support) and a Swedish/Finnish Sami
179 // keyboard according to the specs at:
180 // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
184 name[Group1]="Northern Saami (Finland)";
186 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
187 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
190 partial alphanumeric_keys
193 // Macintosh keyboard for Finland based on Swedish(Macintosh) keyboard
197 name[Group1]="Finnish (Macintosh)";