keyboard icon indicating copy to clipboard operation
keyboard copied to clipboard

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

Open marcel-valdez opened this issue 3 years ago • 0 comments

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.

marcel-valdez avatar Mar 26 '21 17:03 marcel-valdez