TwiceAsNice  2019-02-18
Public Attributes | List of all members
hid_device_info Struct Reference

hidapi info structure More...

#include <hidapi.h>

Collaboration diagram for hid_device_info:
Collaboration graph

Public Attributes

char * path
 Platform-specific device path. More...
 
unsigned short vendor_id
 Device Vendor ID. More...
 
unsigned short product_id
 Device Product ID. More...
 
wchar_t * serial_number
 Serial Number. More...
 
unsigned short release_number
 Device Release Number in binary-coded decimal, also known as Device Version Number. More...
 
wchar_t * manufacturer_string
 Manufacturer String. More...
 
wchar_t * product_string
 Product string. More...
 
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. More...
 

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.

◆ manufacturer_string

wchar_t * hid_device_info::manufacturer_string

Manufacturer String.

◆ next

struct hid_device_info * hid_device_info::next

Pointer to the next device.

◆ path

char * hid_device_info::path

Platform-specific device path.

◆ product_id

unsigned short hid_device_info::product_id

Device Product ID.

◆ product_string

wchar_t * hid_device_info::product_string

Product string.

◆ release_number

unsigned short hid_device_info::release_number

Device Release Number in binary-coded decimal, also known as Device Version Number.

◆ serial_number

wchar_t * hid_device_info::serial_number

Serial Number.

◆ 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).

◆ vendor_id

unsigned short hid_device_info::vendor_id

Device Vendor ID.


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