npm node-hid 0.7.0
node-hid v0.7.0

latest releases: 3.0.0, 2.2.0, 2.1.2...
6 years ago

New and potentially breaking changes:

  • Now we can have usagePages on Linux! Should address issues #180 #168 #190
  • Linux hidraw driver is now used by default instead of libusb
  • Linux driver type can be changed at runtime with HID.setDriverType() (see README for details)
  • Both device.write() and device.sendFeatureReport() return number of bytes written. Issue #234

Note: no prebuilt binaries available for this release

NOTE for Linux users:

  • Blink1Contro2 uses node-hid@0.7 which uses the 'hidraw' driver instead of 'libusb'. This means you need to edit your /etc/udev/rules.d/51-blink1.rules file to also contain:
    KERNEL=="hidraw*", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0666", GROUP="plugdev"
    
    To install the new rules, unplug the blink(1) device and run the command:
    sudo udevadm control --reload-rules
    

Don't miss a new node-hid release

NewReleases is sending notifications on new releases.