hidapi
Public Attributes | List of all members
hid_device_info Struct Reference

hidapi info structure More...

#include <hidapi.h>

Public Attributes

char * path
 Platform-specific device path.
 
unsigned short vendor_id
 Device Vendor ID.
 
unsigned short product_id
 Device Product ID.
 
wchar_t * serial_number
 Serial Number.
 
unsigned short release_number
 Device Release Number in binary-coded decimal, also known as Device Version Number.
 
wchar_t * manufacturer_string
 Manufacturer String.
 
wchar_t * product_string
 Product string.
 
unsigned short usage_page
 Usage Page for this Device/Interface (Windows/Mac only). More...
 
unsigned short usage
 Usage for this Device/Interface (Windows/Mac only). More...
 
int interface_number
 The USB interface which this logical device represents. More...
 
struct hid_device_infonext
 Pointer to the next device.
 

Detailed Description

hidapi info structure

Member Data Documentation

§ interface_number

int hid_device_info::interface_number

The USB interface which this logical device represents.

Valid on both Linux implementations in all cases, and valid on the Windows implementation only if the device contains more than one interface.

§ usage

unsigned short hid_device_info::usage

Usage for this Device/Interface (Windows/Mac only).

§ usage_page

unsigned short hid_device_info::usage_page

Usage Page for this Device/Interface (Windows/Mac only).


The documentation for this struct was generated from the following file: