Inheritance Hierarchy
HidSharp.Reports.InputHidDeviceInputReceiver
Namespace: HidSharp.Reports.Input
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax
The HidDeviceInputReceiver type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HidDeviceInputReceiver | Initializes a new instance of the HidDeviceInputReceiver class |
Methods
| Name | Description | |
|---|---|---|
| Start |
Starts the receiver. It will continue until the stream is closed or the device is disconnected.
Be sure to call TryRead(Byte, Int32, Report) to read HID reports as they come in.
| |
| TryRead |
Checks for pending HID reports.
|
Properties
| Name | Description | |
|---|---|---|
| IsRunning | true if the receiver is running.
false if the receiver has stopped, or has not yet been started.
| |
| ReportDescriptor | ||
| Stream |
The stream associated with this receiver.
| |
| WaitHandle |
This will be signaled any time there is data, or when the receiver has stopped due to stream closure or device disconnect.
To clear the signal, call TryRead(Byte, Int32, Report) until there is no more data.
If the receiver has stopped, the signal cannot be cleared.
|
Events
| Name | Description | |
|---|---|---|
| Received | ||
| Started | ||
| Stopped |
See Also