Skip to contentSkip to conversation

Userland tool for mouse buttons emulation

DISCUSSION Colin Leroy 2 participants 2 messages Dec 31, 2003

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 9 lines

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 ;-)).

I'll give it a try. Any plans to package this yourself? I'd make it a separate package otherwise - this should be useful for other archs as well.

Michael

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