Skip to content
An example of reading input from a physical keyboard or other USB HID into a Node application
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile.template
README.md
index.html
package.json
server.js

README.md

node-keyboard-input

This is an example of bringing input from a physical keyboard into your balena project.

The application will run a web server on port 80 that prints the input received from the keyboard in real time using socket.io.

Note: the vendor and product IDs specified in server.js will need to be updated to match that of your own hardware in order for the driver to know which device to open.

You can’t perform that action at this time.