-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usage
has been removed in node-hid
#4
Comments
Good catch! Please submit a PR and I'll put it in. |
Would you know how it works on Windows? Are |
I see that usage and usagePage are available on windows, and interface too. So it should be okay switching to using the interface attribute instead |
device.usage has been removed in node-hid, see #4
This has been addressed in 2883c46 , released in versions |
Refer to: node-hid/node-hid#120
This library depends on
usage
to find the right HID device.I made it working by using the
interface
field instead.Device with
interface
of0
is the correct one to listen to.The text was updated successfully, but these errors were encountered: