[squeak-dev] Cannot receive F1-F12 keys

Martin Kuball martinkuball at web.de
Tue Jan 11 18:06:25 UTC 2022


Hi,

two years ago (2020-05-31) I asked about function keys in squeak. I got the
answer, that the vm does not support function keys. So, has this changed?

Martin

Am Freitag, 7. Januar 2022, 06:52:14 CET schrieb David O'Toole:
> The same is true in Squeak trunk (a few days old.) The KeyboardExerciser
> only captures F11-F12, and as Cmd-. and Cmd-j (see screenshot)
>
> Perhaps it relates to how Squeak is compiled for Linux?
>
> On Thu, Jan 6, 2022 at 11:32 PM David O'Toole <deeteeoh1138 at gmail.com>
>
> wrote:
> > Actually, F11 and F12 produce a response... <Cmd-.> and <Cmd-j>
> > respectively.
> > I'll have to investigate why this is the case.
> >
> > On Thu, Jan 6, 2022 at 11:25 PM David O'Toole <deeteeoh1138 at gmail.com>
> >
> > wrote:
> >> I am writing a simple tool for binding the F1-F12 keys to one-liner
> >> Smalltalk expressions to quickly switch projects, toggle last project,
> >> switch between active SystemWindow instances, and other useful commands.
> >>
> >> I successfully got my event listener to work, and keyboard events from
> >> keyDown: successfully print in the Transcript as a test (see lower right
> >> in
> >> screenshot; code is at center/left in Sandblocks form.)
> >>
> >> However, pressing F1-F12 has no effect whatsoever, the system seems not
> >> to send keyDown in that case.
> >>
> >> How can I capture these key events? I would greatly appreciate any help
> >> you can offer.






More information about the Squeak-dev mailing list