summaryrefslogtreecommitdiff
path: root/symbols/fi
blob: cc3abfc74ce5670bb106e79e705cd8009718b1fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
// based on a keyboard map from an 'xkb/symbols/fi' file
//
// $XKeyboardConfig$
// $XFree86: xc/programs/xkbcomp/symbols/fi,v 1.9 2003/01/29 17:17:31 dawes Exp $


partial default alphanumeric_keys
xkb_symbols "basic" {
    include "latin(type2)"
    include "fi(fi)"
};

partial alphanumeric_keys
xkb_symbols "fi" {

    // a Finnish keyboard with dead key support and all of
    // ISO-8859-1 and ISO-8859-15 characters available.

    name[Group1]="Finland";

    key <TLDE> { [ section,    onehalf,     onequarter,   threequarters	] };
    key <LSGT> { [    less,    greater,            bar,       brokenbar	] };
    // AltGr+<SPCE> is pressed accidentally too often after AltGr+<LSGT>,
    // hence AltGr+<SPCE> produces now space, not nobreakspace.
    key <SPCE> { [   space,      space,          space,    nobreakspace	] };
    key <AE01> { [       1,     exclam,     exclamdown,     onesuperior	] };
    key <AE02> { [       2,   quotedbl,             at,     twosuperior	] };
    key <AE03> { [     	 3, numbersign,       sterling,   threesuperior	] };
    key <AE04> { [       4,   currency,         dollar,	           cent	] };
    key <AE05> { [       5,    percent,       EuroSign,	      masculine	] };
    key <AE06> { [       6,  ampersand,            yen,     ordfeminine	] };
    key <AE07> { [       7,      slash,      braceleft,       plusminus	] };
    key <AE08> { [       8,  parenleft,    bracketleft,   guillemotleft	] };
    key <AE09> { [       9, parenright,   bracketright,  guillemotright	] };
    key <AE10> { [       0,      equal,     braceright,          degree	] };
    key <AB09> { [  period,      colon, periodcentered,         notsign	] };
    key <AB01> { [       z,          Z,         zcaron,	         Zcaron	] };
    key <AB02> { [       x,          X,       multiply,	       division	] };
    key <AB03> { [       c,          C,      copyright,	           cent	] };
    key <AB05> { [       b,          B,         ssharp,        NoSymbol	] };
    key <AB06> { [       n,          N,         ntilde,	         Ntilde	] };
    key <AB07> { [       m,          M,             mu,	       NoSymbol	] };
    key <AB10> { [   minus, underscore,         hyphen,     dead_macron	] };
    key <AC02> { [       s,          S,         scaron,          Scaron	] };
    key <AC03> { [       d,          D,            eth,             ETH	] };
    key <AD03> { [       e,          E,       EuroSign,            cent	] };
    key <AD04> { [       r,          R,     registered,        NoSymbol	] };
    key <AD05> { [       t,          T,          thorn,           THORN	] };
    key <AD10> { [       p,          P,      paragraph,        NoSymbol	] };
    key <AC10> { [ odiaeresis, Odiaeresis,      oslash,        Ooblique	] };
    key <AE11> { [    plus,      question,   backslash,    questiondown	] };
    key	<AC11> { [ adiaeresis, Adiaeresis,         ae,	             AE	] };
    key <BKSL> { [ apostrophe,   asterisk ] };
    key <AD11> { [   aring,         Aring,         oe,		     OE	] };
    key <AE12> { [ dead_acute, dead_grave ] };
    key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] };

    // End alphanumeric section, begin "Keypad"
    include "keypad(comma)"
    // End "Keypad" section

    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "nodeadkeys" {
    include "latin(type2)"
    include "latin(type2_nodeadkeys)"
    include "fi(fi)"

    name[Group1]="Finland - Eliminate dead keys";

    key <AE12> { [     acute,       grave ] };
    key <AD12> { [ diaeresis, asciicircum, asciitilde,  caron ] };
    key <AB10> { [     minus,  underscore,     hyphen, macron ] };
};

xkb_symbols "smi" {

    // Describes the differences between a Norwegian Northern Sami
    // (keyboard with dead key support) and a Swedish/Finnish Sami
    // keyboard according to the specs at:
    // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html

    include "no(smi)"

    name[Group1]= "Finland - Northern Saami";

    key <AC10>	{ [odiaeresis, Odiaeresis,       oslash,     Ooblique ]	};
    key <AC11>	{ [adiaeresis, Adiaeresis,           ae,           AE ]	};
};

// Troy Korjuslommi, 
// Jan 6, 2006,
// May 5, 2006.
// May 6, 2006.
// May 12, 2006.
//
// Nov 29, 2006.
// UFE63 can be changed to dead_stroke starting with version 7.0.7. of the X server.
//
// Dec 05, 2006.
// Changed instances of NoSymbol in columns 3 and 4 to characters in columns 1 and 2.
// This fixes a bug where the mappings couldn't be changed (with xmodmap for example).
// NoSymbol left in other positions, so nothing is output from those key presses.
//
// Dec 11, 2006.
// Changed all Uxxxx values to named versions.
// If you have problems, check these defines (when compiling X):
// XK_LATIN9: oe, OE.
// XK_CURRENCY: EuroSign.
// XK_LATIN2: caron.
// XK_LATIN3: idotless.
// XK_LATIN4: kra, eng, ENG.
// XK_CAUCASUS: schwa, SCHWA.
// XK_PUBLISHING: rightdoublequotemark, leftdoublequotemark, singlelowquotemark, doublelowquotemark, emdash,
//                rightsinglequotemark, leftsinglequotemark, endash.
// 
// Unnamed positions: 
// UFE63: dead_stroke. Will be fixed, once the entry is in keysymdef.h.
// U0292: LATIN SMALL LETTER EZH. 
// U01B7: LATIN CAPITAL LETTER EZH.
// U2030: PER MILLE SIGN.
//        Comment: XK_MillSign is U+20A5 MILL SIGN. 
//                 Per mille is a generic term for 1/1000. Mill is 1/1000 of a dollar.
// 

