Messages in this thread | | | From | Jörg Hundertmarck <> | Subject | Simple extension to psmouse driver (tp-scroll in kernel mode) | Date | Tue, 31 Oct 2006 23:28:17 +0200 |
| |
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 - 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/
| |