[squeak-dev] Re: Modifier key events

karl ramberg karlramberg at gmail.com
Thu Feb 25 16:49:09 UTC 2010


Better keyboard handling is requested for Etoys by many users and instructors.
Kids want to make games, even multi-player on the same computer so
getting this right would be appreciated.

Karl

On Thu, Feb 25, 2010 at 2:39 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
> Bert Freudenberg wrote:
>>
>> However, I consider keyboard handling in general pretty broken. The VMs
>> are inconsistent, and there is no proper translation layer in the image.
>> That means keyboard handling code cannot be written in a
>> platform-independent way.
>> Also IMHO shortcuts should match the platform's common usage. E.g.
>> copy/paste should use Ctrl on Windows but Cmd on the Mac. In Etoys we simply
>> enable swapCtrlAndAlt on startup if running on Windows or Unix, but that
>> only goes so far ...
>
> If we care about this (which I'm not entirely sure about) we should lift the
> platform support from Tweak (i.e., the CPlatform classes). They have
> platform mappings for all the common shortcuts and it's what we rely on in
> our products.
>
> Cheers,
>  - Andreas
>
>



More information about the Squeak-dev mailing list