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

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



Hallo Denis,
On Sun, Sep 24, 2006 at 11:34:14PM +0200, Denis Barbier wrote:
> 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:
Thats what I did, my output differs slightly:
>   KeyRelease event, serial 31, synthetic NO, window 0x1e00001,
                             32                       0x1000001
>   root 0x135, subw 0x0, time 3784639752, (874,-79), root:(886,584),
         0x44                  4192263880  (117,59)        (613,86)
>   state 0x0, keycode 21 (keysym 0xb4, acute), same_screen YES,
          0x1                     0x60, grave
>   XLookupString gives 2 bytes: (c2 b4) "´"
                        1        (60) "`"

Strange, in vim I get a `, while on the console I now get a ,

> > 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?

Will do so over the weekend.

> > 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	]	};


-- 
Dr. Helge Kreutzmann, Dipl.-Phys.           Helge.Kreutzmann@itp.uni-hannover.de
                       gpg signed mail preferred 
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
          Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


Reply to: