C# Class USBHIDTest.InputReport

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

Méthodes publiques

Méthode 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 méthode

Construction. Do nothing
public InputReport ( HIDDevice oDev ) : System
oDev HIDDevice Creating device
Résultat System

ProcessData() public abstract méthode

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

SetData() public méthode

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.
Résultat void