Simple extension to psmouse driver (tp-scroll in kernel mode)
Hello world,
I've wrote a simple extension to the psmouse driver. It's an emulation for the scrolling wheel on TrackPoint mice. It's functionally the same like the userspace daemon tp-scroll but it doesn't lag if the system has full load. The emulation starts when you press the middle mouse button, then you can "scroll" up and down by moving the mouse into the desired direction. It stops when the button released. When you press and release the button without move, the button event is transfered. This feature is not enabled by default, you need to set CONFIG_MOUSE_TPWHEEL=y.
Here's the patch:
http://www.hirnfrei.org/~joerg/linux_patches/linux-2.6.17-gentoo-r7-tp-scroll.patch
The patch is tested against the the 2.6.17 and 2.6.18.1 kernel source.
I hope that's the correct mailing list and my code is usefull.
Greets
Joerg Hundertmarck
Quoted 11 lines · Jörg Hundertmarck
Hello world,
I've wrote a simple extension to the psmouse driver. It's an emulation for the scrolling wheel on TrackPoint mice. It's functionally the same like the userspace daemon tp-scroll but it doesn't lag if the system has full load. The emulation starts when you press the middle mouse button, then you can "scroll" up and down by moving the mouse into the desired direction. It stops when the button released. When you press and release the button without move, the button event is transfered. This feature is not enabled by default, you need to set
CONFIG_MOUSE_TPWHEEL=y.
Quoted 7 lines
Here's the patch:
http://www.hirnfrei.org/~joerg/linux_patches/linux-2.6.17-gentoo-r7-tp-scroll.patchThe patch is tested against the the 2.6.17 and 2.6.18.1 kernel source.
I hope that's the correct mailing list and my code is usefull.
Hi,
Thank you for your patch, however I do not think it is needed anymore since required functionality was added to X. Please see here:
http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint
http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2006-January/031714.html
Signature · 1 line
Dmitry