C# Class ScpControl.BusDevice

Inheritance: ScpDevice
Afficher le fichier Open project: nefarius/ScpToolkit Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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

Method Details

BusDevice() public méthode

public BusDevice ( ) : System
Résultat System

Close() public méthode

public Close ( ) : bool
Résultat bool

IndexToSerial() public méthode

Translates Pad ID to bus device offset.
public IndexToSerial ( byte index ) : int
index byte The Pad ID to translate.
Résultat int

Open() public méthode

public Open ( int instance ) : bool
instance int
Résultat bool

Open() public méthode

public Open ( string devicePath ) : bool
devicePath string
Résultat bool

Parse() public méthode

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.
Résultat ScpControl.Shared.XInput.XINPUT_GAMEPAD

Plugin() public méthode

public Plugin ( int serial ) : bool
serial int
Résultat bool

Resume() public méthode

public Resume ( ) : bool
Résultat bool

Start() public méthode

public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : bool
Résultat bool

Suspend() public méthode

public Suspend ( ) : bool
Résultat bool

Unplug() public méthode

public Unplug ( int serial ) : bool
serial int
Résultat bool