C# 클래스 ScpControl.RootHub

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Close ( ) : bool

Stops all underlying hubs, disposes acquired resources and saves the global configuration.

GetPadDetail ( DsPadId pad ) : DualShockPadMeta
GetProfiles ( ) : IEnumerable
GetStatusData ( ) : IEnumerable
IsNativeFeedAvailable ( ) : bool

Checks if the native stream is available or disabled in configuration.

Notify ( ScpDevice notification, string Class, string path ) : DsPadId

Gets called when a device was plugged in.

Open ( ) : bool

Opens and initializes devices and services listening and running on the local machine.

PromotePad ( byte pad ) : void
RemoveProfile ( DualShockProfile profile ) : void
RequestConfiguration ( ) : GlobalConfiguration

Requests the currently active configuration set from the root hub.

Resume ( ) : bool
RootHub ( ) : System
RootHub ( IContainer container ) : System
Rumble ( DsPadId pad, byte large, byte small ) : bool
Start ( ) : bool

Starts listening for incoming requests and starts all underlying hubs.

Stop ( ) : bool

Stops all underlying hubs and disposes acquired resources.

SubmitConfiguration ( GlobalConfiguration configuration ) : void

Submits an altered copy of the global configuration to the root hub and saves it.

SubmitProfile ( DualShockProfile profile ) : void
Suspend ( ) : bool

보호된 메소드들

메소드 설명
OnDeviceArrival ( object sender, ArrivalEventArgs e ) : void
OnHidReportReceived ( object sender, ScpHidReport e ) : void

메소드 상세

Close() 공개 메소드

Stops all underlying hubs, disposes acquired resources and saves the global configuration.
public Close ( ) : bool
리턴 bool

GetPadDetail() 공개 메소드

public GetPadDetail ( DsPadId pad ) : DualShockPadMeta
pad DsPadId
리턴 DualShockPadMeta

GetProfiles() 공개 메소드

public GetProfiles ( ) : IEnumerable
리턴 IEnumerable

GetStatusData() 공개 메소드

public GetStatusData ( ) : IEnumerable
리턴 IEnumerable

IsNativeFeedAvailable() 공개 메소드

Checks if the native stream is available or disabled in configuration.
public IsNativeFeedAvailable ( ) : bool
리턴 bool

Notify() 공개 메소드

Gets called when a device was plugged in.
public Notify ( ScpDevice notification, string Class, string path ) : DsPadId
notification ScpDevice The type.
Class string The device class of the currently affected device.
path string The device path of the currently affected device.
리턴 DsPadId

OnDeviceArrival() 보호된 메소드

protected OnDeviceArrival ( object sender, ArrivalEventArgs e ) : void
sender object
e ArrivalEventArgs
리턴 void

OnHidReportReceived() 보호된 메소드

protected OnHidReportReceived ( object sender, ScpHidReport e ) : void
sender object
e ScpHidReport
리턴 void

Open() 공개 메소드

Opens and initializes devices and services listening and running on the local machine.
public Open ( ) : bool
리턴 bool

PromotePad() 공개 메소드

public PromotePad ( byte pad ) : void
pad byte
리턴 void

RemoveProfile() 공개 메소드

public RemoveProfile ( DualShockProfile profile ) : void
profile DualShockProfile
리턴 void

RequestConfiguration() 공개 메소드

Requests the currently active configuration set from the root hub.
public RequestConfiguration ( ) : GlobalConfiguration
리턴 GlobalConfiguration

Resume() 공개 메소드

public Resume ( ) : bool
리턴 bool

RootHub() 공개 메소드

public RootHub ( ) : System
리턴 System

RootHub() 공개 메소드

public RootHub ( IContainer container ) : System
container IContainer
리턴 System

Rumble() 공개 메소드

public Rumble ( DsPadId pad, byte large, byte small ) : bool
pad DsPadId
large byte
small byte
리턴 bool

Start() 공개 메소드

Starts listening for incoming requests and starts all underlying hubs.
public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

Stops all underlying hubs and disposes acquired resources.
public Stop ( ) : bool
리턴 bool

SubmitConfiguration() 공개 메소드

Submits an altered copy of the global configuration to the root hub and saves it.
public SubmitConfiguration ( GlobalConfiguration configuration ) : void
configuration GlobalConfiguration The global configuration object.
리턴 void

SubmitProfile() 공개 메소드

public SubmitProfile ( DualShockProfile profile ) : void
profile DualShockProfile
리턴 void

Suspend() 공개 메소드

public Suspend ( ) : bool
리턴 bool