February 2015
Intermediate to advanced
768 pages
26h 24m
English
When you declare a device capability for a HID device, you use humaninterfacedevice as the protocol name, and the m2:Function Type value is used to specify the usage:
<Capabilities> <m2:DeviceCapability Name="humaninterfacedevice"> <m2:Device Id="device"> <m2:Function Type="usage:usagePage usageId"/> </m2:Device> </m2:DeviceCapability> ... </Capabilities>
The device specification supports the vidpid format shown earlier, or it can be set to any. The usagePage and usageId values are hexadecimal numbers that identify the intended usage of the device. (There can be more than one m2:Function element if more than one usage applies.) A usage page represents a broad ...
Read now
Unlock full access