C# 클래스 ScpControl.Bluetooth.Ds4.BthDs4

Represents a DualShock 4 controller connected via Bluetooth.
상속: BthDevice
파일 보기 프로젝트 열기: nefarius/ScpToolkit

공개 메소드들

메소드 설명
BthDs4 ( ) : System
BthDs4 ( 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 4 device.

Rumble ( byte large, byte small ) : bool

Send Rumble request to controller.

Start ( ) : bool

보호된 메소드들

메소드 설명
Process ( System.DateTime now ) : void

비공개 메소드들

메소드 설명
SetLightBarColor ( DsPadId value ) : void

메소드 상세

BthDs4() 공개 메소드

public BthDs4 ( ) : System
리턴 System

BthDs4() 공개 메소드

public BthDs4 ( 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 4 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 Rumble request to controller.
public Rumble ( byte large, byte small ) : bool
large byte Larg motor.
small byte Small motor.
리턴 bool

Start() 공개 메소드

public Start ( ) : bool
리턴 bool