[squeak-dev] function keys in squeak

Levente Uzonyi leves at caesar.elte.hu
Tue Jun 2 01:02:50 UTC 2020


On Mon, 1 Jun 2020, John-Reed Maffeo wrote:

> Martin,
> 
> In a 5.2-18229 Squeak image I do not seeĀ  a Sensor class so your example "Sensor kbdTest" does not make sense to me.

Sensor is a global pointing to the current input sensor which happens to 
be an EventSensor nowadays.

> 
> There is a #kbdTest method in #EventSensor which locked up my image when I executed it.
> 
> The comment in the method is incorrect ! When I sentĀ  the method to a new instance of #EventSensor the resulting object locked up my image :-( So be careful if you run it.

It shouldn't lock up your image. Did you try pressing x?


Levente

> 
> -jrm
> 
> On Sun, May 31, 2020 at 9:58 AM Martin Kuball <martinkuball at web.de> wrote:
>       Hi,
>
>       it seems that squeak is ignoring function key events (F1 - F12). I tried
>
>       Sensor kbdTest
>
>       but nothing happens when I press a function key. Am I missing something?
>
>       Martin
> 
> 
> 
> 
> 
> 
> --
> John-Reed Maffeo
> 
>


More information about the Squeak-dev mailing list