de revision bfd7cbc1
1// olh@suse.de   very close to MacOS map
2
3default partial alphanumeric_keys 
4xkb_symbols "basic" {
5
6    // Describes the differences between a very simple US/ASCII
7    // keyboard and a very simple German keybaord
8
9    include "latin"
10    name[Group1]= "Germany - Mac";
11
12    // Alphanumeric section
13    key <TLDE> {	[ dead_circumflex,	degree,    notsign 		]	};
14    key <AE01> {	[         1,    exclam,  exclamdown,   at		]	};
15    key <AE02> {	[	  2,	quotedbl,  twosuperior			]	};
16    key <AE03> {	[	  3,	section,  threesuperior,sterling	]	};
17    key <AE04> {	[	  4,	dollar,  onequarter,	currency	]	};
18    key <AE05> {	[	  5,	percent,  bracketleft			]	};
19    key <AE06> {	[	  6,	ampersand,  bracketright		]	};
20    key <AE07> {	[	  7,	slash,        bar,    backslash		]	};
21    key <AE08> {	[	  8,	parenleft,  braceleft,    asciitilde	]	};
22    key <AE09> {	[	  9,	parenright, braceright			]	};
23    key <AE10> {	[	  0,	equal,  braceright,	degree		]	};
24    key <AE11> {	[    ssharp,	question,  backslash,	questiondown	]	};
25    key <AE12> {	[ dead_acute,	dead_grave,  dead_cedilla		]	};
26
27    key <AD01> {	[	  q,	Q, guillemotleft,guillemotright	]	};
28    key <AD03> {	[	  e,	E,   EuroSign			]	};
29    key <AD04> {	[         r,    R,  registered			]	};
30    key <AD05> {	[	  t,	T		]	};
31    key <AD06> {	[	  z,	Z		]	};
32    key <AD07> {	[	  u,	U, diaeresis,    Aacute		]	};
33    key <AD08> {	[	  i,	I,      slash,    Ucircumflex	]	};
34    key <AD09> {	[         o,    O,      oslash,   Ooblique	]	};
35    key <AD11> {	[ udiaeresis,	Udiaeresis,  periodcentered, degree	]	};
36    key <AD12> {	[      plus,	asterisk,  asciitilde			]	}; 
37    key <AC01> {	[         a,    A,      aring,    Aring		]	};
38    key <AC04> {	[	  f,	F		]	};
39    key <AC05> {	[	  g,	G,  copyright			]	};
40    key <AC06> {	[         h,    H,  ordfeminine			]	};
41    key <AC09> {	[	  l,    L, 	at			]	};
42    key <AC10> {	[ odiaeresis,	Odiaeresis,  dead_acute			]	};
43    key <AC11> {	[ adiaeresis,	Adiaeresis,  dead_circumflex		]	};
44
45    key <LSGT> {	[      less,	greater,        bar			]	};
46    key <AB01> {	[	  y,	Y,  guillemotleft,less		]	};
47    key <AB06> {	[         n,    N, asciitilde			]	};
48    key <AB07> {	[	  m,	M, 	 mu			]	};
49    key <AB08> {	[     comma,	semicolon	]	};
50    key <AB09> {	[    period,	colon,  periodcentered, division	]	};
51    key <AB10> {	[     minus,	underscore	]	};
52    key <BKSL> {	[ numbersign,	apostrophe,  dead_grave			]	};
53
54    include "kpdl(comma)"
55    include "level3(ralt_switch)"
56
57};
58
59partial alphanumeric_keys 
60xkb_symbols "Sundeadkeys" {
61    // modify the default German layout to use Sun dead keys
62    include "macintosh_vndr/de(basic)"
63    name[Group1]= "Germany - Mac, Sun dead keys";
64
65    key <TLDE> {	[ SunFA_Circum,	degree,    notsign 			]	};
66    key <AE12> {	[ SunFA_Acute,	SunFA_Grave,  SunFA_Cedilla			]	};
67    key <AD11> {	[ udiaeresis,	Udiaeresis,  SunFA_Diaeresis		]	};
68    key <AD12> {	[      plus,	asterisk,  SunFA_Tilde,	dead_macron	]	};
69    key <AC10> {	[ odiaeresis,	Odiaeresis,  SunFA_Acute			]	};
70    key <AC11> {	[ adiaeresis,	Adiaeresis,  SunFA_Circum			]	};
71
72    key <BKSL> {	[ numbersign,	acute,  SunFA_Grave			]	};
73};
74
75partial alphanumeric_keys 
76xkb_symbols "sundeadkeys" {
77    include "macintosh_vndr/de(Sundeadkeys)"
78};
79
80partial alphanumeric_keys 
81xkb_symbols "nodeadkeys" {
82    // modify the default German layout to not have any dead keys
83    include "macintosh_vndr/de(basic)"
84    name[Group1]= "Germany - Mac, eliminate dead keys";
85
86    key <TLDE> {	[ asciicircum,	degree,    notsign 			]	};
87    key <AE12> {	[ acute,	grave,  cedilla				]	};
88    key <AD11> {	[ udiaeresis,	Udiaeresis,  diaeresis 			]	};
89    key <AD12> {	[      plus,	asterisk,  asciitilde,	macron		]	};
90    key <AC10> {	[ odiaeresis,	Odiaeresis,  acute			]	};
91    key <AC11> {	[ adiaeresis,	Adiaeresis,  asciicircum		]	};
92
93    key <BKSL> {	[ numbersign,	apostrophe,  grave			]	};
94};
95