C# Class DS4Api.DS4

Show file Open project: Flafla2/Unity-DS4 Class Usage Examples

Public Properties

Property Type Description
MaxWriteFrequency int
dump byte[]

Public Methods

Method Description
DS4 ( IntPtr hidapi_handle, string hidapi_path ) : System
ReadDS4Data ( ) : DS4Data
RecieveRaw ( IntPtr hidapi_handle, byte buf ) : int
SendRaw ( IntPtr hidapi_handle, byte data ) : int

Private Methods

Method Description
SendThread ( ) : void

Method Details

DS4() public method

public DS4 ( IntPtr hidapi_handle, string hidapi_path ) : System
hidapi_handle System.IntPtr
hidapi_path string
return System

ReadDS4Data() public method

public ReadDS4Data ( ) : DS4Data
return DS4Data

RecieveRaw() public static method

public static RecieveRaw ( IntPtr hidapi_handle, byte buf ) : int
hidapi_handle System.IntPtr
buf byte
return int

SendRaw() public static method

public static SendRaw ( IntPtr hidapi_handle, byte data ) : int
hidapi_handle System.IntPtr
data byte
return int

Property Details

MaxWriteFrequency public static property

public static int MaxWriteFrequency
return int

dump public property

public byte[] dump
return byte[]