1 1.1 mrg // 2 1.1 mrg // This file describes the differences between a Macintosh US Extended 3 1.1 mrg // keymap and an Icelandic keyboard layout in the style of Mac OS and Mac OS X 4 1.1 mrg // 5 1.1 mrg // Copyright (C) 2004, 2006 var Arnfjr Bjarmason <avarab (a] gmail.com> 6 1.1 mrg // 7 1.1 mrg // Permission to use, copy, modify, distribute, and sell this software and its 8 1.1 mrg // documentation for any purpose is hereby granted without fee, provided that 9 1.1 mrg // the above copyright notice appear in all copies and that both that 10 1.1 mrg // copyright notice and this permission notice appear in supporting 11 1.1 mrg // documentation. 12 1.1 mrg // 13 1.1 mrg // The above copyright notice and this permission notice shall be 14 1.1 mrg // included in all copies or substantial portions of the Software. 15 1.1 mrg // 16 1.1 mrg // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 1.1 mrg // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 1.1 mrg // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 1.1 mrg // IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 1.1 mrg // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 1.1 mrg // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 1.1 mrg // OTHER DEALINGS IN THE SOFTWARE. 23 1.1 mrg // 24 1.1 mrg // Except as contained in this notice, the name of a copyright holder shall 25 1.1 mrg // not be used in advertising or otherwise to promote the sale, use or 26 1.1 mrg // other dealings in this Software without prior written authorization of 27 1.1 mrg // the copyright holder. 28 1.1 mrg // 29 1.1 mrg // = HISTORY 30 1.1 mrg // * 2004-09-28: 31 1.1 mrg // Initial cleanroom writing of the keymap, I just booted Mac OS X, opened 32 1.1 mrg // TextEdit.app and wrote down what the value produced by each key was when I 33 1.1 mrg // pressed it, a for a, A for shift + a, for lalt + a etc and made the 34 1.1 mrg // keymap from that information 35 1.1 mrg // 36 1.1 mrg // * 2006-01-14: 37 1.1 mrg // Revised the comments in the file 38 1.1 mrg // 39 1.1 mrg // = NOTES 40 1.1 mrg // * 20 characters in this keymap have no named character defined in 41 1.1 mrg // include/keysymdef.h and as a result their Unicode code points in 42 1.1 mrg // hexadecimal are listed here, these can be generated with the following 43 1.1 mrg // perl command: 44 1.1 mrg // $ perl -CA -e 'printf "U%x\n", ord shift' 45 1.1 mrg // and converted back like: 46 1.1 mrg // $ perl -CO -le '$_=shift;s/[^a-f0-9]//ig;print chr hex' Uc6 47 1.1 mrg // * The Apple logo appears twice on this keymap like the Mac OS and Mac OS X 48 1.1 mrg // keymaps. In the MacRoman encoding it has the code point 0xF0 (240) but it 49 1.1 mrg // has no assigned code point in Unicode, the code point Apple uses for it is 50 1.1 mrg // U+F8FF (63743) which is in the BMP's Private Use Area (U+E000U+F8FF) 51 1.1 mrg // * This keymap has only been tested on a PowerBook6,5 (iBook G4) but it 52 1.1 mrg // should work on other Apple laptop models which use the same keyboard 53 1.1 mrg // layout. It will probably work on standard sized keyboards with little or 54 1.1 mrg // no modification but it might not support them fully, please report if 55 1.1 mrg // you're able to get it running with such a keyboard 56 1.1 mrg 57 1.1.1.5 mrg default partial alphanumeric_keys 58 1.1 mrg xkb_symbols "basic" { 59 1.1 mrg name[Group1]= "Iceland - Mac"; 60 1.1 mrg 61 1.1 mrg //-- Row 5 (E) --// 62 1.1 mrg key <TLDE> { [ sterling, section, UF8FF, apostrophe ] }; 63 1.1 mrg key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] }; 64 1.1 mrg key <AE02> { [ 2, quotedbl, at, VoidSymbol ] }; 65 1.1 mrg key <AE03> { [ 3, numbersign, U2122, sterling ] }; 66 1.1 mrg key <AE04> { [ 4, dollar, U00A2, EuroSign ] }; 67 1.1 mrg key <AE05> { [ 5, percent, U2030, infinity ] }; 68 1.1 mrg key <AE06> { [ 6, ampersand, asciicircum, U2044 ] }; 69 1.1 mrg key <AE07> { [ 7, slash, backslash, U00F7 ] }; 70 1.1 mrg key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; 71 1.1 mrg key <AE09> { [ 9, parenright, bracketright, braceright ] }; 72 1.1 mrg key <AE10> { [ 0, equal, U2260, U2248 ] }; 73 1.1.1.6 mrg key <AE11> { [ odiaeresis, Odiaeresis, oslash, Oslash ] }; 74 1.1 mrg key <AE12> { [ minus, underscore, endash, emdash ] }; 75 1.1 mrg 76 1.1 mrg 77 1.1 mrg //-- Row 4 (D) --// 78 1.1 mrg key <AD01> { [ q, Q, paragraph, VoidSymbol ] }; 79 1.1 mrg key <AD02> { [ w, W, U2211, VoidSymbol ] }; 80 1.1 mrg key <AD03> { [ e, E, dead_grave, VoidSymbol ] }; 81 1.1 mrg key <AD04> { [ r, R, registered, VoidSymbol ] }; 82 1.1 mrg key <AD05> { [ t, T, degree, VoidSymbol ] }; 83 1.1 mrg key <AD06> { [ y, Y, yen, VoidSymbol ] }; 84 1.1 mrg key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] }; 85 1.1 mrg key <AD08> { [ i, I, U0131, U00AA ] }; 86 1.1 mrg key <AD09> { [ o, O, dead_circumflex,U00BA ] }; 87 1.1 mrg key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; 88 1.1.1.6 mrg key <AD11> { [ eth, ETH, U201e, U201c ] }; 89 1.1 mrg key <AD12> { [ apostrophe, question, questiondown, U00B7 ] }; 90 1.1 mrg 91 1.1 mrg 92 1.1 mrg //-- Row 3 (C) --// 93 1.1 mrg key <AC01> { [ a, A, aring, Aring ] }; 94 1.1 mrg key <AC02> { [ s, S, ssharp, abovedot ] }; 95 1.1 mrg key <AC03> { [ d, D, U2202, U2DA ] }; 96 1.1 mrg key <AC04> { [ f, F, U192, macron ] }; 97 1.1 mrg key <AC05> { [ g, G, copyright, breve ] }; 98 1.1 mrg key <AC06> { [ h, H, bar, VoidSymbol ] }; 99 1.1 mrg key <AC07> { [ j, J, U2206, U2dd ] }; 100 1.1 mrg key <AC08> { [ k, K, U00AC, VoidSymbol ] }; 101 1.1 mrg key <AC09> { [ l, L, U2026, caron ] }; 102 1.1 mrg key <AC10> { [ ae, AE, oe, OE ] }; 103 1.1 mrg key <AC11> { [ dead_acute, dead_diaeresis, U201A, U2018 ] }; 104 1.1 mrg key <BKSL> { [ plus, asterisk, U2022, plusminus ] }; 105 1.1 mrg 106 1.1 mrg 107 1.1 mrg //-- Row 2 (B) --// 108 1.1 mrg key <LSGT> { [ less, greater, section, UF8FF ] }; 109 1.1 mrg key <AB01> { [ z, Z, U3A9, VoidSymbol ] }; 110 1.1 mrg key <AB02> { [ x, X, asciitilde, VoidSymbol ] }; 111 1.1 mrg key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 112 1.1 mrg key <AB04> { [ v, V, U221A, U25CA ] }; 113 1.1 mrg key <AB05> { [ b, B, U222B, VoidSymbol ] }; 114 1.1 mrg key <AB06> { [ n, N, dead_tilde, VoidSymbol ] }; 115 1.1 mrg key <AB07> { [ m, M, U00B5, VoidSymbol ] }; 116 1.1 mrg key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] }; 117 1.1 mrg key <AB09> { [ period, colon, greaterthanequal,guillemotright ] }; 118 1.1.1.6 mrg key <AB10> { [ thorn, THORN, U2019, U201d ] }; 119 1.1 mrg 120 1.1 mrg include "level3(ralt_switch)" 121 1.1 mrg }; 122 1.1 mrg 123 1.1 mrg partial alphanumeric_keys 124 1.1 mrg xkb_symbols "nodeadkeys" { 125 1.1 mrg include "macintosh_vndr/is(basic)" // for consistent naming 126 1.1.1.4 mrg name[Group1]= "Iceland - Mac, no dead keys"; 127 1.1 mrg }; 128