Files
SDL/src
Sam Lantinga e2ec976735 hidapi/libusb: maintain in-memory cache of vendor/product strings
The get_usb_string call is rather expensive on some USB devices, so we
cache the vendor/product strings for future lookups (e.g. when
hid_enumerate is invoked again later).

This way, we only need to ask libusb for strings for devices we haven't
seen since before we started.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
Signed-off-by: Sam Lantinga <slouken@libsdl.org>
2023-05-26 08:19:04 -07:00
..
2023-05-26 08:19:04 -07:00
2023-03-30 14:02:04 -07:00
2023-05-26 08:19:04 -07:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00