[squeak-dev] Unix keyboard events lose track when multiple keys pressed or keys held down

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Jan 18 23:34:41 UTC 2021


I would think we can do much simpler if we abandon the idea of ordering events.
Deliver the raw event (Pess and release) ASAP.
All we need is a translation of raw scan code to a platform independent keycode.
For the cooked event (EventKeyChar), just do not change anything.
What do you think?

Le mar. 19 janv. 2021 à 00:10, tim Rowledge <tim at rowledge.org> a écrit :
>
> Looks sensible to me; the only question I have is whether it is actually guaranteed that no keycode can exceed 255? All I can find out right now is that the structure definition has it as an int.
>
> >
> > Pull request for the fix is https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/547
> >
> > I also pushed an update to SVN on squeakvm.org for interpreter VM.
>
>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Hipatitis (n): Terminal coolness
>
>
>


More information about the Squeak-dev mailing list