lkml.org 
[lkml]   [2004]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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'm aware of that, and I don't have a solution for it yet, since
adding compat ioctls is easy, but using the right input_event size is
next to impossible.

The problem is with the difference in size of struct timeval.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.041 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site