-
Notifications
You must be signed in to change notification settings - Fork 898
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
embed HIDAPI directly MVS #377
Comments
What is MVS? And HIDAPI has nothing to do with WinUSB. |
MVC = Microsoft visual studio. |
Maybe you can name a few device behave this way. Are they USB composite device (HID + WinUSB)? If it is WinUSB, then you can not use HIDAPI. As you mentioned, Zadig can switch driver. Technically you can use WinUSB driver for HID device but then it will lose the function as an HID device and not able to use HIDAPI. |
To use with visual studio, you can add the header file and the library to your project. |
"As you mentioned, Zadig can switch driver. Technically you can use WinUSB driver for HID device but then it will lose the function as an HID device and not able to use HIDAPI." - Yes that is what I see. In my case this is a HID device not winusb. I'm not sure why win10 is using winusb with it but it does not in all cases. |
What is this device? Can you print out the USB descriptor?
|
Just a game pad with a huge force feedback descriptor almost identical to the ms side winder. |
I believe Windows will not use WinUSB for an HID device unless user switch the driver to WinUSB. There is also a possibility that the device has two interfaces, one is HID and use the HID driver. The other is a custom interface using WinUSB. |
`kIOMasterPortDefault` is deprecated since macOS 12.0. One alternative is to use named constant `kIOMainPortDefault` which is not available before macOS 12.0. Both named constants are just an alias for `NULL`, so it is simpler to use it directly instead. Fixes: signal11#377
How is this done in MVS? I currently must have the hidapi.dll in my execute folder. How can I built it directly in to my application. Idea being to avoid winusb. winusb is interfering in some way and I'm hoping this will fix that.
The text was updated successfully, but these errors were encountered: