[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xorg keymap and wskbd keymap
-----BEGIN PGP SIGNED MESSAGE-----
On Jun 19, 2010, at 10:41 AM, Izumi Tsutsui wrote:
I'm looking at several sources around Xorg server keyboard driver
to switch several orphaned wsfb based ports from xfree86 to xorg.
There are several wskbd keymaps (translating it to atKeymap?),
like wsUsbMap (ukbd), wsXtMap (pckbd), wsAdbMap (akbd) etc.
If we are going to add more other ports (like dreamcast, newsmips
do we have to add all machine dependent wskbd keymaps in this file
as old xfree86 servers have independent keymap sources?
Yes and no. We need to get rid of those MD wsevent codes anyway if we
ever want keyboard muxes to work properly ( as in - with devices using
different scancodes on the same mux, like an ADB keyboard and a USB
keypad. Right now there is no way to tell them apart. )
They should all emit USB scancodes since that seems to cover pretty
Is there any reason why we don't use wskbd(4)'s WSKBDIO_GETMAP ioctl
to get keymaps (with modifier) used in kernel?
The Xserver as it works right now would still need to know how to
interpret them. Or rather, the kbd driver would. The keyboard code
inherited from xf86 translates everything into something AT-like
before doing any further processing, that's what these tables are for.
Or simply we should handle it in xkbcomp symbol files as hpcarm W-
(I don't know how files in external/mit/xkeyboard-config/dist/symbols
should be declared though)
Didn't the xorg people declare xkb deprecated a while ago?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |