[Y-devel] [PATCH] Ykb keymaps for evdev
Andrew Suffield asuffield at debian.org
Wed Jul 21 13:27:51 BST 2004
On Wed, Jul 21, 2004 at 08:20:34AM +0300, Mika Pruikkonen wrote:
> This patch adds support for keymaps for the evdev input module,
> which uses different keycodes than the sdl module.
Oh, damn and blast it. They just couldn't leave well enough alone. The
extant keycodes are the ones used by X, to make it simple to import
XKB maps. It looks like evdev "helpfully" does something
different. Worse, it looks like what evdev does is broken. I also note
that you're missing a couple of keys. I'll have to fish out my jp106
keyboard and see what it generates for them.
> Before ykb (i.e. even in Mark's latest tree) the keycodes were
> converted internally to ones which Y would understand in evdev.c,
> and things worked automagically. My current solution to make copies
> of the top-level .ykb files is really, really ugly, so probably
> something neater should be thought out. Should ykb support using
> different keycodes depending on the loaded input module? Does it
> already? Or shouldn't evdev be used at all?
Different intersection of options, we'll work something out later to
select them automatically.
I've included this list of keycodes as an option. Use something like
'layout gb DEVICE=EVDEV' in server.conf for now; it'll use X11
mappings by default. I don't have a kernel with evdev on hand to test
it.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : https://www.debian.org/ |
`. `' |
`- -><- |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040721/1155bd37/attachment.bin
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved