Node Hid Versions Save

Access USB & Bluetooth HID devices through Node.js

v1.1.0

4 years ago
  • Includes updated hidapi that allows Macs to see devices with multiple usages/usagePages (#348)
  • Prebuilds now include Node v13 and Electron v6 (#352)

v1.0.0

4 years ago

Now uses libusb/hidapi! This should fix several outstanding issues. Added support for Electron v7. Up to Node v12 is supported (Node v13 isn't in node-abi yet, so prebuild can't make prebuilt binaries for it)

v0.7.9

5 years ago

Linux: Add HID.setDriverType(type) where type can be "libusb" or "hidraw".

All Linux prebuilds have both driver types.

v0.7.8

5 years ago

Update to support Node v12 Remove NAN deprecations when building

v0.7.7

5 years ago

Update prebuild and bindings to solve Electron/node-abi prebuild issue #293.

v0.7.6

5 years ago

Works with Electron v4.0.0 and Node v11.x. However, prebuilds for Electron v4 had to be removed because prebuild is generating wrong binaries some how.

v0.7.5

5 years ago

Small fixes for Node v11.0 and Electron v4.0.0.

Note: Removed Electron prebuilds for Node v11 & Electron v4 because still getting the error:

dyld: lazy symbol binding failed: Symbol not found
 Expected in: flat namespace

v0.7.4

5 years ago

v0.7.3

5 years ago

Update to support Node v10

v0.7.2

6 years ago

In this release:

  • Roll-back HID.setDriverType() support for Linux as it broke prebuilds for everyone (see issue #242)
  • Linux: default to hidraw driver instead of libusb (so usagePage works on Linux, for crypto keys mainly). See details below

NOTE for Linux users:

  • If you have udev rules they will need to be updated. For instance, for blink(1), the udev rules to support both libusb and hidraw would be in the file /etc/udev/rules.d/51-blink1.rules and contain:
    SUBSYSTEM=="input", GROUP="input", MODE="0666"
    SUBSYSTEM=="usb", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE:="666", GROUP="plugdev"
    KERNEL=="hidraw*", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0666", GROUP="plugdev"
    
    To install the new rules, unplug the HID device and run the command:
    sudo udevadm control --reload-rules