Skip to content

Commit

Permalink
hid_error implementation for libusb (#698)
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
Youw and matheusmoreira authored Oct 2, 2024
1 parent ba28d38 commit 3c24d0d
Show file tree
Hide file tree
Showing 2 changed files with 370 additions and 94 deletions.
Loading

0 comments on commit 3c24d0d

Please sign in to comment.