[Gpm] Linux Generic Input Event Device Driver
Philip Willoughby
gpm@lists.prosa.it
Tue, 27 Mar 2001 23:00:22 +0100 (BST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1450048511-1060554248-985730422=:1690
Content-Type: TEXT/PLAIN; charset=US-ASCII
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
---1450048511-1060554248-985730422=:1690
Content-Type: APPLICATION/x-gzip; name="gpm-evdev.tar.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.32.0103272300220.1690@dartford.doc.ic.ac.uk>
Content-Description: gpm-evdev.tar.gz
Content-Disposition: attachment; filename="gpm-evdev.tar.gz"
H4sICO0GwToCA2dwbS1ldmRldi50YXIA7VhtU9tIEuYr8yu6IHUYLNuysc1C
llwIGPAuEBZMdreu7hwhje0JkkarFxsv4b/f0yPbQEIScpXN1V25C/Q2PT3d
T79Mj/tRUJJDTw4rC38Z2Xbd3rBt3G17o1k392o9v09owd6oNe2avb5ery3Y
1Vq1YS9QY+E7UJakTky0EA2Ur6LP8ck4Wfi/o/7M/2etnb3jVtm8fGP/V227
+Wn/12vNRu7/at1uNKrgrxv/23P//+W0eHB6TOcXp6evzzq0//qMjtonF79R
603rpEPtk07rbH9nt0XH7d2WEIsXidOXW2KxZEicqyDyxxRnIYlnhFCiUkom
gKgUUIWjSoVRllb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