Commit f5a0f74
hid_error implementation for libusb (#708)
- 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 <matheus@matheusmoreira.com>1 parent 657b9fa commit f5a0f74
2 files changed
Lines changed: 463 additions & 112 deletions
0 commit comments