|
From: Bert F. <be...@im...> - 2004-09-03 10:05:13
|
Am 03.09.2004 um 05:18 schrieb John M McIntosh: > Ok, under os-x running the Squeak VM standalone I find that > > button1 is red squeak mouse bit set to (4) > button2 is blue cmd key squeak mouse bit set to (1) > button3 is yellow option key squeak mouse bit set to (2) > > yes? This is what I see, too. The button numbers from left to right are 1 - 3 - 2. Button3 is when you press the scroll wheel down. > The squeak mouse bits are set by looking at which mouse button was > pressed from the Carbon mouse event. > > Now the fun thing here is that when you use Safari it has to map > button-3 to a cmd/option/cntrl key and mouse-down when it converts the > os-x event to > a historical mac os mouse down event since that is what the Netscape > plugin interface is supplying. Therefore the issue is that button-3 is > turning into a ctrl-click versus option key-click. Ah, so the problem is actually that in Squeak we define option-click to bring up the menu, whereas in the Finder and elsewhere it's ctrl-click. > Does the mouse supplier have an os-x driver they supply that lets you > control what the magic keyboard modifiers are? Logitech does have one, but it is not application sensitive so I can only change the mapping globally. I removed all that nonsense functions and mapped each button to its native value. AFAICT the generic mouse driver just generates button events (buttons 1 to 8 in my case). And the translation to modifiers happens in the browser itself? Apparently, Safari translates button3 and button2 to cmd-click and ctrl-click, while Firefox ignores button3, right button (button2) generates ctrl-click. > What you might want to do is try running the Mac OS Classic vm by > opening up the Squeak VM application by showing the contents and > digging down to the classic VM and executing the "Squeak 3.7.5b1 > Classic" application. Then observe the behavior and let me know. Right button2 does ctrl-click. Middle button3 does nothing. So we cannot actually do much about this. Except maybe for a preference to treat ctrl-click as yellow? I'm wondering if this should be in the VM or in the image ... - Bert - |