node-red-contrib-iohook-napi

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i node-red-contrib-iohook-napi

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

134 kB

Total Files

7

Last publish

Collaborators

  • tokiostudio