node-red-contrib-io-hook 0.1.4

Node for capturing keystrokes and mousestrokes

npm install node-red-contrib-io-hook

Description

Node for capturing keystrokes and mousestrokes.

Installation

npm install node-red-contrib-io-hook

Installation of dependency

npm install iohook

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".

Example

What's new ?

  • 0.1.4
    • Updated documentation and image of example
  • 0.1.3
    • Updated documentation
  • 0.1.2
    • Updated documentation
  • 0.1.1
    • Now you can enable/disable node with msg.topic = "state"
    • Updated documentation
  • 0.0.1
    • Published on npm and Node-RED flows

Author

Copyright 2020 Bc. Jan Janovský

Faculty of Mechanical Engineering

Czech Technical University in Prague

License

Apache-2.0

Node Info

Version: 0.1.4
Updated 3 years, 9 months ago
License: Apache-2.0
Rating: not yet rated

Actions

Rate:

Downloads

16 in the last week

Nodes

  • Capture keys

Keywords

  • node-red
  • keyboard
  • mouse
  • capture

Maintainers