Ship it with Squeak
Lex Spoon
lex at cc.gatech.edu
Mon Jun 26 08:00:00 UTC 2000
Henrik Gedenryd <Henrik.Gedenryd at lucs.lu.se> wrote:
> But they are really, really needed to make a good interface, so they must be
> provided. Actually, it is up to the user event handler whether to poll the
> hardware or look at the state of the last received event. But it must also
> be possible to look for things that don't generate events, like whether
> shift is down, or a regular key is down. It is particularly necessary to use
> regular keys as modifiers since the usual modifier keys are taken by mouse
> button emulation.
>
MorphicEvents contain a bitmap of what modifiers were pressed during the
event. But like Tim said, a lot of existing code queries Sensor
directly instead of looking at the Event object.
-Lex
More information about the Squeak-dev
mailing list
|