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

Listening for mouse and keypress events #84

Closed
deamme opened this issue Sep 9, 2015 · 5 comments
Closed

Listening for mouse and keypress events #84

deamme opened this issue Sep 9, 2015 · 5 comments

Comments

@deamme
Copy link

deamme commented Sep 9, 2015

Can I listen for mouse and keypress events and do something accordingly?

@octalmage
Copy link
Owner

I don't think I'll include this in RobotJS, but I'm considering making a separate module. See #55.

Personally I use nw.js or Electron for this. You can have global hotkeys with both projects.

@deamme
Copy link
Author

deamme commented Sep 14, 2015

@octalmage I see - Can NW.js and Electron detect mouse events?

@octalmage
Copy link
Owner

No, only key-presses (hotkeys).

@deamme
Copy link
Author

deamme commented Sep 14, 2015

Okay, thanks!

@octalmage
Copy link
Owner

No problem! I forgot to mention that RobotJS can get the mouse position.

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