pending mac carbon 3.8.12b7 (mangled button support)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pending mac carbon 3.8.12b7 (mangled button support)

johnmci
I've uploaded a VM to the *experimental* directory found on my idisk  
or ftp site via

http://www.smalltalkconsulting.com/squeak.html

This 3.8.12b7 VM allows one to pick classic mac button behavior, (2  
button or 3 button) windows behaviour, and or any combination valid  
or not, perhaps
even never allowing the yellow button, based on fiddling with the  
mapping, sorry no pre-configured solutions, which based on feedback  
no-one agreed to anyway...

This assumes visually a 3 button mouse had buttons (left to right)
1,2,3
which we want to map to red(1), yellow(2), blue(3)

Thus in the info.plist you will now find these mapping which provide  
for modifiers (none, cmd, option/alt, control).
This mapping *should* preserve the existing classic mac behaviour,  
people are welcome to check and confirm mouse button behaviour is
the same as before since I rewrote the C code responsible for mapping  
Apple's vision to Squeak's viewpoint.


        <key>SqueakMouseNoneButton1</key>
        <integer>1</integer>
        <key>SqueakMouseNoneButton2</key>
        <integer>3</integer>
        <key>SqueakMouseNoneButton3</key>
        <integer>2</integer>
        <key>SqueakMouseCmdButton1</key>
        <integer>3</integer>
        <key>SqueakMouseCmdButton2</key>
        <integer>3</integer>
        <key>SqueakMouseCmdButton3</key>
        <integer>2</integer>
        <key>SqueakMouseOptionButton1</key>
        <integer>2</integer>
        <key>SqueakMouseOptionButton2</key>
        <integer>3</integer>
        <key>SqueakMouseOptionButton3</key>
        <integer>2</integer>
        <key>SqueakMouseControlButton1</key>
        <integer>1</integer>
        <key>SqueakMouseControlButton2</key>
        <integer>3</integer>
        <key>SqueakMouseControlButton3</key>
        <integer>2</integer>


--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===