I'd like to use a custom usage page ID with usb devices that may have different vendor and product ids so the devices will be detected solely by the usage page and the usage ids. Is there a central registry for the vendor defined usage page id's starting with 0xFF or do I just have to select a random one and hope that there isn't a conflict in the future? Is there a way to tag the HID interface so that it is easily detectable in a way that won't have potential conflicts in the future?
As I understand it, device identification should be done thru VID, PID, etc., not thru HID-specific descriptors. Also, currently it seems there are only 0xFF vendor-specific Usage Pages, as Usage Page is 16-bit:
HID Usage Tables 1.12, 2004/10/28, pg15:
FF00-FFFF | Vendor-defined
Device Class Definition for Human Interface Devices 1.11, 2001/06/27, pg17:
A Usage is interpreted as a 32 bit unsigned value where the high order 16 bits
defines the Usage Page and the low order 16 bits defines a Usage ID. Usage IDs
are used to select individual Usage on a Usage Page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With