nut.js icon indicating copy to clipboard operation
nut.js copied to clipboard

Keyboard should have a function that allows you to listen for keypress events

Open zaneschepke opened this issue 2 years ago • 1 comments

Short overview Keyboard should allow you to listen for user keypress events

Use case This would allow users of nutjs to be able to trigger different automated flows based on keypress events/macros/etc.

Detailed description Add a method to keyboard that has a callback in which users can see keypress events by user.

zaneschepke avatar Feb 23 '23 18:02 zaneschepke

I agree, this would be a really useful feature, especially when making a script that relies on user input to trigger different automations

Justiniscoding avatar Sep 01 '23 10:09 Justiniscoding