From: Aivils S. <ai...@un...> - 2006-01-26 14:17:31
|
On Ceturtdiena, 26. Janv=E2ris 2006 14:49, Zephaniah E. Hull wrote: > On Thu, Jan 26, 2006 at 11:56:47AM +0100, Ruben Faelens wrote: > > About your evdev problem: > > > > I had the same problem. The large problem is the evdev keyboard driver > > not outputting the same keycodes as the kbd driver. As such, some > > keycodes which are assigned do not exist, whereas some are wrongly > > assigned. For now, this workaround helps: > > https://bugs.freedesktop.org/show_bug.cgi?id=3D5559 > > > > The bug has been assigned to the input/evdev developers, but I haven't > > heard from it ever since, so I guess it's low priority for them. Also, > > they probably should clean op Xkb-support for evdev first anyway, the > > current implementation is a hack IIRC. > > > > Good luck using this workaround. It's strange, without Xkb everything > > works correctly (with a qwerty layout). > > > > Could you tell me if it worked or add a comment on the bug page? Thanks. > > Could you take a look at https://bugs.freedesktop.org/show_bug.cgi?id=3D5= 696? > > In theory the enhanced xkb support should work quite a bit better. > (It also needs additional testing.) More consrevative C compilator support patch: =2D-- evdev_rel.c.orig 2006-01-26 15:08:57.000000000 +0200 +++ evdev_rel.c 2006-01-26 16:07:33.000000000 +0200 @@ -68,24 +68,24 @@ static struct { const char *name; const int i; =2D} axis_names =3D { =2D "X", REL_X, =2D "Y", REL_Y, =2D "Z", REL_Z, =2D "RX", REL_RX, =2D "RY", REL_RY, =2D "RZ", REL_RZ, =2D "HWHEEL", REL_HWHEEL, =2D "DIAL", REL_DIAL, =2D "WHEEL", REL_WHEEL, =2D "MISC", REL_MISC, =2D "10", 10, =2D "11", 11, =2D "12", 12, =2D "13", 13, =2D "14", 14, =2D "15", 15, =2D NULL, 0 +} axis_names[] =3D { + {"X", REL_X}, + {"Y", REL_Y}, + {"Z", REL_Z}, + {"RX", REL_RX}, + {"RY", REL_RY}, + {"RZ", REL_RZ}, + {"HWHEEL", REL_HWHEEL}, + {"DIAL", REL_DIAL}, + {"WHEEL", REL_WHEEL}, + {"MISC", REL_MISC}, + {"10", 10}, + {"11", 11}, + {"12", 12}, + {"13", 13}, + {"14", 14}, + {"15", 15}, + {NULL, 0} }; =20 static void |