OSPlatform: that'as another way to skin the cat. As for defaults, it sounds like no swap on Windows, swap on Linux and mac. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Michael Rueger Sent: Thursday, May 21, 2009 5:28 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Swap mouse buttons (was New Pharo based on core 10309...) Janko Mivšek wrote:
Hi Stef,
Stéphane Ducasse pravi:
But I have no idea. I do not use a mouse most of the time in pharo. So tell me.
Obvious answer is: mouse must just work!
This means that Pharo must detect on which platform it runs and swap mouse buttons accordingly.
Is there any technical problem that this is not done yet? Detection of a platform? But Sport portability lib has it and it runs well! Ok, just SpEnvironment class>>#onWindows and #onUnix, once we need to add #onMac too...
in Pharo we a OSPlatform class where do the platform detection. Question is what the mappings for different mice on each platform need to be. One, two, three button, two with scrollwheel... Michael _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project