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 capture keyboard events? #28

Closed
bjrmatos opened this issue May 14, 2015 · 6 comments
Closed

How to capture keyboard events? #28

bjrmatos opened this issue May 14, 2015 · 6 comments

Comments

@bjrmatos
Copy link

Hello, It is possible to receive the key that was pressed when typing? something like onkeypress event in the browser.

My use case would be implement a keylogger :)

@octalmage
Copy link
Owner

Unfortunately this is not possibly with RobotJS currently, RobotJS is for sending events!

@DirkHeinke
Copy link

This would also allow to build a tool for expanding text snippets, which currently e.g. autokey can do.

Is a event/keyboard capturing planned for later or is it out of the scope of this project?

@octalmage
Copy link
Owner

See #55, I don't think I want to include this in RobotJS but I am interested in developing it since Node.js is missing a good solution.

@DirkHeinke
Copy link

Alright, sorry, I have somehow overseen that discussion. More modules makes sense to me. Good luck with it :)

@octalmage
Copy link
Owner

No worries! At least you found this one. :p

Thanks!

@VictorioBerra
Copy link

We have established robotjs is for sending events, does anyone know a library that can capture keypresses easily?

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

4 participants