> On Sat, Jul 02, 2005 at 05:23:49PM -0700, nuno romano wrote: > > How can I emulate a three-button mouse from > > a macintosh one-button mouse? > > $ grep mac_hid /etc/sysctl.conf > dev/mac_hid/mouse_button_emulation = 1 > dev/mac_hid/mouse_button2_keycode = 87 > dev/mac_hid/mouse_button3_keycode = 88 > > (for F11 == middle and F12 == right)
I've found mouseemu quite useful - it also emulates a scroll wheel when pressing alt and scrolling on the trackpad. Plus it can block the trackpad while typing. Added benefit: it all works on the generic input layer, with no special kernel code involved. IIRC the kernel support for button emulation is scheduled to be removed, much as I hate to see it go for historic reasons. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]