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

hidapi/libusb: maintain in-memory cache of vendor/product strings #571

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 26, 2023

  1. 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 <[email protected]>
    Signed-off-by: Sam Lantinga <[email protected]>
    slouken committed May 26, 2023
    Configuration menu
    Copy the full SHA
    e2f8caa View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Merge branch 'master' into 0001-hidapi-libusb-maintain-in-memory-cach…

    …e-of-vendor-pro.patch
    mcuee committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    9dd96df View commit details
    Browse the repository at this point in the history