[PATCH 0/2] evdev: Support EmulateWheelTimeout

Dan Nicholson dbn.lists at gmail.com
Wed Aug 20 18:16:39 PDT 2008


These patches add support for a timeout in the wheel emulation code in
the evdev driver. This allows a device to emit the original button
events if the emulating button is released before the specified timeout.
The code has been basically ported from the mouse driver. With this
functionality, I can use the Trackpoint on my Thinkpad exactly as I was
with the mouse driver.

This is my first go at driver code, so please check for mistakes. Also,
the XI property code is completely untested since I did this work
against a 1.5 server.

--
Dan

 man/evdev.man  |    9 ++++++
 src/emuWheel.c |   81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/evdev.h    |    2 +
 3 files changed, 90 insertions(+), 2 deletions(-)



More information about the xorg mailing list