Tod Kurt

Results 368 comments of Tod Kurt

What OS and node/Electron version are you using?

I suspect this may be due to how Catalina handles permissions now. Are you signing your app and giving it the correct entitlements? Alternatively, can you test on a non-Catalina...

`node-hid` is just a subclass of `EventEmitter` and doesn't do anything tricky in that department beyond adding a new "data" event. However, while the `nodehid.js` wrapper was written awhile ago...

What is the HID Report Descriptor for your device? That is usually more important than lsusb or ioreg output. On Linux you can use `usbhid-dump` for USB HID devices and...

In the case of `usagePage` vs `usage`, `usagePage` is the "container" (e.g. within a usagePage are several usages), and your device in question is `usagePage = 0xFF00`, a "vendor-defined" usagePage,...

Some quick thoughts: * Are you using the exact same code on Linux & Mac? * Are you adding an extra byte to the length to account for the reportId...

It sounds like Chrome is grabbing the device and opening it in exclusive mode. Two questions: - If you quit Chrome on MacOS, can `node-hid` access the device? - What...

Hmm. The usagePage in that HID Report Descriptor doesn't seem like it's a reserved one. Since`node-hid` is just a thin wrapper on the C-library [`hidapi`](https://github.com/libusb/hidapi/) and uses standard MacOS HID...

Yes, sorry. I meant that the 0xF1D0 usagePage isn't one of the ones that MacOS will grab like Desktop, Keyboard, or Consumer.

What is the code you used?