is revision 1.1.1.10 1 // based on
2 // XKB keyboard by Hrafnkell Eiriksson - hkelle (a] rhi.hi.is
3 // fixes by Olafur Osvaldsson - oli (a] isnic.is
4 //
5 // "basic" corrected according to the Icelandic standard for keyboards,
6 // IST 125:1995 (some symbols substituted by a dead diacritic).
7 // Some positions are according to IST ISO/IEC 9995-3:1994
8 // Added nobreakspace
9
10 default partial alphanumeric_keys
11 xkb_symbols "basic" {
12
13 include "latin(type4)"
14
15 name[Group1]="Icelandic";
16
17 // <AE00> = <TLDE>
18 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
19 key <AE04> { [ 4, dollar, onequarter, currency ] };
20 key <AE11> { [odiaeresis, Odiaeresis, backslash, questiondown ] };
21 key <AE12> { [ minus, underscore, dead_cedilla, dead_ogonek ] };
22
23 key <AD11> { [ eth, ETH, dead_diaeresis, dead_abovering ] };
24 key <AD12> { [apostrophe, question, asciitilde, dead_macron ] };
25
26 key <AC10> { [ ae, AE, asciicircum, dead_doubleacute ] };
27 key <AC11> { [dead_acute, dead_acute, dead_circumflex, dead_caron ] };
28 key <TLDE> { [dead_abovering, dead_diaeresis, notsign, hyphen ] };
29
30 // <AC12> = <BKSL>
31 key <BKSL> { [ plus, asterisk, grave, dead_breve ] };
32
33 // <AB00> = <LSGT>, is in file "pc": pc105
34 key <AB10> { [ thorn, THORN, dead_belowdot, dead_abovedot ] };
35
36 key <SPCE> { [ space, space, space, space ] };
37
38 include "level3(ralt_switch)"
39 };
40
41 partial alphanumeric_keys
42 xkb_symbols "Sundeadkeys" {
43
44 // modify the basic Icelandic layout to use Sun dead keys
45
46 include "is(basic)"
47
48 name[Group1]="Icelandic (Sun dead keys)";
49
50 key <TLDE> { [dead_circumflex, degree, notsign, notsign ] };
51 key <AE12> { [dead_acute, dead_grave, dead_cedilla, dead_cedilla ] };
52 key <AD11> { [udiaeresis, Udiaeresis, dead_diaeresis, dead_diaeresis ] };
53 key <AD12> { [ plus, asterisk, dead_tilde, dead_macron ] };
54 key <AC10> { [odiaeresis, Odiaeresis, dead_acute, dead_acute ] };
55 key <AC11> { [adiaeresis, Adiaeresis, dead_circumflex, dead_circumflex ] };
56 key <BKSL> { [numbersign, acute, dead_grave, dead_grave ] };
57 };
58
59 partial alphanumeric_keys
60 xkb_symbols "nodeadkeys" {
61
62 // modify the basic Icelandic layout to not have any dead keys
63
64 include "is(basic)"
65
66 name[Group1]="Icelandic (eliminate dead keys)";
67
68 key <TLDE> { [asciicircum, degree, notsign, notsign ] };
69 key <AE12> { [apostrophe, grave, cedilla, cedilla ] };
70 key <AD11> { [udiaeresis, Udiaeresis, diaeresis, diaeresis ] };
71 key <AD12> { [ plus, asterisk, asciitilde, macron ] };
72 key <AC10> { [odiaeresis, Odiaeresis, acute, acute ] };
73 key <AC11> { [adiaeresis, Adiaeresis, asciicircum, asciicircum ] };
74 key <BKSL> { [numbersign, acute, grave, grave ] };
75 key <AB10> { [ thorn, THORN, dead_belowdot, abovedot ] };
76 };
77
78 // Copyright (C) 2004, 2006 var Arnfjr Bjarmason <avarab (a] gmail.com>
79 //
80 // = HISTORY
81 // * 2004-09-28:
82 // Initial cleanroom writing of the keymap, I just booted Mac OS X, opened
83 // TextEdit.app and wrote down what the value produced by each key was when I
84 // pressed it, a for a, A for shift + a, for lalt + a etc and made the
85 // keymap from that information
86 //
87 // * 2006-01-14:
88 // Revised the comments in the file
89 //
90 // = NOTES
91 // * 20 characters in this keymap have no named character defined in
92 // include/keysymdef.h and as a result their Unicode code points in
93 // hexadecimal are listed here, these can be generated with the following
94 // perl command:
95 // $ perl -CA -e 'printf "U%x\n", ord shift'
96 // and converted back like:
97 // $ perl -CO -le '$_=shift;s/[^a-f0-9]//ig;print chr hex' Uc6
98 // * The Apple logo appears twice on this keymap like the Mac OS and Mac OS X
99 // keymaps. In the MacRoman encoding it has the code point 0xF0 (240) but it
100 // has no assigned code point in Unicode, the code point Apple uses for it is
101 // U+F8FF (63743) which is in the BMP's Private Use Area (U+E000U+F8FF)
102 // * This keymap has only been tested on a PowerBook6,5 (iBook G4) but it
103 // should work on other Apple laptop models which use the same keyboard
104 // layout. It will probably work on standard sized keyboards with little or
105 // no modification but it might not support them fully, please report if
106 // you're able to get it running with such a keyboard
107
108 // Copied from macintosh_vndr/is
109 partial alphanumeric_keys
110 xkb_symbols "mac" {
111 name[Group1]= "Icelandic (Macintosh)";
112
113 //-- Row 5 (E) --//
114 key <TLDE> { [ sterling, section, UF8FF, apostrophe ] };
115 key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] };
116 key <AE02> { [ 2, quotedbl, at, VoidSymbol ] };
117 key <AE03> { [ 3, numbersign, U2122, sterling ] };
118 key <AE04> { [ 4, dollar, U00A2, EuroSign ] };
119 key <AE05> { [ 5, percent, U2030, infinity ] };
120 key <AE06> { [ 6, ampersand, asciicircum, U2044 ] };
121 key <AE07> { [ 7, slash, backslash, U00F7 ] };
122 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
123 key <AE09> { [ 9, parenright, bracketright, braceright ] };
124 key <AE10> { [ 0, equal, U2260, U2248 ] };
125 key <AE11> { [ odiaeresis, Odiaeresis, oslash, Ooblique ] };
126 key <AE12> { [ minus, underscore, endash, emdash ] };
127
128
129 //-- Row 4 (D) --//
130 key <AD01> { [ q, Q, paragraph, VoidSymbol ] };
131 key <AD02> { [ w, W, U2211, VoidSymbol ] };
132 key <AD03> { [ e, E, dead_grave, VoidSymbol ] };
133 key <AD04> { [ r, R, registered, VoidSymbol ] };
134 key <AD05> { [ t, T, degree, VoidSymbol ] };
135 key <AD06> { [ y, Y, yen, VoidSymbol ] };
136 key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] };
137 key <AD08> { [ i, I, U0131, U00AA ] };
138 key <AD09> { [ o, O, dead_circumflex,U00BA ] };
139 key <AD10> { [ p, P, Greek_pi, Greek_PI ] };
140 key <AD11> { [ eth, Eth, U201e, U201c ] };
141 key <AD12> { [ apostrophe, question, questiondown, U00B7 ] };
142
143
144 //-- Row 3 (C) --//
145 key <AC01> { [ a, A, aring, Aring ] };
146 key <AC02> { [ s, S, ssharp, abovedot ] };
147 key <AC03> { [ d, D, U2202, U2DA ] };
148 key <AC04> { [ f, F, U192, macron ] };
149 key <AC05> { [ g, G, copyright, breve ] };
150 key <AC06> { [ h, H, bar, VoidSymbol ] };
151 key <AC07> { [ j, J, U2206, U2dd ] };
152 key <AC08> { [ k, K, U00AC, VoidSymbol ] };
153 key <AC09> { [ l, L, U2026, caron ] };
154 key <AC10> { [ ae, AE, oe, OE ] };
155 key <AC11> { [ dead_acute, dead_diaeresis, U201A, U2018 ] };
156 key <BKSL> { [ plus, asterisk, U2022, plusminus ] };
157
158
159 //-- Row 2 (B) --//
160 key <LSGT> { [ less, greater, section, UF8FF ] };
161 key <AB01> { [ z, Z, U3A9, VoidSymbol ] };
162 key <AB02> { [ x, X, asciitilde, VoidSymbol ] };
163 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
164 key <AB04> { [ v, V, U221A, U25CA ] };
165 key <AB05> { [ b, B, U222B, VoidSymbol ] };
166 key <AB06> { [ n, N, dead_tilde, VoidSymbol ] };
167 key <AB07> { [ m, M, U00B5, VoidSymbol ] };
168 key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] };
169 key <AB09> { [ period, colon, greaterthanequal,guillemotright ] };
170 key <AB10> { [ thorn, Thorn, U2019, U201d ] };
171
172 include "level3(ralt_switch)"
173 };
174
175 // This is a modified version of the English Dvorak layout that allows
176 // you to type all Icelandic letters under X. It's not a full attempt at
177 // nationalizing the layout as e.g. the Norwegian, Swedish and French
178 // layouts which modify the primary keys of the basic Dvorak layout
179 // extensively.
180
181 // Rather it's a simple modification of 5 keys of the US Dvorak layout,
182 // it adds Germanic/Icelandic style quotation marks (), eth (), ae
183 // (), endash and emdash (), thorn (), EuroSign () and the German
184 // Sharp S (). These keys aren't used in the US version, making the
185 // Icelandic version a superset of it.
186
187 // Maybe someone else will make a "full" attempt at an Icelandic layout
188 // but I was mostly interested in continuing to type English comfortably
189 // as a primary function while being able to type the full Icelandic
190 // alphabet as a secondary function.
191 // -- var Arnfjr Bjarmason <avarab (a] gmail.com>
192
193 // Icelandic Dvorak
194 partial alphanumeric_keys
195 xkb_symbols "dvorak" {
196
197 include "us(dvorak)"
198 include "eurosign(4)"
199
200 name[Group1]= "Icelandic (Dvorak)";
201
202 key <AD11> { [ slash, question, U201e, U201c ] };
203 key <AC06> { [ d, D, eth, ETH ] };
204 key <AC10> { [ s, S, ae, AE ] };
205 key <AC11> { [ minus, underscore, endash, emdash ] };
206 key <AB10> { [ z, Z, thorn, Thorn ] };
207 key <AB06> { [ b, B, ssharp, U1E9E ] };
208
209 include "level3(ralt_switch)"
210 };
211