C# Class Mirror.UsbLibrary.InputReport

Defines a base class for input reports. To use input reports, use the SetData method and override the ProcessData method.
Inheritance: Report
Exibir arquivo Open project: suan/mirlite Class Usage Examples

Public Methods

Method Description
ProcessData ( ) : void

Override this to process the input report into something useful

SetData ( byte arrData ) : void

Call this to set the buffer given a raw input report. Calls an overridable method to should automatically parse the bytes into meaningul structures.

Protected Methods

Method Description
InputReport ( HIDDevice oDev )

Construction. Do nothing

Method Details

InputReport() protected method

Construction. Do nothing
protected InputReport ( HIDDevice oDev )
oDev HIDDevice Creating device

ProcessData() public abstract method

Override this to process the input report into something useful
public abstract ProcessData ( ) : void
return void

SetData() public method

Call this to set the buffer given a raw input report. Calls an overridable method to should automatically parse the bytes into meaningul structures.
public SetData ( byte arrData ) : void
arrData byte Raw input report.
return void