C# Class MFIGamepadFeeder.Gamepad

Inheritance: IDisposable
Afficher le fichier Open project: Axadiw/MFIGamepadFeeder Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Gamepad ( GamepadConfiguration config, VGenWrapper vGenWrapper, HidDeviceLoader hidDeviceLoader ) : System
Start ( ) : bool
Stop ( ) : void
UpdateState ( byte state ) : void

Private Methods

Méthode Description
ConvertToButtonState ( byte value ) : bool
InvertNormalizedAxis ( double axisToInvert ) : double
Log ( string message ) : void
NormalizeAxis ( double valueToNormalize, bool shouldConvert ) : double
PlugInToHidDeviceAndStartLoop ( ) : bool
PlugInToXBoxController ( ) : bool
UnPlugXBoxController ( ) : bool
UpdateAxis ( double itemValue, GamepadMappingItem configForCurrentItem ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Gamepad() public méthode

public Gamepad ( GamepadConfiguration config, VGenWrapper vGenWrapper, HidDeviceLoader hidDeviceLoader ) : System
config MFIGamepadShared.Configuration.GamepadConfiguration
vGenWrapper vGenWrapper.VGenWrapper
hidDeviceLoader HidSharp.HidDeviceLoader
Résultat System

Start() public méthode

public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : void
Résultat void

UpdateState() public méthode

public UpdateState ( byte state ) : void
state byte
Résultat void