libusb/hidapi

HIDAPI error: ReadFile(0x00000005) denied access

HM281099 opened this issue · 3 comments

development environment: windows11

occurs when I read the data, how to solve it,

thanks

Youw commented

What kind of device are you trying to open/read?

Youw commented

How do you ensure you really do have permissions to read from that device?

  thans for this reply

reason: HIDAPI won't work keyboards and mic on windows,

the development device is similar to the above devices

by modifying the device descriptor to a user-defined device , solve it.