xkb_symbols "kotoistus" {

    name[Group1]="Finland - Kotoistus";

    key <SPCE> { [  space,           space,            space,                nobreakspace         ] };
    key <TLDE> { [  section,         onehalf,          UFE63,                NoSymbol             ] };
    key <AE01> { [  1,               exclam,           NoSymbol,             exclamdown           ] };
    key <AE02> { [  2,               quotedbl,         at,                   rightdoublequotemark ] };
    key <AE03> { [  3,               numbersign,       sterling,             guillemotright       ] };
    key <AE04> { [  4,               currency,         dollar,               guillemotleft        ] };
    key <AE05> { [  5,               percent,          U2030,                leftdoublequotemark  ] };
    key <AE06> { [  6,               ampersand,        singlelowquotemark,   doublelowquotemark   ] };
    key <AE07> { [  7,               slash,            braceleft,            NoSymbol             ] };
    key <AE08> { [  8,               parenleft,        bracketleft,          NoSymbol             ] };
    key <AE09> { [  9,               parenright,       bracketright,         NoSymbol             ] };
    key <AE10> { [  0,               equal,            braceright,           degree               ] };
    key <AE11> { [  plus,            question,         backslash,            questiondown         ] };
    key <AE12> { [  dead_acute,      dead_grave,       dead_cedilla,         dead_ogonek          ] };
    key <AD01> { [  q,               Q,                q,                    Q                    ] };
    key <AD02> { [  w,               W,                w,                    W                    ] };
    key <AD03> { [  e,               E,                EuroSign,             NoSymbol             ] };
    key <AD04> { [  r,               R,                r,                    R                    ] };
    key <AD05> { [  t,               T,                thorn,                THORN                ] };
    key <AD06> { [  y,               Y,                y,                    Y                    ] };
    key <AD07> { [  u,               U,                u,                    U                    ] };
    key <AD08> { [  i,               I,                idotless,             NoSymbol             ] };
    key <AD09> { [  o,               O,                oe,                   OE                   ] };
    key <AD10> { [  p,               P,                dead_horn,            dead_hook            ] };
    key <AD11> { [  aring,           Aring,            dead_doubleacute,     dead_abovering       ] };
    key <AD12> { [  dead_diaeresis,  dead_circumflex,  dead_tilde,           dead_macron          ] };
    key <AC01> { [  a,               A,                schwa,                SCHWA                ] };
    key <AC02> { [  s,               S,                ssharp,               NoSymbol             ] };
    key <AC03> { [  d,               D,                eth,                  ETH                  ] };
    key <AC04> { [  f,               F,                f,                    F                    ] };
    key <AC05> { [  g,               G,                g,                    G                    ] };
    key <AC06> { [  h,               H,                h,                    H                    ] };
    key <AC07> { [  j,               J,                j,                    J                    ] };
    key <AC08> { [  k,               K,                kra,                  NoSymbol             ] };
    key <AC09> { [  l,               L,                UFE63,                NoSymbol             ] };
    key <AC10> { [  odiaeresis,      Odiaeresis,       oslash,               Ooblique             ] };
    key <AC11> { [  adiaeresis,      Adiaeresis,       ae,                   AE                   ] };
    key <BKSL> { [  apostrophe,      asterisk,         dead_caron,           dead_breve           ] };
    key <LSGT> { [  less,            greater,          bar,                  NoSymbol             ] };
    key <AB01> { [  z,               Z,                U0292,                U01B7                ] };
    key <AB02> { [  x,               X,                multiply,             periodcentered       ] };
    key <AB03> { [  c,               C,                c,                    C                    ] };
    key <AB04> { [  v,               V,                v,                    V                    ] };
    key <AB05> { [  b,               B,                b,                    B                    ] };
    key <AB06> { [  n,               N,                eng,                  ENG                  ] };
    key <AB07> { [  m,               M,                mu,                   emdash               ] };
    key <AB08> { [  comma,           semicolon,        rightsinglequotemark, leftsinglequotemark  ] };
    key <AB09> { [  period,          colon,            dead_belowdot,        dead_abovedot        ] };
    key <AB10> { [  minus,           underscore,       endash,               dead_abovedot        ] };

    include "keypad(comma)"

    include "level3(ralt_switch)"

    include "compose(rwin)"
};

// Copied from macintosh_vndr/fi
partial alphanumeric_keys 
xkb_symbols "mac" {

    // Describes the differences between a very simple mac_US
    // keyboard and a very simple Swedish(Finland) keybaord

    include "se(mac)"
    name[Group1]= "Finland - Macintosh";
};