node-hid supports Node.js v6 and upwards. For versions before that, you will need to build from source. The platforms, architectures and node versions node-hid supports are the following. In general we try to provide pre-built native library binaries for the most common platforms, Node and Electron versions. We strive to make node-hid cross-platform so there's a good chance any combination not listed here will compile and work. We are using prebuild to compile and post binaries of the library for most common use cases (Linux, MacOS, Windows on standard processor platforms). If a prebuild is not available, node-hid will work, but npm install node-hid will compile the binary when you install. In the src/ directory, various JavaScript programs can be found that talk to specific devices in some way.
Features
- Display all HID devices in the system
- Read PS3 joystick and control its LED & rumblers
- Read Griffin PowerMate knob and change its LED
- Fade colors on blink(1) RGB LED
- Read Dreamcheeky Big Red Button
- Read/write Teensy running RawHID "Basic" Arduino sketch