Ihor Dutchak
Ihor Dutchak
> the C function is just 'int swprintf(wchar_t *buffer, const wchar_t *format[, argument, ...]);' without size Do you have a reference where you've got it from? I have found at...
Closed by automation. @Stoccarda please confirm with latest master (and reopen is the issue(s) still there). Thanks.
This answer: https://stackoverflow.com/a/35072422/3697939 summarizes my oppinion on this.
very interesting winapi backend doesn't even have the `printf` anywhere is the behavior changes if you you `printf` instead of `cout`?
The thing is that there is no uniform to this approach. Depending on the platform - not everything is possible (e.g. libusb doesn't allow shared access to the device at...
Duplicate of #543 ?
For those who potentially want to start implementing this but don't know where to start (from HIDAPI POV) - here is an example me adding an experimental WinRT backend: https://github.com/libusb/hidapi/compare/winrt
Instead of linking against ~`uhid`~ `usbhid` HIDAPI could load it dynamically - that way we avoid symbol conflict. Also, for HIDAPI v1 I think `hid_init` will be renamed to `hidapi_initialize`...
> What I was referring to it the optional high level library `usbhid` Excuse me for confusion, I really meant `usbhid`. > Is there even an API in `hidapi` to...
I believe opening all devices at once would be overkill, if even possible (what about exclusive/shared access, read/write permissions, etc.?). Lookup table - yes, plus lazy device opening, only if/when...