Open
Description
We could do both: allow SDL filter out devices like this, _and_ avoid patching HIDAPI sources if we would introduce something like:
typedef int (*HID_API_CALL hidapi_ven_dev_filter_func)(unsigned short vendor_id, unsigned short product_id);
struct hid_device_info HID_API_EXPORT * HID_API_CALL hid_enumerate_ven_dev_filter(hidapi_ven_dev_filter_func);
But that is a different effort, and would definitely need an implementation on all platforms.
Originally posted by @Youw in #575 (comment)
Metadata
Assignees
Labels
Type
Projects
Status
To do