Mouse buttons under Mac OS X

Nevin Pratt nevinpratt at earthlink.net
Fri Jan 25 22:30:41 UTC 2002


There's a 'SwapMouseButtons3.0-nk.cs' change set floating around
somewhere that I think does this.  It also makes it a preferences option
in the Preferences panel.  I think.

Nevin

> John M McIntosh wrote:
> 
> >> Greetings...
> >>
> >> I seems that Mac OS X maps the right mouse button to be a ctrl-click 
> >> (at least it does with a Microsoft mouse). Under OS 9 you could map 
> >> the right mouse button (using Microsoft's mouse control panel) to be 
> >> an option-click when running Squeak. Since there doesn't seem to be 
> >> any way to map an option-click to the right mouse button under OS X, 
> >> is there a way to configure Squeak to swap the option-click and 
> >> ctrl-click?
> >>
> >> Thanks,
> >> Mark
> > 
> > 
> > This could be done in Squeak at the point where pickup the events
> > 
> > See EventSensor>>processEvent:
> > 
> > Somewhere there you could fiddle with the button state. See the class 
> > comment.
> > 
> > You could then make this a general preference to swap the middle/right 
> > button.
> 
>



More information about the Squeak-dev mailing list