Subject: Re: X11 and dead keys
To: segv <email@example.com>
From: Michael <firstname.lastname@example.org>
Date: 08/03/2005 11:08:57
Content-Type: text/plain; charset=US-ASCII
> My qestion is, what's the story with 'Driver "kbd"' and 'Option
> "Protocol" "wskbd"'? I mean is this supposed to be the new driver for
> keybards or does 'X -configure' get is completely wrong?
That's a longer story.
'keyboard' has a bunch of funky design limitations that make it nearly
unusable ( or at least very quirky ) on non-PC-keyboards. Besides that
it's a horrible mess. That's why I initially switched the whole thing to
'kbd' which is much cleaner and works well with Sun- and ADB-keyboards.
Later it turned out that 'kbd' apparently omits some keycode mangling
done by 'keyboard' which is needed to support PS/2 keyboards properly,
so I changed the code again to default to 'kbd' only on sparc64 and
macppc. If you run 'X -configure' with something less than 2 weeks old
you should get 'keyboard' again.=20
I can't really fix the PS/2 stuff right now because I have no NetBSD box
with a PS/2 keyboard. A cleaner solution would probably check the
keyboard type and then write 'keyboard' or 'kbd' instead of just
hardcoding it architecture-dependent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
-----END PGP SIGNATURE-----