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

how to make a key pressed and won't interrupt by other keys before it keyup ? #132

Open
HiZhaoxiaoyang opened this issue Jan 3, 2017 · 1 comment

Comments

@HiZhaoxiaoyang
Copy link

HiZhaoxiaoyang commented Jan 3, 2017

for instance , I pressed key 'a' and hold it, then tap other keys kown and up, the key 'a' will pressed continuously until key upped.

code like this:

`listener.single_repate("a", function() {

console.log("a will repeat continuously before key up");

});`

@dmauro
Copy link
Owner

dmauro commented Mar 20, 2017

That looks like your system is sending multiple key down events, which is pretty typical. I'm not totally clear on the behavior you're hoping for.

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

No branches or pull requests

2 participants