Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid keyboard events #167

Open
LinqLover opened this issue May 5, 2024 · 1 comment
Open

Invalid keyboard events #167

LinqLover opened this issue May 5, 2024 · 1 comment
Labels

Comments

@LinqLover
Copy link
Contributor

The keyboard exerciser (from the objects bin > demo) does not work in SqueakJS because many (all?) events from the VM have a keyCode of 0:

image

@codefrau
Copy link
Owner

codefrau commented May 5, 2024

Huh. A key code makes little sense on a stroke event. What are the exact semantics for it? Squeak 5.0 did not have that, it was introduced more recently.

SqueakJS does not generate key up/down events, which is the only place where key codes make sense. Key stroke events work, I think they are valid. It looks like something in image event handling (or in your Keyboard Exerciser) assumes there are up/down events.

@codefrau codefrau added the bug label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants