C# Class DS4Api.DS4

Afficher le fichier Open project: Flafla2/Unity-DS4 Class Usage Examples

Méthodes publiques

Свойство Type Description
MaxWriteFrequency int
dump byte[]

Méthodes publiques

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

Méthode Description
SendThread ( ) : void

Method Details

DS4() public méthode

public DS4 ( IntPtr hidapi_handle, string hidapi_path ) : System
hidapi_handle System.IntPtr
hidapi_path string
Résultat System

ReadDS4Data() public méthode

public ReadDS4Data ( ) : DS4Data
Résultat DS4Data

RecieveRaw() public static méthode

public static RecieveRaw ( IntPtr hidapi_handle, byte buf ) : int
hidapi_handle System.IntPtr
buf byte
Résultat int

SendRaw() public static méthode

public static SendRaw ( IntPtr hidapi_handle, byte data ) : int
hidapi_handle System.IntPtr
data byte
Résultat int

Property Details

MaxWriteFrequency public_oe static_oe property

public static int MaxWriteFrequency
Résultat int

dump public_oe property

public byte[] dump
Résultat byte[]