C# Класс ScpControl.Bluetooth.Ds3.BthDs3

Represents a DualShock 3 controller connected via Bluetooth.
Наследование: BthDevice
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Process ( System.DateTime now ) : void

Описание методов

BthDs3() публичный Метод

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
Результат System

InitHidReport() публичный Метод

public InitHidReport ( byte report ) : bool
report byte
Результат bool

ParseHidReport() публичный Метод

Interprets a HID report sent by a DualShock 3 device.
public ParseHidReport ( byte report ) : void
report byte The HID report as byte array.
Результат void

Process() защищенный Метод

protected Process ( System.DateTime now ) : void
now System.DateTime
Результат void

Rumble() публичный Метод

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.
Результат bool

Start() публичный Метод

public Start ( ) : bool
Результат bool