is revision 47fb91fe
15a35480eSmrg// $XKeyboardConfig$ 2154daed1Smrg 3154daed1Smrg// based on 4154daed1Smrg// XKB keyboard by Hrafnkell Eiriksson - hkelle@rhi.hi.is 5154daed1Smrg// fixes by Olafur Osvaldsson - oli@isnic.is 6154daed1Smrg// 7154daed1Smrg// $XFree86: xc/programs/xkbcomp/symbols/is,v 1.3 2002/11/26 01:57:25 dawes Exp $ 8154daed1Smrg 9154daed1Smrgdefault partial alphanumeric_keys 10154daed1Smrgxkb_symbols "basic" { 11154daed1Smrg 12154daed1Smrg include "latin(type4)" 13154daed1Smrg 14154daed1Smrg name[Group1]="Iceland"; 15154daed1Smrg 16154daed1Smrg key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] }; 17154daed1Smrg key <AE04> { [ 4, dollar, onequarter, currency ] }; 18154daed1Smrg key <AE11> { [odiaeresis, Odiaeresis, backslash, questiondown ] }; 19154daed1Smrg key <AE12> { [ minus, underscore, ccedilla, dead_ogonek ] }; 20154daed1Smrg 21154daed1Smrg key <AD11> { [ eth, ETH, dead_diaeresis, dead_abovering ] }; 22154daed1Smrg key <AD12> { [apostrophe, question, asciitilde, dead_macron ] }; 23154daed1Smrg 24154daed1Smrg key <AC10> { [ ae, AE, asciicircum, dead_doubleacute ] }; 255a35480eSmrg key <AC11> { [dead_acute, dead_circumflex, dead_circumflex ] }; 26154daed1Smrg key <TLDE> { [ degree, diaeresis, notsign, notsign ] }; 27154daed1Smrg 28154daed1Smrg key <BKSL> { [ plus, asterisk, grave, dead_breve ] }; 29154daed1Smrg key <AB10> { [ thorn, THORN, dead_belowdot, dead_abovedot ] }; 30154daed1Smrg 31154daed1Smrg include "level3(ralt_switch)" 32154daed1Smrg}; 33154daed1Smrg 34154daed1Smrgpartial alphanumeric_keys 35154daed1Smrgxkb_symbols "Sundeadkeys" { 36154daed1Smrg 37154daed1Smrg // modify the basic Icelandic layout to use Sun dead keys 38154daed1Smrg 39154daed1Smrg include "is(basic)" 40154daed1Smrg 41154daed1Smrg name[Group1]="Iceland - Sun dead keys"; 42154daed1Smrg 43c067fea9Sghen key <TLDE> { [dead_circumflex, degree, notsign, notsign ] }; 44c067fea9Sghen key <AE12> { [dead_acute, dead_grave, dead_cedilla, dead_cedilla ] }; 45c067fea9Sghen key <AD11> { [udiaeresis, Udiaeresis, dead_diaeresis, dead_diaeresis ] }; 46c067fea9Sghen key <AD12> { [ plus, asterisk, dead_tilde, dead_macron ] }; 47c067fea9Sghen key <AC10> { [odiaeresis, Odiaeresis, dead_acute, dead_acute ] }; 48c067fea9Sghen key <AC11> { [adiaeresis, Adiaeresis, dead_circumflex, dead_circumflex ] }; 49c067fea9Sghen key <BKSL> { [numbersign, acute, dead_grave, dead_grave ] }; 50154daed1Smrg}; 51154daed1Smrg 52154daed1Smrgpartial alphanumeric_keys 53154daed1Smrgxkb_symbols "nodeadkeys" { 54154daed1Smrg 55154daed1Smrg // modify the basic Icelandic layout to not have any dead keys 56154daed1Smrg 57154daed1Smrg include "is(basic)" 58154daed1Smrg 59154daed1Smrg name[Group1]="Iceland - Eliminate dead keys"; 60154daed1Smrg 61154daed1Smrg key <TLDE> { [asciicircum, degree, notsign, notsign ] }; 62154daed1Smrg key <AE12> { [apostrophe, grave, cedilla, cedilla ] }; 63154daed1Smrg key <AD11> { [udiaeresis, Udiaeresis, diaeresis, diaeresis ] }; 64154daed1Smrg key <AD12> { [ plus, asterisk, asciitilde, macron ] }; 65154daed1Smrg key <AC10> { [odiaeresis, Odiaeresis, acute, acute ] }; 66154daed1Smrg key <AC11> { [adiaeresis, Adiaeresis, asciicircum, asciicircum ] }; 67154daed1Smrg key <BKSL> { [numbersign, acute, grave, grave ] }; 68154daed1Smrg key <AB10> { [ thorn, THORN, dead_belowdot, abovedot ] }; 69154daed1Smrg}; 70154daed1Smrg 71154daed1Smrg// Copyright (C) 2004, 2006 Ævar Arnfjörð Bjarmason <avarab@gmail.com> 72154daed1Smrg// 73154daed1Smrg// = HISTORY 74154daed1Smrg// * 2004-09-28: 75154daed1Smrg// Initial cleanroom writing of the keymap, I just booted Mac OS X, opened 76154daed1Smrg// TextEdit.app and wrote down what the value produced by each key was when I 77154daed1Smrg// pressed it, a for a, A for shift + a, å for lalt + a etc and made the 78154daed1Smrg// keymap from that information 79154daed1Smrg// 80154daed1Smrg// * 2006-01-14: 81154daed1Smrg// Revised the comments in the file 82154daed1Smrg// 83154daed1Smrg// = NOTES 84154daed1Smrg// * 20 characters in this keymap have no named character defined in 85154daed1Smrg// include/keysymdef.h and as a result their Unicode code points in 86154daed1Smrg// hexadecimal are listed here, these can be generated with the following 87154daed1Smrg// perl command: 88154daed1Smrg// $ perl -CA -e 'printf "U%x\n", ord shift' Æ 89154daed1Smrg// and converted back like: 90154daed1Smrg// $ perl -CO -le '$_=shift;s/[^a-f0-9]//ig;print chr hex' Uc6 91154daed1Smrg// * The Apple logo appears twice on this keymap like the Mac OS and Mac OS X 92154daed1Smrg// keymaps. In the MacRoman encoding it has the code point 0xF0 (240) but it 93154daed1Smrg// has no assigned code point in Unicode, the code point Apple uses for it is 94154daed1Smrg// U+F8FF (63743) which is in the BMP's Private Use Area (U+E000–U+F8FF) 95154daed1Smrg// * This keymap has only been tested on a PowerBook6,5 (iBook G4) but it 96154daed1Smrg// should work on other Apple laptop models which use the same keyboard 97154daed1Smrg// layout. It will probably work on standard sized keyboards with little or 98154daed1Smrg// no modification but it might not support them fully, please report if 99154daed1Smrg// you're able to get it running with such a keyboard 100154daed1Smrg 101154daed1Smrg// Copied from macintosh_vndr/is 102154daed1Smrgpartial alphanumeric_keys 103154daed1Smrgxkb_symbols "mac" { 104154daed1Smrg name[Group1]= "Iceland - Macintosh"; 105154daed1Smrg 106154daed1Smrg //-- Row 5 (E) --// 107154daed1Smrg key <TLDE> { [ sterling, section, UF8FF, apostrophe ] }; 108154daed1Smrg key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] }; 109154daed1Smrg key <AE02> { [ 2, quotedbl, at, VoidSymbol ] }; 110154daed1Smrg key <AE03> { [ 3, numbersign, U2122, sterling ] }; 111154daed1Smrg key <AE04> { [ 4, dollar, U00A2, EuroSign ] }; 112154daed1Smrg key <AE05> { [ 5, percent, U2030, infinity ] }; 113154daed1Smrg key <AE06> { [ 6, ampersand, asciicircum, U2044 ] }; 114154daed1Smrg key <AE07> { [ 7, slash, backslash, U00F7 ] }; 115154daed1Smrg key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; 116154daed1Smrg key <AE09> { [ 9, parenright, bracketright, braceright ] }; 117154daed1Smrg key <AE10> { [ 0, equal, U2260, U2248 ] }; 118154daed1Smrg key <AE11> { [ odiaeresis, Odiaeresis, oslash, Ooblique ] }; 119154daed1Smrg key <AE12> { [ minus, underscore, endash, emdash ] }; 120154daed1Smrg 121154daed1Smrg 122154daed1Smrg //-- Row 4 (D) --// 123154daed1Smrg key <AD01> { [ q, Q, paragraph, VoidSymbol ] }; 124154daed1Smrg key <AD02> { [ w, W, U2211, VoidSymbol ] }; 125154daed1Smrg key <AD03> { [ e, E, dead_grave, VoidSymbol ] }; 126154daed1Smrg key <AD04> { [ r, R, registered, VoidSymbol ] }; 127154daed1Smrg key <AD05> { [ t, T, degree, VoidSymbol ] }; 128154daed1Smrg key <AD06> { [ y, Y, yen, VoidSymbol ] }; 129154daed1Smrg key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] }; 130154daed1Smrg key <AD08> { [ i, I, U0131, U00AA ] }; 131154daed1Smrg key <AD09> { [ o, O, dead_circumflex,U00BA ] }; 132154daed1Smrg key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; 133154daed1Smrg key <AD11> { [ eth, Eth, U201e, U201c ] }; 134154daed1Smrg key <AD12> { [ apostrophe, question, questiondown, U00B7 ] }; 135154daed1Smrg 136154daed1Smrg 137154daed1Smrg //-- Row 3 (C) --// 138154daed1Smrg key <AC01> { [ a, A, aring, Aring ] }; 139154daed1Smrg key <AC02> { [ s, S, ssharp, abovedot ] }; 140154daed1Smrg key <AC03> { [ d, D, U2202, U2DA ] }; 141154daed1Smrg key <AC04> { [ f, F, U192, macron ] }; 142154daed1Smrg key <AC05> { [ g, G, copyright, breve ] }; 143154daed1Smrg key <AC06> { [ h, H, bar, VoidSymbol ] }; 144154daed1Smrg key <AC07> { [ j, J, U2206, U2dd ] }; 145154daed1Smrg key <AC08> { [ k, K, U00AC, VoidSymbol ] }; 146154daed1Smrg key <AC09> { [ l, L, U2026, caron ] }; 147154daed1Smrg key <AC10> { [ ae, AE, oe, OE ] }; 148154daed1Smrg key <AC11> { [ dead_acute, dead_diaeresis, U201A, U2018 ] }; 149154daed1Smrg key <BKSL> { [ plus, asterisk, U2022, plusminus ] }; 150154daed1Smrg 151154daed1Smrg 152154daed1Smrg //-- Row 2 (B) --// 153154daed1Smrg key <LSGT> { [ less, greater, section, UF8FF ] }; 154154daed1Smrg key <AB01> { [ z, Z, U3A9, VoidSymbol ] }; 155154daed1Smrg key <AB02> { [ x, X, asciitilde, VoidSymbol ] }; 156154daed1Smrg key <AB03> { [ c, C, ccedilla, Ccedilla ] }; 157154daed1Smrg key <AB04> { [ v, V, U221A, U25CA ] }; 158154daed1Smrg key <AB05> { [ b, B, U222B, VoidSymbol ] }; 159154daed1Smrg key <AB06> { [ n, N, dead_tilde, VoidSymbol ] }; 160154daed1Smrg key <AB07> { [ m, M, U00B5, VoidSymbol ] }; 161154daed1Smrg key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] }; 162154daed1Smrg key <AB09> { [ period, colon, greaterthanequal,guillemotright ] }; 163154daed1Smrg key <AB10> { [ thorn, Thorn, U2019, U201d ] }; 164154daed1Smrg 165154daed1Smrg include "level3(ralt_switch)" 166154daed1Smrg}; 167154daed1Smrg 1685a35480eSmrg// This is a modified version of the English Dvorak layout that allows 1695a35480eSmrg// you to type all Icelandic letters under X. It's not a full attempt at 1705a35480eSmrg// nationalizing the layout as e.g. the Norwegian, Swedish and French 1715a35480eSmrg// layouts which modify the primary keys of the basic Dvorak layout 1725a35480eSmrg// extensively. 1735a35480eSmrg 1745a35480eSmrg// Rather it's a simple modification of 5 keys of the US Dvorak layout, 1755a35480eSmrg// it adds Germanic/Icelandic style quotation marks („“), eth (ðÐ), ae 17647fb91feSmrg// (æÆ), endash and emdash (–—), thorn (þÞ), EuroSign (€) and the German 17747fb91feSmrg// Sharp S (ßẞ). These keys aren't used in the US version, making the 17847fb91feSmrg// Icelandic version a superset of it. 1795a35480eSmrg 1805a35480eSmrg// Maybe someone else will make a "full" attempt at an Icelandic layout 1815a35480eSmrg// but I was mostly interested in continuing to type English comfortably 1825a35480eSmrg// as a primary function while being able to type the full Icelandic 1835a35480eSmrg// alphabet as a secondary function. 18447fb91feSmrg// -- Ævar Arnfjörð Bjarmason <avarab@gmail.com> 1855a35480eSmrg 1865a35480eSmrg// Icelandic Dvorak 1875a35480eSmrgpartial alphanumeric_keys 1885a35480eSmrgxkb_symbols "dvorak" { 1895a35480eSmrg name[Group1]= "Iceland - Dvorak"; 1905a35480eSmrg 1915a35480eSmrg include "us(dvorak)" 19247fb91feSmrg include "eurosign(4)" 1935a35480eSmrg 1945a35480eSmrg key <AD11> { [ slash, question, U201e, U201c ] }; 1955a35480eSmrg key <AC06> { [ d, D, eth, ETH ] }; 1965a35480eSmrg key <AC10> { [ s, S, ae, AE ] }; 1975a35480eSmrg key <AC11> { [ minus, underscore, endash, emdash ] }; 1985a35480eSmrg key <AB10> { [ z, Z, thorn, Thorn ] }; 19947fb91feSmrg key <AB06> { [ b, B, ssharp, U1E9E ] }; 2005a35480eSmrg 2015a35480eSmrg include "level3(ralt_switch)" 2025a35480eSmrg}; 203