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 keyToggle does not release key #17

Merged
merged 1 commit into from
May 9, 2024

Conversation

rivafarabi
Copy link
Contributor

After certain key is toggled by keyToggle('w', 'down') , the key keeps getting pressed even after the keyToggle('w', 'up') gets called. The issue mainly occurred in some software, mainly games.

Based on comments on octalmage/robotjs#252 and nut-tree/libnut-core#87, removing the scan code for keyup event solve this certain issue.

The softwares (games) that have been tested:

  • Monster Hunter World
  • Monster Hunter Rise
  • The Witcher 3

@DanielMcAssey DanielMcAssey merged commit 61cb74d into hurdlegroup:master May 9, 2024
@DanielMcAssey
Copy link
Contributor

Thanks for this!

github-actions bot pushed a commit that referenced this pull request May 9, 2024
## [0.11.6](v0.11.5...v0.11.6) (2024-05-09)

### Bug Fixes

* **robotjs:** remove scan code for keyup ([#17](#17)) ([61cb74d](61cb74d))
Copy link

github-actions bot commented May 9, 2024

🎉 This PR is included in version 0.11.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants