[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xkb-data with support for Mac keyboards into unstable



On Sat, Sep 23, 2006 at 03:52:11PM +0200, Helge Kreutzmann wrote:
> So the following still needs to be done for a german ibook keyboard:
> 
> 1. When pressing the key between ß? and backspace, I still get
>    nothing, while I expect ' as printed on the key. With the shift
>    modifier it works. This is keycode 21.

It works for me, please try with xev:
  KeyRelease event, serial 31, synthetic NO, window 0x1e00001,
  root 0x135, subw 0x0, time 3784639752, (874,-79), root:(886,584),
  state 0x0, keycode 21 (keysym 0xb4, acute), same_screen YES,
  XLookupString gives 2 bytes: (c2 b4) "´"

> 2. The AltGr-Bracket sequence is still "wrong", i.e. I would like the
>    PC style version, i.e. (starting at AltGR-7) {[]}\ while I get
>    (starting at AltGr-5) []|{}}\. This behaviour should be switchable.
>    Also I still wonder why "}" is on AltGr-9 *and* AltGr-0.
> 
> 3. AltGr-Q still produces "«" and not "@"
> 
> I am happy that you kept AltGr-Y and AltGr-X as "«" and "»".

Can you please test this patch, and if possible discuss improvements
with other German Mac users?

> Also several characters are on several positions, e.g. `, ~, |, «, ß,
>  }. As of now, I don't see this as a problem, but maybe a general
> consensus should be found regarding the AltGr-mapping. 

This is indeed usually not a problem.

Denis
Index: xkb-data/symbols/macintosh_vndr/de
===================================================================
--- xkb-data.orig/symbols/macintosh_vndr/de
+++ xkb-data/symbols/macintosh_vndr/de
@@ -18,16 +18,16 @@
     key <AE02> {	[	  2,	quotedbl,  twosuperior			]	};
     key <AE03> {	[	  3,	section,  threesuperior,sterling	]	};
     key <AE04> {	[	  4,	dollar,  onequarter,	currency	]	};
-    key <AE05> {	[	  5,	percent,  bracketleft			]	};
-    key <AE06> {	[	  6,	ampersand,  bracketright		]	};
-    key <AE07> {	[	  7,	slash,        bar,    backslash		]	};
-    key <AE08> {	[	  8,	parenleft,  braceleft,    asciitilde	]	};
-    key <AE09> {	[	  9,	parenright, braceright			]	};
+    key <AE05> {	[	  5,	percent,  onehalf			]	};
+    key <AE06> {	[	  6,	ampersand,  notsign		]	};
+    key <AE07> {	[	  7,	slash,      braceleft,  seveneighths	]	};
+    key <AE08> {	[	  8,	parenleft,  bracketleft,   trademark	]	};
+    key <AE09> {	[	  9,	parenright, bracketright,  plusminus	]	};
     key <AE10> {	[	  0,	equal,  braceright,	degree		]	};
     key <AE11> {	[    ssharp,	question,  backslash,	questiondown	]	};
     key <AE12> {	[ dead_acute,	dead_grave,  dead_cedilla		]	};
 
-    key <AD01> {	[	  q,	Q, guillemotleft,guillemotright	]	};
+    key <AD01> {	[	  q,	Q,         at			]	};
     key <AD03> {	[	  e,	E,   EuroSign			]	};
     key <AD04> {	[         r,    R,  registered			]	};
     key <AD05> {	[	  t,	T		]	};
@@ -46,7 +46,8 @@
     key <AC11> {	[ adiaeresis,	Adiaeresis,  dead_circumflex		]	};
 
     key <LSGT> {	[      less,	greater,        bar			]	};
-    key <AB01> {	[	  y,	Y,  guillemotleft,less		]	};
+    key <AB01> {	[         y,    Y, guillemotright,       less ]	};
+    key <AB02> {	[         x,    X,  guillemotleft,    greater ]	};
     key <AB06> {	[         n,    N, asciitilde			]	};
     key <AB07> {	[	  m,	M, 	 mu			]	};
     key <AB08> {	[     comma,	semicolon	]	};

Reply to: