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