Simple extension to psmouse driver (tp-scroll in kernel mode)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux