Skip to content
mspisars edited this page May 18, 2012 · 9 revisions

node-hid is a node.js implementation of HIDAPI

These wiki pages are an attempt to document the implemented functionality.

Currently these are the implemented methods:

_module is your module handle (i.e. var _module = require("HID");)

_handle is your device handle (i.e. var _handle = new _module.HID("...");)

  • _module.HID
  • _module.devices
  • _handle.close
  • _handle.read
  • _handle.write
  • _handle.constructor
  • _handle.getFeatureReport
  • _handle.sendFeatureReport
  • _handle.setNonBlocking

A good HIDAPI reference can be found here - HIDAPI

Clone this wiki locally