C# Class NewTOAPIA.InputReport

Defines a base class for input reports. To use input reports, use the SetData method and override the ProcessData method.
Inheritance: Report
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
InputReport ( HidDevice oDev ) : System

Construction. Do nothing

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.

Method Details

InputReport() public method

Construction. Do nothing
public InputReport ( HidDevice oDev ) : System
oDev HidDevice Creating device
return System

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