Reading keyboard state

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Mon Dec 6 13:14:40 UTC 1999


On Fri, 3 Dec 1999, Henrik Gedenryd wrote:

> AFAIK, there is no way to get the current keyboard state for the regular
> alphanumeric keys, like you can for modifier keys and mouse buttons.
> 
> Is there any way to check whether eg. the key 'i' is pressed at the moment?

Nope. Only key-press events are forwarded to Squeak, key-release events
are eaten by the VM.

  -Bert-





More information about the Squeak-dev mailing list