Skip to content

Conversation

pankaj512
Copy link

Why

My keyboard chatter issue in external keyboard but not in built-in laptop keyboard. It KeyboardChatteringFix was working fine when I had external keyboard attached. But when I detached external keyboard and started using buit-in keyboard, I was facing issue where multiple key press was not working.

This was happening because we were opening a file that does not exist. Even though we have try-catch block around keyboard handle, it was still giving error.

What

Add a check to only open keyboard file if it exists. If it does not exists, then exit the script with status code of 0.

How to reproduce

  • Step the KeyboardChattering script as service with a external keyboard ID passed with -k option.
  • Remove the external keyboard and restart the system
  • Try to use the built-in keyboard in laptop.

@pankaj512
Copy link
Author

@finkrer Please review

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.

1 participant