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