public class HIDDeviceInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getInterface_number()
Get the USB interface which this logical device
represents.
|
java.lang.String |
getManufacturer_string()
Get the device manufacturer string.
|
java.lang.String |
getPath()
Get the platform-specific device path.
|
int |
getProduct_id()
Get the device USB product ID.
|
java.lang.String |
getProduct_string()
Get the device product string
|
int |
getRelease_number()
Get the device release number in binary-coded decimal,
also known as device version number.
|
java.lang.String |
getSerial_number()
Get the device serial number.
|
int |
getUsage_page()
Get the device usage page (Windows/Mac only).
|
int |
getUsage()
Get the device usage (Windows/Mac only).
|
int |
getVendor_id()
Get the device USB vendor ID.
|
HIDDevice |
open()
Open a HID device using a path name from this class.
|
java.lang.String |
toString()
Override method for conversion this object to
String |
public java.lang.String getPath()
public int getVendor_id()
public int getProduct_id()
public java.lang.String getSerial_number()
public int getRelease_number()
public java.lang.String getManufacturer_string()
public java.lang.String getProduct_string()
public int getUsage_page()
public int getUsage()
public int getInterface_number()
public HIDDevice open() throws java.io.IOException
HIDDevice object
java.io.IOException
public java.lang.String toString()
String object.
toString
in class java.lang.Object
String object