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