Mouse buttons under Mac OS X
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Jan 25 22:19:36 UTC 2002
>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.
--
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
More information about the Squeak-dev
mailing list
|