Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.
/ hid-listen Public archive

Library for acquiring debugging information from usb hid devices

License

Notifications You must be signed in to change notification settings

zvecr/hid-listen

Repository files navigation

hid-listen

Library for acquiring debugging information from usb hid devices

npm version Build Status Codacy Badge Dependabot Status

NodeJS implementation of https://www.pjrc.com/teensy/hid_listen.html.

Install

$ npm install hid-listen

Usage

const HIDListen = require('hid-listen');

const inst = new HIDListen();
inst.on('connect', () => {
    console.log('Listening:');
});
inst.on('disconnect', () => {
    console.log('Device disconnected.');
    console.log('Waiting for new device:');
});
inst.on('data', (data) => {
    console.log(data);
});

About

Library for acquiring debugging information from usb hid devices

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •