Skip to content

Added a class to manage asynchronous event handling #2

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

Merged
merged 8 commits into from
Nov 23, 2019

Conversation

texx00
Copy link
Contributor

@texx00 texx00 commented Nov 17, 2019

With the GamepadThread and the handler class it is now possible to use callbacks instead of direct polling for the events. The thread will poll the original library and use the callback only when necessary.
In this way it is possible also to run independent code in the main thread.
There are also few additional features like event filtering.
Added also the related documentation

@texx00
Copy link
Contributor Author

texx00 commented Nov 23, 2019

Hi @Zuzu-Typ... Anything about this?

@Zuzu-Typ
Copy link
Owner

I'm sorry, my notifications were turned off for some reason.

I'll adjust the code a bit here and there and commit it to master.

Thank you very much for your great contribution!

Also updated documentation and moved test to external file
@Zuzu-Typ Zuzu-Typ self-assigned this Nov 23, 2019
@Zuzu-Typ Zuzu-Typ merged commit 5ac99e4 into Zuzu-Typ:master Nov 23, 2019
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

Successfully merging this pull request may close these issues.

2 participants