[REQUEST] Tap for right click on PowerBook trackpad

Dustin Lang dalang at cs.ubc.ca
Thu Nov 17 14:32:03 EST 2005


Hi,

On my PowerBook, I map F11 to the middle mouse button and F12 to the right 
mouse button.  I've grown so used to it that I get annoyed when it doesn't 
work in OSX :)

You can do the same by:
-be sure to enable CONFIG_MAC_EMUMOUSEBTN in the kernel config
-at startup time (or whenever):
   echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation
   echo "87" > /proc/sys/dev/mac_hid/mouse_button2_keycode
   echo "88" > /proc/sys/dev/mac_hid/mouse_button3_keycode

Cheers,
dstn.


> One big reason that I don't use Linux on my PowerBook (1.25 AlBook) is 
> the difficulty of using the single button trackpad. Under OS X I use 
> SideTrack which provides the ability to tap for right-click. I did some 
> investigation a few months ago and could not find a Linux replacement 
> for SideTrack.
>
> Would this be a difficult feature to implement?
> Would any one be interested in doing it? :-)
>
> (Please CC me as I am not subscribed)
> regards,
> Felix



More information about the Linuxppc-dev mailing list