We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This might be user error by me, or maybe it is already solved, but i couldn't find a similar issue.
My code is
#include <iostream> #include "hidapi.h" int main() { hid_enumerate(0, 0); std::cout << "---END---" << std::endl; }
Output:
---END--- 6 6 1 6 1 80 1 1 1 1 92 6 1 6 2 2 1 6 E 1 1 1 6 A1 80 5 80 1 1 1 A1 1 1
The numbers seem to be the usage for each hid device.
The weird thing is that they are printed after the code ends.
Whether hid_init(), hid_exit() or hid_free_enumeration() get called doesn't influence this issue.
hid_init()
hid_exit()
hid_free_enumeration()
OS: Windows 10 Compiler: MSVC C++ 17 HIDAPI version: I reproduced this on 0.14.0, 0.11.0 and 0.9.0
The text was updated successfully, but these errors were encountered:
very interesting winapi backend doesn't even have the printf anywhere is the behavior changes if you you printf instead of cout?
printf
cout
Sorry, something went wrong.
No, it doesn't seem to change anything, neither does removing it
No branches or pull requests
This might be user error by me, or maybe it is already solved, but i couldn't find a similar issue.
My code is
Output:
The numbers seem to be the usage for each hid device.
The weird thing is that they are printed after the code ends.
Whether
hid_init()
,hid_exit()
orhid_free_enumeration()
get called doesn't influence this issue.OS: Windows 10
Compiler: MSVC C++ 17
HIDAPI version: I reproduced this on 0.14.0, 0.11.0 and 0.9.0
The text was updated successfully, but these errors were encountered: