Skip navigation links
A B C E F G H I M N O P R S T U V W 

A

add(HidServicesListener) - Method in class org.hid4java.event.HidServicesListenerList
 
addHidServicesListener(HidServicesListener) - Method in class org.hid4java.HidServices
 

B

buffer - Variable in class org.hid4java.jna.WideStringBuffer
 

C

clear() - Method in class org.hid4java.event.HidServicesListenerList
Removes all listeners
close() - Method in class org.hid4java.HidDevice
Close this device freeing the HidApi resources
close(HidDeviceStructure) - Static method in class org.hid4java.jna.HidApi
Close a HID device

E

enumerateDevices(int, int) - Static method in class org.hid4java.jna.HidApi
Enumerate the attached HID devices
equals(Object) - Method in class org.hid4java.HidDevice
 
executeExample() - Method in class UsbHidTrezorV1Example
 
exit() - Static method in class org.hid4java.jna.HidApi
Finalise the HID API library

F

fireHidDeviceAttached(HidDevice) - Method in class org.hid4java.event.HidServicesListenerList
Fire the HID device attached event
fireHidDeviceDetached(HidDevice) - Method in class org.hid4java.event.HidServicesListenerList
Fire the HID device detached event
fireHidFailure(HidDevice) - Method in class org.hid4java.event.HidServicesListenerList
Fire the HID failure event
freeEnumeration(HidDeviceInfoStructure) - Static method in class org.hid4java.jna.HidApi
Free an enumeration linked list

G

getAttachedHidDevices() - Method in class org.hid4java.HidServices
 
getFeatureReport(byte[], byte) - Method in class org.hid4java.HidDevice
Get a feature report from a HID device
getFeatureReport(HidDeviceStructure, byte[], byte) - Static method in class org.hid4java.jna.HidApi
Get a feature report from a HID device
getFieldOrder() - Method in class org.hid4java.jna.HidDeviceInfoStructure
 
getFieldOrder() - Method in class org.hid4java.jna.HidDeviceStructure
 
getFieldOrder() - Method in class org.hid4java.jna.WideStringBuffer
 
getHidDevice() - Method in class org.hid4java.event.HidServicesEvent
 
getHidDevice(int, int, String) - Method in class org.hid4java.HidServices
 
getHidServices() - Static method in class org.hid4java.HidManager
 
getId() - Method in class org.hid4java.HidDevice
The "path" is well-supported across Windows, Mac and Linux so makes a better choice for a unique ID See #8 for details
getIndexedString(int) - Method in class org.hid4java.HidDevice
Get a string from a HID device, based on its string index
getIndexedString(HidDeviceStructure, int) - Static method in class org.hid4java.jna.HidApi
Get a string from a HID device, based on its string index
getInterfaceNumber() - Method in class org.hid4java.HidDevice
 
getLastErrorMessage() - Method in class org.hid4java.HidDevice
 
getLastErrorMessage(HidDeviceStructure) - Static method in class org.hid4java.jna.HidApi
 
getListeners() - Method in class org.hid4java.event.HidServicesListenerList
 
getManufacturer() - Method in class org.hid4java.HidDevice
 
getManufacturer(HidDeviceStructure) - Static method in class org.hid4java.jna.HidApi
 
getPath() - Method in class org.hid4java.HidDevice
 
getProduct() - Method in class org.hid4java.HidDevice
 
getProductId() - Method in class org.hid4java.HidDevice
 
getProductId(HidDeviceStructure) - Static method in class org.hid4java.jna.HidApi
 
getReleaseNumber() - Method in class org.hid4java.HidDevice
 
getSerialNumber() - Method in class org.hid4java.HidDevice
 
getSerialNumber(HidDeviceStructure) - Static method in class org.hid4java.jna.HidApi
 
getUsage() - Method in class org.hid4java.HidDevice
 
getUsagePage() - Method in class org.hid4java.HidDevice
 
getVendorId() - Method in class org.hid4java.HidDevice
 

H

hashCode() - Method in class org.hid4java.HidDevice
 
hasNext() - Method in class org.hid4java.jna.HidDeviceInfoStructure
 
