C# Class XInputDotNetPure.GamePad

Afficher le fichier Open project: ShreveportArcade/InControl Class Usage Examples

Méthodes publiques

Méthode Description
GetState ( PlayerIndex playerIndex ) : GamePadState
GetState ( PlayerIndex playerIndex, GamePadDeadZone deadZone ) : GamePadState
SetVibration ( PlayerIndex playerIndex, float leftMotor, float rightMotor ) : void

Method Details

GetState() public static méthode

public static GetState ( PlayerIndex playerIndex ) : GamePadState
playerIndex PlayerIndex
Résultat GamePadState

GetState() public static méthode

public static GetState ( PlayerIndex playerIndex, GamePadDeadZone deadZone ) : GamePadState
playerIndex PlayerIndex
deadZone GamePadDeadZone
Résultat GamePadState

SetVibration() public static méthode

public static SetVibration ( PlayerIndex playerIndex, float leftMotor, float rightMotor ) : void
playerIndex PlayerIndex
leftMotor float
rightMotor float
Résultat void