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

Fix issue #397: Event listener fails when keyboard is disconnected #436

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcel-valdez
Copy link

@marcel-valdez marcel-valdez commented Mar 26, 2021

Issue #397

I encountered the issue in a *nix machine (Ubuntu 16.04).
The fix makes it so that we don't read the input file when a keyboard is
disconnected by checking the 'readable()' method on the file pointer, in Ubuntu
when the keyboard is re-connected the 'readable()' method returns True and
everything works as usual.

…cted momentarily.

I encountered the issue in a *nix machine (Ubuntu 16.04).
The fix makes it so that we don't ready the input file when a keyboard is
disconnected by checking the 'readable()' method on the file pointer, in Ubuntu
when the keyboard is re-connected the 'readable()' method returns True and
everything works as usual.
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.

None yet

1 participant