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

Re: Remap mouse buttons?



On 9 Jan 2002, MaX wrote:

> Howo to remap in the my mouse
> 
> "button2" ==> "button3"  ??

echo pointer = 1 3 2 4 5|xmodmap -

will exchange buttons 2 and 3 (assuming you have a 5 button mouse).

If you only have a 2-button mouse, there's "Emulate3buttons" option (not
sure about the correct spelling).

And finally, if you have a pmac-Kernel, you can have something like this
in your /etc/sysctl.conf to use keyboard buttons as mouse buttons:

dev.mac_hid.mouse_button_emulation=1
# 96=small enter, 101=fn+small enter
dev.mac_hid.mouse_button3_keycode=96
dev.mac_hid.mouse_button2_keycode=101

Cheers,
	Siggi




Reply to: