Subject: Re: RFC: X to use wskbd/wsmouse
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 02/13/2006 13:25:38
--Signature_Mon__13_Feb_2006_13_25_38_-0500_=YkV7DGvBimv8LeS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> The counter-argument that some have made is that XFree is a bodge job
> that relies on PS/2 scan codes.  I'm no X "expert", but it seems to me
> that XFree must already know how to deal with USB keyboards, so in the
> worst case it winds up performing an extra translation.

Eh, don't get me wrong - that wasn't meant as a counter ;)
XFree translates everything into some scancode set derived from PS/2,
not actually PS/2, so it can be extended ( and this way support extra
keys like Sun's without much hassle ). It has a bunch of tables for this
purpose ( which are duplicated and were full of errors for some reason )
so ADB, Sun and USB keyboards work and appear as PCish keyboards to XKB.
The extra translation step is cheap enough I think, it's only a 1:1
mapping after all.

have fun
Michael

--Signature_Mon__13_Feb_2006_13_25_38_-0500_=YkV7DGvBimv8LeS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ/DPIspnzkX8Yg2nAQIyXwf/UZBzKr9F9PT8WXzoYGUSHEUuyR5gw/gR
bp+JcJONnHPElp1daL4JfikWSXd8N+0U4OLV7J+F6iI7H6XlT2dXZfNe0uZKmX10
bFwJ8Ub+noZa7uBh1BNPItqjARq2hBn0rlqIZ3tWyQujpNb/AED4XedQdOWnDb4K
7SbH00D0+grO4/fRwXZy8ltF5C0nN5P6hIxeHq0IXgmNVBwj+mhC6b6c5P0fsCj0
oq48MAg9HG2Y6kkNzw1aJwSY4NJIZLF1NzcU1pZmDrda/z4gdRwwHQbbbuBZKMtj
8aFp9dDJVY++i6uGFtQ7ypzAbd4s5t/uz9+CmZBnUCgr/Kv0tnmkzA==
=vXJd
-----END PGP SIGNATURE-----

--Signature_Mon__13_Feb_2006_13_25_38_-0500_=YkV7DGvBimv8LeS--