0
I’m starting at the Electron, with that I need some help.
How do I detect if the keyboard or mouse has been triggered? If one of the two has not been touched in less than 1 minute run a command.
Thank you.
0
I’m starting at the Electron, with that I need some help.
How do I detect if the keyboard or mouse has been triggered? If one of the two has not been touched in less than 1 minute run a command.
Thank you.
Browser other questions tagged javascript node.js electron
You are not signed in. Login or sign up in order to post.
Want to run the command after 1 minute if they haven’t been touched? You want to make this detection only 1 time?
– Sam
Can be with pure Javascript?
– Sam
Hi Sam, it would be routine while the PC is on. I don’t know if only pure JS solves, the DOC is on this link https://electronjs.org/docs, but I still don’t know how to use it...
– Tiago
@Sam can give me that strength?
– Tiago
I don’t know, because I thought it was a website.
– Sam
Try this lib, maybe you can help: https://github.com/wilix-team/iohook
– Gomiero