Skip to content
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

hid_error implementation for libusb #708

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

hid_error implementation for libusb #708

wants to merge 3 commits into from

Conversation

Youw
Copy link
Member

@Youw Youw commented Nov 20, 2024

  • hid_error is set correctly for most of the API functions (except hid_enumerate/hid_open/etc.);
  • refactored iconv routines - common code for utf16 and utf8 to wchar_t implementation;
  • hid_libusb_error to have libusb error code when possible;

Closes: #690
Fixes: #684

Co-authored-by: Matheus Afonso Martins Moreira [email protected]

Youw and others added 2 commits October 2, 2024 14:22
- hid_error is set correctly for most of the API functions (except hid_enumerate/hid_open/etc.);
- refactored iconv routines - common code for utf16 and utf8 to wchar_t implementation;
- `hid_libusb_error` to have libusb error code when possible;

Closes: #690
Fixes: #684

Co-authored-by: Matheus Afonso Martins Moreira <[email protected]>
@Youw Youw marked this pull request as draft November 20, 2024 21:03
@Youw
Copy link
Member Author

Youw commented Nov 20, 2024

Still need to implement global error.

@mcuee mcuee added the Core Related to common codes like hidapi.h label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Related to common codes like hidapi.h
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libusb backend: "hid_error is not implemented yet"
2 participants