![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Information about a discovered HID device. More...
#include <pihidevice.h>
Classes | |
| struct | AxisInfo |
| Description of a HID axis. More... | |
| struct | ButtonInfo |
| Description of a HID button. More... | |
| struct | ValueInfoBase |
| Common information for HID controls addressed by index. More... | |
Public Member Functions | |
| bool | isNull () const |
| Returns true when this descriptor does not point to a device. | |
| bool | isNotNull () const |
| Returns true when this descriptor points to a device. | |
| bool | match (const PIString &str) const |
| Checks whether product name or path contains str ignoring case. | |
| int | axesCount () const |
| Returns total number of discovered axes. | |
| int | axesAbsoluteCount () const |
| Returns number of absolute axes. | |
| int | axesRelativeCount () const |
| Returns number of relative axes. | |
| int | buttonsCount () const |
| Returns total number of discovered buttons. | |
Public Attributes | |
| PIString | path |
| Device path that can be passed to PIHIDevice::open(). | |
| PIString | manufacturer |
| Manufacturer name. | |
| PIString | product |
| Product name. | |
| PIString | serial |
| Device serial number when available. | |
| PIString | version |
| Device version string. | |
| PIString | VID |
| USB vendor identifier. | |
| PIString | PID |
| USB product identifier. | |
| PIVector< AxisInfo > | axes |
| All discovered axes in report order. | |
| PIVector< ButtonInfo > | buttons |
| All discovered buttons. | |
Related Functions | |
(Note that these are not member functions.) | |
| PICout | operator<< (PICout s, const PIHIDeviceInfo &v) |
| Prints short HID device information to PICout. | |
Information about a discovered HID device.