C# 클래스 ScpControl.Bluetooth.Ds3.BthDs3

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

공개 메소드들

메소드 설명
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