public struct InputDeviceCommand : IInputDeviceCommandInfo
 
Constructors
  
Declaration
public InputDeviceCommand(FourCC type, int sizeInBytes = 8)
 
Parameters
| Type | 
Name | 
Description | 
| FourCC | 
type | 
 | 
| System.Int32 | 
sizeInBytes | 
 | 
Fields
  
Declaration
public const int BaseCommandSize = 8
 
Field Value
| Type | 
Description | 
| System.Int32 | 
 | 
Generic failure code for  calls.
 
Declaration
public const long GenericFailure = -1L
 
Field Value
| Type | 
Description | 
| System.Int64 | 
 | 
Declaration
public const long GenericSuccess = 1L
 
Field Value
| Type | 
Description | 
| System.Int64 | 
 | 
Declaration
Field Value
| Type | 
Description | 
| System.Int32 | 
 | 
Declaration
Field Value
Properties
  
Declaration
public void *payloadPtr { get; }
 
Property Value
| Type | 
Description | 
| System.Void* | 
 | 
Declaration
public int payloadSizeInBytes { get; }
 
Property Value
| Type | 
Description | 
| System.Int32 | 
 | 
Declaration
public FourCC typeStatic { get; }
 
Property Value
Implements
Methods
  
Declaration
public static NativeArray<byte> AllocateNative(FourCC type, int payloadSize)
 
Parameters
| Type | 
Name | 
Description | 
| FourCC | 
type | 
 | 
| System.Int32 | 
payloadSize | 
 | 
Returns
| Type | 
Description | 
| NativeArray<System.Byte> | 
 |