Method | Description | |
---|---|---|
Clear ( ) : void |
Resets the instance to its initial state.
|
|
Report ( ) : System.Collections.Generic |
Initializes a new instance of the Report class.
|
|
Scan ( byte buffer, int offset, ReportScanCallback callback ) : void |
Reads a HID report, calling back a provided function for each segment.
|
|
Write ( ReportScanCallback callback ) : byte[] |
Writes a HID report, calling back a provided function for each segment.
|
public Report ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public Scan ( byte buffer, int offset, ReportScanCallback callback ) : void | ||
buffer | byte | The buffer containing the report. |
offset | int | The offset to begin reading the report at. |
callback | ReportScanCallback | /// This callback will be called for each report segment. /// Use this to read every value you need. /// |
return | void |
public Write ( ReportScanCallback callback ) : byte[] | ||
callback | ReportScanCallback | /// This callback will be called for each report segment. /// Write to each segment to write a complete HID report. /// |
return | byte[] |