node-red-contrib-uiohook-napi
v1.0.5
Published
Get mouse and keypress in node-red. a multi-use keylogger for PPT and automation
Downloads
22
Maintainers
Readme
node-red-contrib-iohook
Description
Node for capturing keystrokes and mousestrokes.
Installation
npm install node-red-contrib-uiohook-napi
Installation of dependency
npm install uiohook-napi
Information
Simple node to catch key strokes on your keyboard and mouse.
Input: messages with msg.topic set to "state" with msg.payload true/false [boolean] are used to control scanning of keyboard strokes and mouse clicks. Other messages are discarded.
Output: msg.topic is either "keyboard" or "mouse" following by msg.payload typeof number with number of keystroke or number of button clicked on mouse. When the control message is recieved, node sends message about changed state if command is correct with msg.topic "info".
Author
Copyright 2023 Simone Montanari
License
ISC