[Gpm] Linux Generic Input Event Device Driver

Nico Schottelius nicos@pcsystems.de
Wed, 06 Feb 2002 19:13:43 +0100


Applied.Is in 1.20.0.

Nico


Philip Willoughby wrote:

> Dear Sirs,
>
> Please find attached a tarball containing a patch to GPM to use the Linux
> Generic Input Event Device.  Also included is a README explaining the use
> of the `evdev' driver and the way around some common pitfalls.
>
> The event device interface is touted as the input method of the future - it
> is certainly a fair bit easier to code the driver for than some of the
> others appear to be.
>
> patch < gpm-evdev-patch
>
> should be enough to patch the tree.  You will probably need a 2.4 kernel to
> test this out.
>
> The only files I changed are configure.in (to look for linux/input.h) and
> mice.c to add the actual driver.  All my modifications are protected by
> #ifdef LINUX_INPUT_H
> .
> .
> .
> #endif
> so this shouldn't break portability.
>
> If you find this useful, please get back to me.
>
> BTW, for USB mice this is noticeably better than using imps2 and
> /dev/input/mice...
>
> Regards,
>
> Philip Willoughby
>
>   ------------------------------------------------------------------------
>                           Name: gpm-evdev.tar.gz
>    gpm-evdev.tar.gz       Type: Unix Tape Archive (application/x-tar)
>                       Encoding: BASE64
>                    Description: gpm-evdev.tar.gz

--
{Greetings,Gruss},
Nico Schottelius

I am some kind of busy -
Do not expect an answer within 24 hours.
Instead use the telephon: +49 (0) 173 - 750 7022.