I've been looking for a native nodejs module that supports mouse and keyboard listening and execution
i found this.. https://npmjs.org/package/mouse but the source code looks like it only supports the browsers.
I've been looking for a native nodejs module that supports mouse and keyboard listening and execution
i found this.. https://npmjs.org/package/mouse but the source code looks like it only supports the browsers.
Try iohook module.
It support Windows/Linux/MacOS
You can wrap the
Robot Class
provided by Java for a cross platform solution using thenode-java
module.Working example:
Take a look at https://github.com/Loknar/node-macmouse
$ npm install macmouse
example.js
var mouse = require('macmouse');
I've been working on a module for sending mouse and keyboard events, RobotJS.
Example code:
Then for listening I use nw.js:
https://github.com/nwjs/nw.js/wiki/Shortcut