hid_close(Pointer) - Method in interface org.hid4java.jna.HidApiLibrary
Close a HID device
hid_enumerate(short, short) - Method in interface org.hid4java.jna.HidApiLibrary
Enumerate the HID Devices.
hid_error(Pointer) - Method in interface org.hid4java.jna.HidApiLibrary
Get a string describing the last error which occurred.
hid_exit() - Method in interface org.hid4java.jna.HidApiLibrary
Finalize the HIDAPI library.
hid_free_enumeration(Pointer) - Method in interface org.hid4java.jna.HidApiLibrary
Free an enumeration linked list
hid_get_feature_report(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Get a feature report from a HID device.
hid_get_indexed_string(Pointer, int, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Get a string from a HID device, based on its string index.
hid_get_manufacturer_string(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Get the manufacturer string from a HID device
hid_get_product_string(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Get the product number string from a HID device
hid_get_serial_number_string(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Get the serial number string from a HID device
hid_init() - Method in interface org.hid4java.jna.HidApiLibrary
Initialize the HIDAPI library.
hid_open(short, short, WString) - Method in interface org.hid4java.jna.HidApiLibrary
Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally a serial number.
hid_open_path(String) - Method in interface org.hid4java.jna.HidApiLibrary
Open a HID device by its path name.
hid_read(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Read an Input report from a HID device.
hid_read_timeout(Pointer, Structure.ByReference, int, int) - Method in interface org.hid4java.jna.HidApiLibrary
Read an Input report from a HID device with timeout.
hid_send_feature_report(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Send a Feature report to the device.
hid_set_nonblocking(Pointer, int) - Method in interface org.hid4java.jna.HidApiLibrary
Set the device handle to be non-blocking.
hid_write(Pointer, Structure.ByReference, int) - Method in interface org.hid4java.jna.HidApiLibrary
Write an Output report to a HID device.
HidApi - Class in org.hid4java.jna
JNA utility class to provide the following to low level operations:
HidApi() - Constructor for class org.hid4java.jna.HidApi
 
HidApiLibrary - Interface in org.hid4java.jna
JNA library interface to act as the proxy for the underlying native library
HidDevice - Class in org.hid4java
High level wrapper to provide the following to API consumers:
HidDevice(HidDeviceInfoStructure) - Constructor for class org.hid4java.HidDevice
 
hidDeviceAttached(HidServicesEvent) - Method in interface org.hid4java.HidServicesListener
A HID device was attached
hidDeviceAttached(HidServicesEvent) - Method in class UsbHidTrezorV1Example
 
hidDeviceDetached(HidServicesEvent) - Method in interface org.hid4java.HidServicesListener
A HID device was detached
hidDeviceDetached(HidServicesEvent) - Method in class UsbHidTrezorV1Example
 
HidDeviceInfoStructure - Class in org.hid4java.jna
Value object to provide HID device information
HidDeviceInfoStructure() - Constructor for class org.hid4java.jna.HidDeviceInfoStructure
 
HidDeviceStructure - Class in org.hid4java.jna
Low level JNA value object to provide a HID device pointer
HidDeviceStructure(Pointer) - Constructor for class org.hid4java.jna.HidDeviceStructure
 
HidException - Exception in org.hid4java
Caught exception to provide the following to API consumers:
HidException(String) - Constructor for exception org.hid4java.HidException
 
HidException(String, Throwable) - Constructor for exception org.hid4java.HidException
 
hidFailure(HidServicesEvent) - Method in interface org.hid4java.HidServicesListener
A HID failure occurred during scanning
hidFailure(HidServicesEvent) - Method in class UsbHidTrezorV1Example
 
HidManager - Class in org.hid4java
Factory to provide the following to API consumers:
HidManager() - Constructor for class org.hid4java.HidManager
 
HidServices - Class in org.hid4java
JNA bridge class to provide the following to USB HID:
HidServices() - Constructor for class org.hid4java.HidServices
Initialise and start scanning for USB devices at 500ms interval.
HidServices(boolean) - Constructor for class org.hid4java.HidServices
Initialise and start scanning for USB devices at 500ms interval.
HidServices(boolean, int) - Constructor for class org.hid4java.HidServices
Initialise and start scanning for USB devices at the given interval.
HidServicesEvent - Class in org.hid4java.event
Event to provide the following to API consumers:
HidServicesEvent(HidDevice) - Constructor for class org.hid4java.event.HidServicesEvent
 
HidServicesListener - Interface in org.hid4java
Interface to provide the following to API consumers:
HidServicesListenerList - Class in org.hid4java.event
HID services listener list
HidServicesListenerList() - Constructor for class org.hid4java.event.HidServicesListenerList
 

I

init() - Static method in class org.hid4java.jna.HidApi
Initialise the HID API library
INSTANCE - Static variable in interface org.hid4java.jna.HidApiLibrary
 
interface_number - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Interface number
isOpen() - Method in class org.hid4java.HidDevice
 
isVidPidSerial(int, int, String) - Method in class org.hid4java.HidDevice
 

M

main(String[]) - Static method in class UsbHidTrezorV1Example
 
manufacturer_string - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Manufacturer string

N

next - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Reference to next device
next() - Method in class org.hid4java.jna.HidDeviceInfoStructure
 

O

open() - Method in class org.hid4java.HidDevice
 
open(int, int, String) - Static method in class org.hid4java.jna.HidApi
Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally a serial number
open(String) - Static method in class org.hid4java.jna.HidApi
Open a HID device by its path name
org.hid4java - package org.hid4java
 
org.hid4java.event - package org.hid4java.event
 
org.hid4java.jna - package org.hid4java.jna
 

P

path - Variable in class org.hid4java.jna.HidDeviceInfoStructure
USB path
product_id - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Produce ID
product_string - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Usage Page for this Device/Interface (Windows/Mac only)
ptr - Variable in class org.hid4java.jna.HidDeviceStructure
 
ptr() - Method in class org.hid4java.jna.HidDeviceStructure
 

R

read(byte[]) - Method in class org.hid4java.HidDevice
Read an Input report from a HID device
read(byte[], int) - Method in class org.hid4java.HidDevice
Read an Input report from a HID device with timeout
read(HidDeviceStructure, byte[]) - Static method in class org.hid4java.jna.HidApi
Read an Input report from a HID device
read(HidDeviceStructure, byte[], int) - Static method in class org.hid4java.jna.HidApi
Read an Input report from a HID device with timeout
release_number - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Release number
remove(HidServicesListener) - Method in class org.hid4java.event.HidServicesListenerList
 
removeUsbServicesListener(HidServicesListener) - Method in class org.hid4java.HidServices
 

S

scan() - Method in class org.hid4java.HidServices
Manually scans for HID device connection changes and triggers listener events as required
sendFeatureReport(byte[], byte) - Method in class org.hid4java.HidDevice
Send a Feature report to the device
sendFeatureReport(HidDeviceStructure, byte[], byte) - Static method in class org.hid4java.jna.HidApi
Send a Feature report to the device using a simplified interface
serial_number - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Serial number
setNonBlocking(boolean) - Method in class org.hid4java.HidDevice
Set the device handle to be non-blocking
setNonBlocking(HidDeviceStructure, boolean) - Static method in class org.hid4java.jna.HidApi
Set the device handle to be non-blocking
show() - Method in class org.hid4java.jna.HidDeviceInfoStructure
 
shutdown() - Method in class org.hid4java.HidServices
Stop scanning for devices and shut down the HidApi
sleepUninterruptibly(long, TimeUnit) - Static method in class UsbHidTrezorV1Example
Invokes unit.sleep(sleepFor) uninterruptibly.
start() - Method in class org.hid4java.HidServices
Start scanning for devices (if not already scanning)
start(int) - Method in class org.hid4java.HidServices
Start scanning for devices with the specified interval (if not already scanning)
stop() - Method in class org.hid4java.HidServices
Stop scanning for devices and close connection to HidApi

T

toArray() - Method in class org.hid4java.event.HidServicesListenerList
Returns an array with the currently registered listeners.
toString() - Method in class org.hid4java.event.HidServicesEvent
 
toString() - Method in class org.hid4java.HidDevice
 
toString() - Method in class org.hid4java.jna.WideStringBuffer
hidapi uses wchar_t which is written l i k e t h i s (with '\0' in between)

U

usage - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Usage number
usage_page - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Usage for this Device/Interface (Windows/Mac only)
UsbHidTrezorV1Example - Class in <Unnamed>
Demonstrate the USB HID interface using a production Bitcoin Trezor
UsbHidTrezorV1Example() - Constructor for class UsbHidTrezorV1Example
 

V

vendor_id - Variable in class org.hid4java.jna.HidDeviceInfoStructure
Vendor ID

W

WideStringBuffer - Class in org.hid4java.jna
Wrapper for a wide character (WCHAR) structure
WideStringBuffer(int) - Constructor for class org.hid4java.jna.WideStringBuffer
 
WideStringBuffer(byte[]) - Constructor for class org.hid4java.jna.WideStringBuffer
 
write(byte[], int, byte) - Method in class org.hid4java.HidDevice
 
write(HidDeviceStructure, byte[], int, byte) - Static method in class org.hid4java.jna.HidApi
Write an Output report to a HID device using a simplified interface
A B C E F G H I M N O P R S T U V W 
Skip navigation links

Copyright © 2014–2015 Bitcoin Solutions Ltd. All rights reserved.