Userland tool for mouse buttons emulation

Colin Leroy colin at colino.net
Wed Dec 31 20:43:12 EST 2003


Hi everyone,

I once submitted a patch about mouse button emulation, and BenH
told me that this emulation shouldn't be done in the kernel but
rather by a userland tool.

I wrote a little mouseemu program to do that. It replaces the
kernel emulation (be sure to
echo 0 > /proc/sys/dev/mac_hid/mouse_button_emulation
before testing it ;-)).

You can specify a modifier+key for both middle and right buttons,
which means that you can use Command-click or Ctrl-click or whatever
you want instead of just a key.

(btw, it works only with kernel 2.6 yet).

You can download it at
http://www.geekounet.org/powerbook/files/mouseemu.tar.gz

Hoping this helps,
--
Colin
Ne disez pas disez, mais disez dites

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list