1
// Northern Sami keyboards for Finland, Norway and Sweden
3
// Describes the differences between a very simple en_US
4
// keyboard and a Norwegian Northern Sami keyboard (with
5
// dead key support) according to the spec on
6
// http://www.hum.uit.no/a/trond/se-lat9-no-keys.html
7
// Written by B�rre Gaup <boerre.gaup@pc.nu>
9
// $XFree86: xc/programs/xkbcomp/symbols/sapmi,v 1.1 2001/11/21 21:20:55 dawes Exp $
12
// For a Norwegian Northern Sami setup:
13
// setxkbmap -layout sapmi
14
// For a Swedish/Finnish Northern Sami setup:
15
// setxkbmap -layout "sapmi(sefi)"
16
// For a Swedish/Finnish Northern Sami setup, with an en_US keyboard as Group3:
17
// setxkbmap "sapmi(sefi)+us_group3"
19
partial alphanumeric_keys
23
name[Group1]= "S�megiella";
25
key <TLDE> { [ bar, section ],
26
[ brokenbar, paragraph ]};
27
key <AE01> { [ 1, exclam ],
28
[ copyright, exclamdown ]};
29
key <AE02> { [ 2, quotedbl ],
31
key <AE03> { [ 3, numbersign ],
33
key <AE04> { [ 4, dollar ],
36
// 0x2022 BULLET and 0x2030 PER MILLE SIGN
37
key <AE05> { [ 5, percent ],
38
[ 0x01002022, 0x01002030 ]};
39
key <AE06> { [ 6, ampersand ],
40
[ section, paragraph ]};
41
key <AE07> { [ 7, slash ],
43
key <AE08> { [ 8, parenleft ],
44
[ bracketleft, braceleft ]};
45
key <AE09> { [ 9, parenright ],
46
[ bracketright, braceright ]};
47
key <AE10> { [ 0, equal ],
48
[ braceright, notequal ]};
49
key <AE11> { [ plus, question ],
50
[ division, questiondown ]};
51
key <AE12> { [ backslash, grave ],
52
[ acute, asciitilde ]};
55
key <AD01> { [ aacute, Aacute ],
57
key <AD02> { [ scaron, Scaron ],
59
key <AD03> { [ e, E ],
61
key <AD04> { [ r, R ],
62
[ registered, trademark ]};
63
key <AD05> { [ t, T ],
65
key <AD06> { [ y, Y ],
67
key <AD07> { [ u, U ],
68
[ udiaeresis, Udiaeresis ]};
69
key <AD08> { [ i, I ],
70
[ idiaeresis, Idiaeresis ]};
71
key <AD09> { [ o, O ],
73
key <AD10> { [ p, P ],
75
key <AD11> { [ aring, Aring ],
76
[ acircumflex, Acircumflex ]};
77
key <AD12> { [ eng, ENG ],
78
[ quotedbl, asciicircum ]};
80
key <AC01> { [ a, A ],
82
key <AC02> { [ s, S ],
83
[ ssharp, apostrophe ]};
84
key <AC03> { [ d, D ],
86
key <AC04> { [ f, F ],
87
[ ordfeminine, ordfeminine ]};
88
key <AC05> { [ g, G ],
90
// 0x01e5 LATIN SMALL LETTER G WITH STROKE and
91
// 0x01e4 LATIN CAPITAL LETTER G WITH STROKE
92
key <AC06> { [ h, H ],
93
[ 0x010001e5, 0x010001e4 ]};
94
key <AC07> { [ j, J ],
95
[ notsign, multiply ]};
96
// 0x01e9 LATIN SMALL LETTER K WITH CARON and
97
// 0x01e8 LATIN CAPITAL LETTER K WITH CARON
98
key <AC08> { [ k, K ],
99
[ 0x010001e9, 0x010001e8 ]};
100
key <AC09> { [ l, L ],
102
key <AC10> { [ oslash, Ooblique ],
103
[ odiaeresis, Odiaeresis ]};
104
key <AC11> { [ ae, AE ],
105
[ adiaeresis, Adiaeresis ]};
106
key <BKSL> { [ dstroke, Dstroke ],
107
[ apostrophe, asterisk ]};
109
// 0x01ef LATIN SMALL LETTER EZH WITH CARON and
110
// 0x01ee LATIN CAPITAL LETTER EZH WITH CARON
111
key <LSGT> { [ zcaron, Zcaron ],
112
[ 0x010001ef, 0x010001ee ]};
113
// 0x0292 LATIN SMALL LETTER EZH and
114
// 0x01b7 LATIN CAPITAL LETTER EZH
115
key <AB01> { [ z, Z ],
116
[ 0x01000292, 0x010001b7 ]};
117
key <AB02> { [ ccaron, Ccaron ],
119
key <AB03> { [ c, C ],
120
[ ccedilla, Ccedilla ]};
121
key <AB04> { [ v, V ],
122
[ lessthanequal, guillemotleft ]};
123
key <AB05> { [ b, B ],
124
[greaterthanequal, guillemotright ]};
125
key <AB06> { [ n, N ],
126
[leftsinglequotemark,leftdoublequotemark ]};
127
key <AB07> { [ m, M ],
128
[rightsinglequotemark,rightdoublequotemark]};
129
key <AB08> { [ comma, semicolon ],
130
[singlelowquotemark,doublelowquotemark ]};
131
key <AB09> { [ period, colon ],
132
[ ellipsis, periodcentered ]};
133
key <AB10> { [ minus, underscore ],
136
key <SPCE> { [ space, space ],
137
[ nobreakspace, nobreakspace ]};
139
// End alphanumeric section
141
// begin modifier mappings
143
modifier_map Shift { Shift_L };
144
modifier_map Lock { Caps_Lock };
145
modifier_map Control{ Control_L };
146
modifier_map Mod3 { Mode_switch };
152
// Describes the differences between a Norwegian Northern Sami
153
// (keyboard with dead key support) and a Swedish/Finnish Sami
154
// keyboard according to the specs at:
155
// http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
157
name[Group1]= "S�megiella";
159
include "sapmi(basic)"
161
key <AC10> { [ odiaeresis, Odiaeresis ],
162
[ oslash, Ooblique ]};
163
key <AC11> { [ adiaeresis, Adiaeresis ],
167
partial alphanumeric_keys
168
xkb_symbols "Sundeadkeys" {
170
// For naming consistency
172
include "sapmi(basic)"
176
partial alphanumeric_keys
177
xkb_symbols "sundeadkeys" {
179
// For naming consistency
181
include "sapmi(Sundeadkeys)"
185
partial alphanumeric_keys
186
xkb_symbols "nodeadkeys" {
188
// Modifies the basic Norwegian layout to eliminate dead keys
190
include "sapmi(basic)"
191
key <AE12> { [ backslash, grave ],