2005-02-06 18:43:06

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: Linux input event extending tool exist?

On Wed, Dec 15, 2004 at 11:41:38PM -0500, Eric Lammerts wrote:
> Vojtech Pavlik wrote:
> >You can use evtest (attached). It's often found in the joystick RPMs.
> >It's also in the linuxconsole.sf.net CVS repository. On recent kernels
> >it'll show the scancodes as well as the generated keycodes.
>
> Vojtech, are you aware that this doesn't work well with 32-bit apps on
> x86-64 kernels? The ioctls don't work (no compat definitions), and
> struct input_event is 24 bytes instead of 16.

Yes, I do. It's a bug, and will be a hard one to solve. The ioclt()s are
easy, but the event size difference is pretty nasty.

--
Vojtech Pavlik
SuSE Labs, SuSE CR