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

[Question/Bug] How are multiple user events handled in suit? #87

Open
sewbacca opened this issue Dec 9, 2021 · 0 comments
Open

[Question/Bug] How are multiple user events handled in suit? #87

sewbacca opened this issue Dec 9, 2021 · 0 comments

Comments

@sewbacca
Copy link

sewbacca commented Dec 9, 2021

I'm currently writing an immediate mode gui library just like this one for a specific purpose and I found your library is a great ressource for ideas on how to go about it.
I took a closer look at how you handle forwarded keypresses and found, that it simply sets the given input and hand it over to the widgets. I haven't tested this with suit, but in my plain love2d tests, i found that keypressed and all other events are likely to be pressed multiple times (1-2, textinput got 8 when smashing my keyboard) per frame, so I would guess you are likely to miss events when processing them inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant