Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Access HID devices through Node.JS
C++ JavaScript
branch: master

This branch is 5 commits ahead, 74 commits behind node-hid:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
hidapi @ 992fef2
src
.gitignore
.gitmodules
README.md

README.md

node-hid - Access USB HID devices from node.js

Prerequisites:

Mac OS (I use 10.6.8) or Linux (I use Ubuntu 11.10 with Linux 3.0 on x86_64) node.js v0.6, built from source.

Build the extension:

$ cd src/
$ node-waf configure build

Try it:

$ node-waf show-devices.js
devices: [ { vendorId: 1452,
    productId: 595,
    path: 'USB_05ac_0253_0x100a148e0',
    serialNumber: '',
    manufacturer: 'Apple Inc.',
    product: 'Apple Internal Keyboard / Trackpad',
    release: 280,
    interface: -1 },
  { vendorId: 1452,
    productId: 595,
    path: 'USB_05ac_0253_0x100a14e20',
    serialNumber: '',
    manufacturer: 'Apple Inc.',
    product: 'Apple Internal Keyboard / Trackpad',
    release: 280,
    interface: -1 },
<and more>

If you need help, send me an email (hans.huebner@gmail.com)

Something went wrong with that request. Please try again.