C# 클래스 ScpControl.BusDevice

상속: ScpDevice
파일 보기 프로젝트 열기: nefarius/ScpToolkit 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
BusDevice ( ) : System
Close ( ) : bool
IndexToSerial ( byte index ) : int

Translates Pad ID to bus device offset.

Open ( int instance ) : bool
Open ( string devicePath ) : bool
Parse ( ScpControl.Shared.Core.ScpHidReport inputReport ) : ScpControl.Shared.XInput.XINPUT_GAMEPAD

Translates an ScpHidReport to an Xbox 360 compatible byte array.

Plugin ( int serial ) : bool
Resume ( ) : bool
Start ( ) : bool
Stop ( ) : bool
Suspend ( ) : bool
Unplug ( int serial ) : bool

메소드 상세

BusDevice() 공개 메소드

public BusDevice ( ) : System
리턴 System

Close() 공개 메소드

public Close ( ) : bool
리턴 bool

IndexToSerial() 공개 메소드

Translates Pad ID to bus device offset.
public IndexToSerial ( byte index ) : int
index byte The Pad ID to translate.
리턴 int

Open() 공개 메소드

public Open ( int instance ) : bool
instance int
리턴 bool

Open() 공개 메소드

public Open ( string devicePath ) : bool
devicePath string
리턴 bool

Parse() 공개 메소드

Translates an ScpHidReport to an Xbox 360 compatible byte array.
public Parse ( ScpControl.Shared.Core.ScpHidReport inputReport ) : ScpControl.Shared.XInput.XINPUT_GAMEPAD
inputReport ScpControl.Shared.Core.ScpHidReport The to translate.
리턴 ScpControl.Shared.XInput.XINPUT_GAMEPAD

Plugin() 공개 메소드

public Plugin ( int serial ) : bool
serial int
리턴 bool

Resume() 공개 메소드

public Resume ( ) : bool
리턴 bool

Start() 공개 메소드

public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : bool
리턴 bool

Suspend() 공개 메소드

public Suspend ( ) : bool
리턴 bool

Unplug() 공개 메소드

public Unplug ( int serial ) : bool
serial int
리턴 bool