1154daed1Smrg//
2154daed1Smrg// This file describes the differences between a Macintosh US Extended
3154daed1Smrg// keymap and an Icelandic keyboard layout in the style of Mac OS and Mac OS X
4154daed1Smrg//
5154daed1Smrg// Copyright (C) 2004, 2006 Ævar Arnfjörð Bjarmason <avarab@gmail.com>
6154daed1Smrg//
7154daed1Smrg// Permission to use, copy, modify, distribute, and sell this software and its
8154daed1Smrg// documentation for any purpose is hereby granted without fee, provided that
9154daed1Smrg// the above copyright notice appear in all copies and that both that
10154daed1Smrg// copyright notice and this permission notice appear in supporting
11154daed1Smrg// documentation.
12154daed1Smrg//
13154daed1Smrg// The above copyright notice and this permission notice shall be
14154daed1Smrg// included in all copies or substantial portions of the Software.
15154daed1Smrg//
16154daed1Smrg// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17154daed1Smrg// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18154daed1Smrg// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19154daed1Smrg// IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
20154daed1Smrg// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21154daed1Smrg// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22154daed1Smrg// OTHER DEALINGS IN THE SOFTWARE.
23154daed1Smrg//
24154daed1Smrg// Except as contained in this notice, the name of a copyright holder shall
25154daed1Smrg// not be used in advertising or otherwise to promote the sale, use or
26154daed1Smrg// other dealings in this Software without prior written authorization of
27154daed1Smrg// the copyright holder.
28154daed1Smrg//
29154daed1Smrg// = HISTORY
30154daed1Smrg// * 2004-09-28:
31154daed1Smrg//   Initial cleanroom writing of the keymap, I just booted Mac OS X, opened
32154daed1Smrg//   TextEdit.app and wrote down what the value produced by each key was when I
33154daed1Smrg//   pressed it, a for a, A for shift + a, å for lalt + a etc and made the
34154daed1Smrg//   keymap from that information
35154daed1Smrg//
36154daed1Smrg// * 2006-01-14:
37154daed1Smrg//   Revised the comments in the file
38154daed1Smrg//
39154daed1Smrg// = NOTES
40154daed1Smrg// * 20 characters in this keymap have no named character defined in
41154daed1Smrg//   include/keysymdef.h and as a result their Unicode code points in
42154daed1Smrg//   hexadecimal are listed here, these can be generated with the following
43154daed1Smrg//   perl command:
44154daed1Smrg//     $ perl -CA -e 'printf "U%x\n", ord shift' Æ
45154daed1Smrg//   and converted back like:
46154daed1Smrg//     $ perl -CO -le '$_=shift;s/[^a-f0-9]//ig;print chr hex' Uc6
47154daed1Smrg// * The Apple logo appears twice on this keymap like the Mac OS and Mac OS X
48154daed1Smrg//   keymaps. In the MacRoman encoding it has the code point 0xF0 (240) but it
49154daed1Smrg//   has no assigned code point in Unicode, the code point Apple uses for it is
50154daed1Smrg//   U+F8FF (63743) which is in the BMP's Private Use Area (U+E000–U+F8FF)
51154daed1Smrg// * This keymap has only been tested on a PowerBook6,5 (iBook G4) but it
52154daed1Smrg//   should work on other Apple laptop models which use the same keyboard
53154daed1Smrg//   layout. It will probably work on standard sized keyboards with little or
54154daed1Smrg//   no modification but it might not support them fully, please report if
55154daed1Smrg//   you're able to get it running with such a keyboard
56154daed1Smrg
578157b447Smrgdefault partial alphanumeric_keys
58154daed1Smrgxkb_symbols "basic" {
59154daed1Smrg    name[Group1]= "Iceland - Mac";
60154daed1Smrg
61154daed1Smrg	//-- Row 5 (E) --//
62154daed1Smrg	key <TLDE> {	[	sterling,	section, 	UF8FF,		apostrophe	]	};
63154daed1Smrg	key <AE01> {	[	1,		exclam, 	exclamdown,	VoidSymbol	]	};
64154daed1Smrg	key <AE02> {	[	2,		quotedbl, 	at,		VoidSymbol	]	};
65154daed1Smrg	key <AE03> {	[	3,		numbersign, 	U2122,		sterling	]	};
66154daed1Smrg	key <AE04> {	[	4,		dollar, 	U00A2,		EuroSign	]	};
67154daed1Smrg	key <AE05> {	[	5,		percent, 	U2030,		infinity	]	};
68154daed1Smrg	key <AE06> {	[	6,		ampersand, 	asciicircum,	U2044		]	};
69154daed1Smrg	key <AE07> {	[	7,		slash, 	backslash,	U00F7		]	};
70154daed1Smrg	key <AE08> {	[	8,		parenleft, 	bracketleft,	braceleft	]	};
71154daed1Smrg	key <AE09> {	[	9,		parenright, 	bracketright,	braceright	]	};
72154daed1Smrg	key <AE10> {	[	0,		equal, 	U2260,		U2248		]	};
7346185892Smrg	key <AE11> {	[	odiaeresis,	Odiaeresis, 	oslash,		Oslash		]	};
74154daed1Smrg	key <AE12> {	[	minus,		underscore, 	endash,		emdash		]	};
75154daed1Smrg
76154daed1Smrg	
77154daed1Smrg	//-- Row 4 (D) --//
78154daed1Smrg	key <AD01> {	[	q,		Q, 	paragraph,	VoidSymbol	]	};
79154daed1Smrg	key <AD02> {	[	w,		W, 	U2211,		VoidSymbol	]	};
80154daed1Smrg	key <AD03> {	[	e,		E, 	dead_grave,	VoidSymbol	]	};
81154daed1Smrg	key <AD04> {	[	r,		R, 	registered,	VoidSymbol	]	};
82154daed1Smrg	key <AD05> {	[	t,		T, 	degree,		VoidSymbol	]	};
83154daed1Smrg	key <AD06> {	[	y,		Y, 	yen,		VoidSymbol	]	};
84154daed1Smrg	key <AD07> {	[	u,		U, 	dead_diaeresis,	VoidSymbol	]	};
85154daed1Smrg	key <AD08> {	[	i,		I, 	U0131,		U00AA		]	};
86154daed1Smrg	key <AD09> {	[	o,		O, 	dead_circumflex,U00BA		]	};
87154daed1Smrg	key <AD10> {	[	p,		P, 	Greek_pi,	Greek_PI	]	};
8846185892Smrg	key <AD11> {	[	eth,		ETH,		U201e,		U201c		]	};
89154daed1Smrg	key <AD12> {	[	apostrophe,	question, 	questiondown,	U00B7		]	};
90154daed1Smrg	
91154daed1Smrg	
92154daed1Smrg	//-- Row 3 (C) --//
93154daed1Smrg	key <AC01> {	[	a,		A, 	aring,		Aring		]	};
94154daed1Smrg	key <AC02> {	[	s,		S, 	ssharp,		abovedot	]	};
95154daed1Smrg	key <AC03> {	[	d,		D, 	U2202,		U2DA		]	};
96154daed1Smrg	key <AC04> {	[	f,		F, 	U192,		macron		]	};
97154daed1Smrg	key <AC05> {	[	g,		G, 	copyright,	breve		]	};
98154daed1Smrg	key <AC06> {	[	h,		H, 	bar,		VoidSymbol	]	};
99154daed1Smrg	key <AC07> {	[	j,		J, 	U2206,		U2dd		]	};
100154daed1Smrg	key <AC08> {	[	k,		K, 	U00AC,		VoidSymbol	]	};
101154daed1Smrg	key <AC09> {	[	l,		L, 	U2026,		caron		]	};
102154daed1Smrg	key <AC10> {	[	ae,		AE, 	oe,		OE		]	};
103154daed1Smrg	key <AC11> {	[	dead_acute,	dead_diaeresis, 	U201A,		U2018		]	};
104154daed1Smrg	key <BKSL> {	[	plus,		asterisk, 	U2022,		plusminus	]	};
105154daed1Smrg	
106154daed1Smrg	
107154daed1Smrg	//-- Row 2  (B) --//
108154daed1Smrg	key <LSGT> {	[	less,		greater, 	section,	UF8FF		]	};
109154daed1Smrg	key <AB01> {	[	z,		Z, 	U3A9,		VoidSymbol	]	};
110154daed1Smrg	key <AB02> {	[	x,		X, 	asciitilde,	VoidSymbol	]	};
111154daed1Smrg	key <AB03> {	[	c,		C, 	ccedilla,	Ccedilla	]	};
112154daed1Smrg	key <AB04> {	[	v,		V, 	U221A,		U25CA		]	};
113154daed1Smrg	key <AB05> {	[	b,		B, 	U222B,		VoidSymbol	]	};
114154daed1Smrg	key <AB06> {	[	n,		N, 	dead_tilde,	VoidSymbol	]	};
115154daed1Smrg	key <AB07> {	[	m,		M, 	U00B5,		VoidSymbol	]	};
116154daed1Smrg	key <AB08> {	[	comma,		semicolon, 	lessthanequal,	guillemotleft	]	};
117154daed1Smrg	key <AB09> {	[	period,		colon, 	greaterthanequal,guillemotright	]	};
11846185892Smrg	key <AB10> {	[	thorn,		THORN, 	U2019,		U201d		]	};
119154daed1Smrg
120154daed1Smrg    include "level3(ralt_switch)"
121154daed1Smrg};
122154daed1Smrg
123154daed1Smrgpartial alphanumeric_keys
124154daed1Smrgxkb_symbols "nodeadkeys" {
125154daed1Smrg    include	"macintosh_vndr/is(basic)" // for consistent naming
1269184b9c8Smrg    name[Group1]= "Iceland - Mac, no dead keys";
127154daed1Smrg};
128