[squeak-dev] Mouse buttons (was: Browser pane width adjustment)

Bert Freudenberg bert at freudenbergs.de
Tue Dec 14 23:02:35 UTC 2010


On 14.12.2010, at 14:53, Ken G. Brown wrote:

> SqueakMouseCmdButton1			3
> SqueakMouseCmdButton2			3
> SqueakMouseCmdButton3			2
> SqueakMouseControlButton1		1
> SqueakMouseControlButton2		3
> SqueakMouseControlButton3		2
> SqueakMouseNoneButton1			1
> SqueakMouseNoneButton2			3
> SqueakMouseNoneButton3			2
> SqueakMouseOptionButton1		2
> SqueakMouseOptionButton2		3
> SqueakMouseOptionButton3		2
> 
> What does this all mean? Is there somewhere I should be looking?

Ignore the SqueakBrowser* options, they are only used in the web browser plugin.

On the left are the physical buttons:
Button1 = left
Button2 = middle
Button3 = right

On the right are the virtual Squeak buttons:
1 = red
2 = yellow
3 = blue

So as you can see, if no modifiers are pressed, by default the middle and right buttons are swapped so you get red-blue-yellow for left-middle-right click. That's because yellow brings up the menu, blue the halo. Many people prefer to get the menu on right-click so that's why this is swapped from the traditional red-yellow-blue order. But you can adjust this to your liking.

You can also see that cmd-left click gives blue, and option-left click yellow. That lets you emulate the yellow and blue buttons on a one-button mouse. Etc.

- Bert -





More information about the Squeak-dev mailing list