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 oflibusb
- Linux driver type can be changed at runtime with
HID.setDriverType()
(see README for details) - Both
device.write()
anddevice.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:
To install the new rules, unplug the blink(1) device and run the command:KERNEL=="hidraw*", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0666", GROUP="plugdev"
sudo udevadm control --reload-rules