dropping bad nbsp mapping, b.fd.o#12764
[xorg/xkeyboard-config] / symbols / fi
1 // based on a keyboard map from an 'xkb/symbols/fi' file
2 //
3 // $XKeyboardConfig$
4 // $XFree86: xc/programs/xkbcomp/symbols/fi,v 1.9 2003/01/29 17:17:31 dawes Exp $
5
6 // Troy Korjuslommi, 
7 // Jan 6, 2006,
8 // May 5, 2006.
9 // May 6, 2006.
10 // May 12, 2006.
11 // Oct 10, 2007.
12 // 
13 // Oct 10, 2007.
14 // -Changed space column 3 to nobreakspace (from space).
15 // -Changed UFE63 entries to dead_stroke.
16 // 
17 // Nov 29, 2006.
18 // UFE63 can be changed to dead_stroke starting with version 7.0.7. of the X server.
19 //
20 // Dec 05, 2006.
21 // Changed instances of NoSymbol in columns 3 and 4 to characters in columns 1 and 2.
22 // This fixes a bug where the mappings couldn't be changed (with xmodmap for example).
23 // NoSymbol left in other positions, so nothing is output from those key presses.
24 //
25 // Dec 11, 2006.
26 // Changed all Uxxxx values to named versions.
27 // If you have problems, check these defines (when compiling X):
28 // XK_LATIN9: oe, OE.
29 // XK_CURRENCY: EuroSign.
30 // XK_LATIN2: caron.
31 // XK_LATIN3: idotless.
32 // XK_LATIN4: kra, eng, ENG.
33 // XK_CAUCASUS: schwa, SCHWA.
34 // XK_PUBLISHING: rightdoublequotemark, leftdoublequotemark, singlelowquotemark, doublelowquotemark, emdash,
35 //                rightsinglequotemark, leftsinglequotemark, endash.
36 // 
37 // Unnamed positions: 
38 // UFE63: dead_stroke. Will be fixed, once the entry is in keysymdef.h.
39 // U0292: LATIN SMALL LETTER EZH. 
40 // U01B7: LATIN CAPITAL LETTER EZH.
41 // U2030: PER MILLE SIGN.
42 //        Comment: XK_MillSign is U+20A5 MILL SIGN. 
43 //                 Per mille is a generic term for 1/1000. Mill is 1/1000 of a dollar.
44 // 
45
46 partial default alphanumeric_keys
47 xkb_symbols "kotoistus" {
48
49     name[Group1]="Finland";
50
51     key <TLDE> { [  section,         onehalf,          dead_stroke,          NoSymbol             ] };
52     key <AE01> { [  1,               exclam,           NoSymbol,             exclamdown           ] };
53     key <AE02> { [  2,               quotedbl,         at,                   rightdoublequotemark ] };
54     key <AE03> { [  3,               numbersign,       sterling,             guillemotright       ] };
55     key <AE04> { [  4,               currency,         dollar,               guillemotleft        ] };
56     key <AE05> { [  5,               percent,          U2030,                leftdoublequotemark  ] };
57     key <AE06> { [  6,               ampersand,        singlelowquotemark,   doublelowquotemark   ] };
58     key <AE07> { [  7,               slash,            braceleft,            NoSymbol             ] };
59     key <AE08> { [  8,               parenleft,        bracketleft,          NoSymbol             ] };
60     key <AE09> { [  9,               parenright,       bracketright,         NoSymbol             ] };
61     key <AE10> { [  0,               equal,            braceright,           degree               ] };
62     key <AE11> { [  plus,            question,         backslash,            questiondown         ] };
63     key <AE12> { [  dead_acute,      dead_grave,       dead_cedilla,         dead_ogonek          ] };
64     key <AD01> { [  q,               Q,                q,                    Q                    ] };
65     key <AD02> { [  w,               W,                w,                    W                    ] };
66     key <AD03> { [  e,               E,                EuroSign,             NoSymbol             ] };
67     key <AD04> { [  r,               R,                r,                    R                    ] };
68     key <AD05> { [  t,               T,                thorn,                THORN                ] };
69     key <AD06> { [  y,               Y,                y,                    Y                    ] };
70     key <AD07> { [  u,               U,                u,                    U                    ] };
71     key <AD08> { [  i,               I,                idotless,             NoSymbol             ] };
72     key <AD09> { [  o,               O,                oe,                   OE                   ] };
73     key <AD10> { [  p,               P,                dead_horn,            dead_hook            ] };
74     key <AD11> { [  aring,           Aring,            dead_doubleacute,     dead_abovering       ] };
75     key <AD12> { [  dead_diaeresis,  dead_circumflex,  dead_tilde,           dead_macron          ] };
76     key <AC01> { [  a,               A,                schwa,                SCHWA                ] };
77     key <AC02> { [  s,               S,                ssharp,               NoSymbol             ] };
78     key <AC03> { [  d,               D,                eth,                  ETH                  ] };
79     key <AC04> { [  f,               F,                f,                    F                    ] };
80     key <AC05> { [  g,               G,                g,                    G                    ] };
81     key <AC06> { [  h,               H,                h,                    H                    ] };
82     key <AC07> { [  j,               J,                j,                    J                    ] };
83     key <AC08> { [  k,               K,                kra,                  NoSymbol             ] };
84     key <AC09> { [  l,               L,                dead_stroke,          NoSymbol             ] };
85     key <AC10> { [  odiaeresis,      Odiaeresis,       oslash,               Ooblique             ] };
86     key <AC11> { [  adiaeresis,      Adiaeresis,       ae,                   AE                   ] };
87     key <BKSL> { [  apostrophe,      asterisk,         dead_caron,           dead_breve           ] };
88     key <LSGT> { [  less,            greater,          bar,                  NoSymbol             ] };
89     key <AB01> { [  z,               Z,                U0292,                U01B7                ] };
90     key <AB02> { [  x,               X,                multiply,             periodcentered       ] };
91     key <AB03> { [  c,               C,                c,                    C                    ] };
92     key <AB04> { [  v,               V,                v,                    V                    ] };
93     key <AB05> { [  b,               B,                b,                    B                    ] };
94     key <AB06> { [  n,               N,                eng,                  ENG                  ] };
95     key <AB07> { [  m,               M,                mu,                   emdash               ] };
96     key <AB08> { [  comma,           semicolon,        rightsinglequotemark, leftsinglequotemark  ] };
97     key <AB09> { [  period,          colon,            dead_belowdot,        dead_abovedot        ] };
98     key <AB10> { [  minus,           underscore,       endash,               dead_abovedot        ] };
99
100     include "kpdl(comma)"
101
102     include "level3(ralt_switch)"
103
104     include "compose(rwin)"
105 };
106
107
108 partial alphanumeric_keys
109 xkb_symbols "classic" {
110     include "latin(type2)"
111     include "fi(fi)"
112
113     name[Group1]="Finland - Classic";
114 };
115
116 hidden partial alphanumeric_keys
117 xkb_symbols "fi" {
118
119     // a Finnish keyboard with dead key support and all of
120     // ISO-8859-1 and ISO-8859-15 characters available.
121
122     key <TLDE> { [ section,    onehalf,     onequarter,   threequarters ] };
123     key <LSGT> { [    less,    greater,            bar,       brokenbar ] };
124     // AltGr+<SPCE> is pressed accidentally too often after AltGr+<LSGT>,
125     // hence AltGr+<SPCE> produces now space, not nobreakspace.
126     key <SPCE> { [   space,      space,          space,    nobreakspace ] };
127     key <AE01> { [       1,     exclam,     exclamdown,     onesuperior ] };
128     key <AE02> { [       2,   quotedbl,             at,     twosuperior ] };
129     key <AE03> { [       3, numbersign,       sterling,   threesuperior ] };
130     key <AE04> { [       4,   currency,         dollar,            cent ] };
131     key <AE05> { [       5,    percent,       EuroSign,       masculine ] };
132     key <AE06> { [       6,  ampersand,            yen,     ordfeminine ] };
133     key <AE07> { [       7,      slash,      braceleft,       plusminus ] };
134     key <AE08> { [       8,  parenleft,    bracketleft,   guillemotleft ] };
135     key <AE09> { [       9, parenright,   bracketright,  guillemotright ] };
136     key <AE10> { [       0,      equal,     braceright,          degree ] };
137     key <AB09> { [  period,      colon, periodcentered,         notsign ] };
138     key <AB01> { [       z,          Z,         zcaron,          Zcaron ] };
139     key <AB02> { [       x,          X,       multiply,        division ] };
140     key <AB03> { [       c,          C,      copyright,            cent ] };
141     key <AB05> { [       b,          B,         ssharp,        NoSymbol ] };
142     key <AB06> { [       n,          N,         ntilde,          Ntilde ] };
143     key <AB07> { [       m,          M,             mu,        NoSymbol ] };
144     key <AB10> { [   minus, underscore,         hyphen,     dead_macron ] };
145     key <AC02> { [       s,          S,         scaron,          Scaron ] };
146     key <AC03> { [       d,          D,            eth,             ETH ] };
147     key <AD03> { [       e,          E,       EuroSign,            cent ] };
148     key <AD04> { [       r,          R,     registered,        NoSymbol ] };
149     key <AD05> { [       t,          T,          thorn,           THORN ] };
150     key <AD10> { [       p,          P,      paragraph,        NoSymbol ] };
151     key <AC10> { [ odiaeresis, Odiaeresis,      oslash,        Ooblique ] };
152     key <AE11> { [    plus,      question,   backslash,    questiondown ] };
153     key <AC11> { [ adiaeresis, Adiaeresis,         ae,               AE ] };
154     key <BKSL> { [ apostrophe,   asterisk ] };
155     key <AD11> { [   aring,         Aring,         oe,               OE ] };
156     key <AE12> { [ dead_acute, dead_grave ] };
157     key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] };
158
159     // End alphanumeric section, begin "Keypad"
160     include "kpdl(comma)"
161     // End "Keypad" section
162
163     include "level3(ralt_switch)"
164 };
165
166 partial alphanumeric_keys
167 xkb_symbols "nodeadkeys" {
168     include "latin(type2)"
169     include "latin(type2_nodeadkeys)"
170     include "fi(fi)"
171
172     name[Group1]="Finland - Eliminate dead keys";
173
174     key <AE12> { [     acute,       grave ] };
175     key <AD12> { [ diaeresis, asciicircum, asciitilde,  caron ] };
176     key <AB10> { [     minus,  underscore,     hyphen, macron ] };
177 };
178
179 xkb_symbols "smi" {
180
181     // Describes the differences between a Norwegian Northern Sami
182     // (keyboard with dead key support) and a Swedish/Finnish Sami
183     // keyboard according to the specs at:
184     // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
185
186     include "no(smi)"
187
188     name[Group1]= "Finland - Northern Saami";
189
190     key <AC10>  { [odiaeresis, Odiaeresis,       oslash,     Ooblique ] };
191     key <AC11>  { [adiaeresis, Adiaeresis,           ae,           AE ] };
192 };
193
194 // Copied from macintosh_vndr/fi
195 partial alphanumeric_keys 
196 xkb_symbols "mac" {
197
198     // Describes the differences between a very simple mac_US
199     // keyboard and a very simple Swedish(Finland) keybaord
200
201     include "se(mac)"
202     name[Group1]= "Finland - Macintosh";
203 };