akbd.c:akbd_capslockwrapper() kills remapping of capslock

2006-03-11 Thread Matthias Kilian
Hi, last weekend, I noticed that after a $ wsconsctl keyboard.map+=keysym Caps_Lock = Control_L on my PowerBook G4 the capslock key did *not* any longer behave like a control key. Instead it just has *no* effect at all, which isn't very surprising when looking at akbd_capslockwrapper() in

Re: akbd.c:akbd_capslockwrapper() kills remapping of capslock

2006-03-11 Thread Miod Vallat
Hi, last weekend, I noticed that after a $ wsconsctl keyboard.map+=keysym Caps_Lock = Control_L on my PowerBook G4 the capslock key did *not* any longer behave like a control key. Instead it just has *no* effect at all, which isn't very surprising when looking at akbd_capslockwrapper()

Re: akbd.c:akbd_capslockwrapper() kills remapping of capslock

2006-03-11 Thread Matthias Kilian
On Sat, Mar 11, 2006 at 01:26:25PM +, Miod Vallat wrote: Isn't there any reliable way to detect *what* kind of keyboard is in use and then decide wether the hack in akbd_capslockwrapper() is necessary or not? No. But what about this diff? As you note, quite messy, but it works for