Reputation: 11796
Is it possible to track mouse click on the shell in node.js.
Something link:
process.on('mousepress', function(data){
});
Upvotes: 0
Views: 2359
Reputation: 7253
The keypress
package has this feature:
https://www.npmjs.com/package/keypress#listening-for-mousepress-events
Upvotes: 1