-
Notifications
You must be signed in to change notification settings - Fork 460
Open
Labels
enhancementNew feature or requestNew feature or request
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
To do