C# Class ScpControl.Bluetooth.Ds3.BthDs3

Represents a DualShock 3 controller connected via Bluetooth.
Inheritance: BthDevice
Afficher le fichier Open project: nefarius/ScpToolkit

Méthodes publiques

Méthode Description
BthDs3 ( IBthDevice device, System.Net.NetworkInformation.PhysicalAddress master, byte lsb, byte msb ) : System
InitHidReport ( byte report ) : bool
ParseHidReport ( byte report ) : void

Interprets a HID report sent by a DualShock 3 device.

Rumble ( byte large, byte small ) : bool

Send a rumble request to the controller.

Start ( ) : bool

Méthodes protégées

Méthode Description
Process ( System.DateTime now ) : void

Method Details

BthDs3() public méthode

public BthDs3 ( IBthDevice device, System.Net.NetworkInformation.PhysicalAddress master, byte lsb, byte msb ) : System
device IBthDevice
master System.Net.NetworkInformation.PhysicalAddress
lsb byte
msb byte
Résultat System

InitHidReport() public méthode

public InitHidReport ( byte report ) : bool
report byte
Résultat bool

ParseHidReport() public méthode

Interprets a HID report sent by a DualShock 3 device.
public ParseHidReport ( byte report ) : void
report byte The HID report as byte array.
Résultat void

Process() protected méthode

protected Process ( System.DateTime now ) : void
now System.DateTime
Résultat void

Rumble() public méthode

Send a rumble request to the controller.
public Rumble ( byte large, byte small ) : bool
large byte Rumble with large (left) motor.
small byte Rumble with small (right) motor.
Résultat bool

Start() public méthode

public Start ( ) : bool
Résultat bool