Debian Codegraph @

symbols/is

raw
1 // Keyboard layouts for Iceland.
2
3 // Icelandic keyboard layout, by Hrafnkell Eiriksson - [email protected]
4 // Fixes by Olafur Osvaldsson - [email protected] - and Bjarni Ingi Gislason.
5
6 default partial alphanumeric_keys
7 xkb_symbols "basic" {
8
9 include "latin(type4)"
10
11 name[Group1]="Icelandic";
12
13 key <TLDE> { [dead_abovering, dead_diaeresis, notsign, hyphen ] };
14 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
15 key <AE04> { [ 4, dollar, onequarter, currency ] };
16 key <AE11> { [odiaeresis, Odiaeresis, backslash, questiondown ] };
17 key <AE12> { [ minus, underscore, dead_cedilla, dead_ogonek ] };
18
19 key <AD10> { [ p, P, bar, Greek_pi ] };
20 key <AD11> { [ eth, ETH, dead_diaeresis, dead_abovering ] };
21 key <AD12> { [apostrophe, question, asciitilde, dead_macron ] };
22
23 key <AC03> { [ d, D, U201e, U201c ] };
24 key <AC10> { [ ae, AE, asciicircum, dead_doubleacute ] };
25 key <AC11> { [dead_acute, dead_acute, dead_circumflex, dead_caron ] };
26 key <BKSL> { [ plus, asterisk, grave, dead_breve ] };
27
28 key <AB10> { [ thorn, THORN, dead_belowdot, dead_abovedot ] };
29
30 include "level3(ralt_switch)"
31 };
32
33 // Copied from macintosh_vndr/is.
34 // Copyright (C) 2004, 2006 Ævar Arnfjörð Bjarmason <[email protected]>
35 xkb_symbols "mac_legacy" {
36 name[Group1]= "Icelandic (Macintosh, legacy)";
37
38 key <TLDE> { [ sterling, section, UF8FF, apostrophe ] }; // Apple logo
39 key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] };
40 key <AE02> { [ 2, quotedbl, at, VoidSymbol ] };
41 key <AE03> { [ 3, numbersign, U2122, sterling ] };
42 key <AE04> { [ 4, dollar, cent, EuroSign ] };
43 key <AE05> { [ 5, percent, permille, infinity ] };
44 key <AE06> { [ 6, ampersand, asciicircum, U2044 ] };
45 key <AE07> { [ 7, slash, backslash, division ] };
46 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
47 key <AE09> { [ 9, parenright, bracketright, braceright ] };
48 key <AE10> { [ 0, equal, U2260, U2248 ] };
49 key <AE11> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
50 key <AE12> { [ minus, underscore, endash, emdash ] };
51
52 key <AD01> { [ q, Q, paragraph, VoidSymbol ] };
53 key <AD02> { [ w, W, U2211, VoidSymbol ] };
54 key <AD03> { [ e, E, dead_grave, VoidSymbol ] };
55 key <AD04> { [ r, R, registered, VoidSymbol ] };
56 key <AD05> { [ t, T, degree, VoidSymbol ] };
57 key <AD06> { [ y, Y, yen, VoidSymbol ] };
58 key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] };
59 key <AD08> { [ i, I, idotless, ordfeminine] };
60 key <AD09> { [ o, O, dead_circumflex, masculine ] };
61 key <AD10> { [ p, P, Greek_pi, Greek_PI ] };
62 key <AD11> { [ eth, ETH, U201e, U201c ] };
63 key <AD12> { [ apostrophe, question, questiondown, periodcentered] };
64
65 key <AC01> { [ a, A, aring, Aring ] };
66 key <AC02> { [ s, S, ssharp, abovedot ] };
67 key <AC03> { [ d, D, U2202, U02DA ] };
68 key <AC04> { [ f, F, function, macron ] };
69 key <AC05> { [ g, G, copyright, breve ] };
70 key <AC06> { [ h, H, bar, VoidSymbol ] };
71 key <AC07> { [ j, J, U2206, doubleacute] };
72 key <AC08> { [ k, K, notsign, VoidSymbol ] };
73 key <AC09> { [ l, L, U2026, caron ] };
74 key <AC10> { [ ae, AE, oe, OE ] };
75 key <AC11> { [ dead_acute, dead_diaeresis, U201A, U2018 ] };
76 key <BKSL> { [ plus, asterisk, U2022, plusminus ] };
77
78 key <LSGT> { [ less, greater, section, UF8FF ] }; // Apple logo
79 key <AB01> { [ z, Z, Greek_OMEGA, VoidSymbol ] };
80 key <AB02> { [ x, X, asciitilde, VoidSymbol ] };
81 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
82 key <AB04> { [ v, V, U221A, U25CA ] };
83 key <AB05> { [ b, B, U222B, VoidSymbol ] };
84 key <AB06> { [ n, N, dead_tilde, VoidSymbol ] };
85 key <AB07> { [ m, M, mu, VoidSymbol ] };
86 key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] };
87 key <AB09> { [ period, colon, greaterthanequal, guillemotright ] };
88 key <AB10> { [ thorn, THORN, U2019, U201d ] };
89
90 include "level3(ralt_switch)"
91 };
92
93 // Layout for newer Apple laptop and Aluminium keyboards (A1243/A1255 and later).
94 // Copyright (C) 2013 Ævar Arnfjörð Bjarmason <[email protected]>
95 partial alphanumeric_keys
96 xkb_symbols "mac" {
97 name[Group1]= "Icelandic (Macintosh)";
98
99 key <TLDE> { [ degree, dead_diaeresis, oslash, Oslash ] };
100 key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] };
101 key <AE02> { [ 2, quotedbl, at, VoidSymbol ] };
102 key <AE03> { [ 3, numbersign, trademark, sterling ] };
103 key <AE04> { [ 4, dollar, cent, EuroSign ] };
104 key <AE05> { [ 5, percent, permille, infinity ] };
105 key <AE06> { [ 6, ampersand, asciicircum, U2044 ] };
106 key <AE07> { [ 7, slash, braceleft, division ] };
107 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
108 key <AE09> { [ 9, parenright, bracketright, braceright ] };
109 key <AE10> { [ 0, equal, braceright, approxeq ] };
110 key <AE11> { [ odiaeresis, Odiaeresis, backslash, U2260 ] };
111 key <AE12> { [ minus, underscore, endash, emdash ] };
112
113 key <AD01> { [ q, Q, at, paragraph ] };
114 key <AD02> { [ w, W, U2211, section ] };
115 key <AD03> { [ e, E, U20AC, questiondown ] };
116 key <AD04> { [ r, R, registered, VoidSymbol ] };
117 key <AD05> { [ t, T, degree, U2022 ] };
118 key <AD06> { [ y, Y, yen, VoidSymbol ] };
119 key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] };
120 key <AD08> { [ i, I, idotless, ordfeminine ] };
121 key <AD09> { [ o, O, dead_circumflex, masculine ] };
122 key <AD10> { [ p, P, Greek_pi, Greek_PI ] };
123 key <AD11> { [ eth, ETH, doublelowquotemark, leftdoublequotemark ] };
124 key <AD12> { [ apostrophe, question, asciitilde, periodcentered ] };
125
126 key <AC01> { [ a, A, aring, Aring ] };
127 key <AC02> { [ s, S, ssharp, abovedot ] };
128 key <AC03> { [ d, D, partialderivative, U02DA ] };
129 key <AC04> { [ f, F, function, macron ] };
130 key <AC05> { [ g, G, copyright, breve ] };
131 key <AC06> { [ h, H, bar, cedilla ] };
132 key <AC07> { [ j, J, U2206, doubleacute ] };
133 key <AC08> { [ k, K, notsign, ogonek ] };
134 key <AC09> { [ l, L, ellipsis, caron ] };
135 key <AC10> { [ ae, AE, oe, OE ] };
136 key <AC11> { [ dead_acute, dead_acute, asciicircum, leftsinglequotemark ] };
137 key <BKSL> { [ plus, asterisk, grave, plusminus ] };
138
139 key <LSGT> { [ less, greater, bar, UF8FF ] }; // Apple logo
140 key <AB01> { [ z, Z, Greek_OMEGA, VoidSymbol ] };
141 key <AB02> { [ x, X, asciitilde, VoidSymbol ] };
142 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
143 key <AB04> { [ v, V, radical, U25CA ] };
144 key <AB05> { [ b, B, integral, VoidSymbol ] };
145 key <AB06> { [ n, N, dead_tilde, VoidSymbol ] };
146 key <AB07> { [ m, M, mu, VoidSymbol ] };
147 key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] };
148 key <AB09> { [ period, colon, greaterthanequal, guillemotright ] };
149 key <AB10> { [ thorn, THORN, rightsinglequotemark, rightdoublequotemark ] };
150
151 include "level3(ralt_switch)"
152 };
153
154 // This is a modified version of the English Dvorak layout that allows
155 // you to type all Icelandic letters under X. It's not a full attempt at
156 // nationalizing the layout as e.g. the Norwegian, Swedish and French
157 // layouts which modify the primary keys of the basic Dvorak layout
158 // extensively.
159
160 // Rather it's a simple modification of 5 keys of the US Dvorak layout,
161 // it adds Germanic/Icelandic style quotation marks („“), eth (ðÐ), ae
162 // (æÆ), endash and emdash (–—), thorn (þÞ), EuroSign (€) and the German
163 // Sharp S (ßẞ). These keys aren't used in the US version, making the
164 // Icelandic version a superset of it.
165
166 // Maybe someone else will make a "full" attempt at an Icelandic layout
167 // but I was mostly interested in continuing to type English comfortably
168 // as a primary function while being able to type the full Icelandic
169 // alphabet as a secondary function.
170 // -- Ævar Arnfjörð Bjarmason <[email protected]>
171
172 // Icelandic Dvorak
173 partial alphanumeric_keys
174 xkb_symbols "dvorak" {
175
176 include "us(dvorak)"
177 include "eurosign(4)"
178
179 name[Group1]= "Icelandic (Dvorak)";
180
181 key <AD11> { [ slash, question, U201e, U201c ] };
182 key <AC02> { [ o, O, odiaeresis, Odiaeresis ] };
183 key <AC06> { [ d, D, eth, ETH ] };
184 key <AC10> { [ s, S, ae, AE ] };
185 key <AC11> { [ minus, underscore, endash, emdash ] };
186 key <AB06> { [ b, B, ssharp, U1E9E ] };
187 key <AB10> { [ z, Z, thorn, THORN ] };
188
189 include "level3(ralt_switch)"
190 };