Key events and special keys

Ned Konz ned at bike-nomad.com
Sun Jul 28 17:06:34 UTC 2002


On Saturday 27 July 2002 07:42 pm, Luciano Notarfrancesco wrote:
> I noticed that Morph|handleKeyDown: and Morph|handleKeyUp: don't
> get called when I press Shift, Alt Ctrl, the function keys, etc. Is
> there any way to handle those events?

Not without changing the VM to report those as events.

> Does Squeak receive those
> events at all?

At least under the Unix VM, no. The shift state is added to other 
events. There is no Squeak encoding for the shift characters 
themselves.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list