thegecko / webusb

Node.js implementation of the WebUSB Specification
https://thegecko.github.io/webusb/
MIT License
183 stars 27 forks source link

Add support for USBDevice.clearHalt() #1

Closed thegecko closed 6 years ago

thegecko commented 6 years ago

The specification outlines a clearHalt() method which needs implementing on the USBDevice:

https://wicg.github.io/webusb/#dom-usbdevice-clearhalt

This method isn't supported in node-usb, so it's likely the blocking function libusb_clear_halt needs exposing there first.