This class contains the basic information about an HID device to access and open it. The class is mostly used internally and rarely accessed directly by the user.
This class is populated with information read from the device, and represents some of the internal information of the device.
Open the device that is described by this HIDInfo
an HID - the device
post the HIDInfo in a human readable way
The path of the device, this is a path defined by the operating system, and thus not the same across platforms, but essential to distinguish devices with the same vendor and product ID from each other.
The vendor ID of the device, this is a number encoded by the device itself, and the same across platforms.
The product ID of the device, this is a number encoded by the device itself, and the same across platforms.
The vendor name of the device, this is a string encoded by the device itself, and the same across platforms.
The product name of the device, this is a string encoded by the device itself, and the same across platforms.
The serial number of the device. This is dependent on the operating system, e.g. on Linux it is not set.
The release number of the device, this is a number encoded by the device itself, and the same across platforms.
Type of interface of the device, can be an index standing for USB, Bluetooth, etc.
Retrieve the usage index of this collection.
a Number - the usage index of this collection
Retrieve the usage page index of this collection.
a Number- the usage page index
Retrieve the usage name of this collection. The name is looked up from the standardized HID usage tables using the usage page index.
a String - the usage name
Retrieve the page name of this collection. The name is looked up from the standardized HID usage tables using the usage page index.
a String - the usage page name