Class GorgonHIDEventArgs
Event arguments for an DataReceived event.
Inherited Members
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public class GorgonHIDEventArgs : EventArgs
Constructors
| Edit this page View SourceGorgonHIDEventArgs(GorgonPtr<byte>, int, int)
Initializes a new instance of the GorgonHIDEventArgs class.
Declaration
public GorgonHIDEventArgs(GorgonPtr<byte> data, int size, int count)
Parameters
Type | Name | Description |
---|---|---|
GorgonPtr<byte> | data | The HID data. |
int | size | The size of an individual HID input. |
int | count | The number of HID inputs. |
Properties
| Edit this page View SourceCount
Property to return the number of HID inputs within the Data
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
Data
Property to return the data buffer storing the HID data.
Declaration
public GorgonPtr<byte> Data { get; }
Property Value
Type | Description |
---|---|
GorgonPtr<byte> |
HIDSize
Property to return the size of an individual HID input in the Data, in bytes.
Declaration
public int HIDSize { get; }
Property Value
Type | Description |
---|---|
int |