C# Class XInputDotNetPure.GamePad

Show file Open project: ShreveportArcade/InControl Class Usage Examples

Public Methods

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

Method Details

GetState() public static method

public static GetState ( PlayerIndex playerIndex ) : GamePadState
playerIndex PlayerIndex
return GamePadState

GetState() public static method

public static GetState ( PlayerIndex playerIndex, GamePadDeadZone deadZone ) : GamePadState
playerIndex PlayerIndex
deadZone GamePadDeadZone
return GamePadState

SetVibration() public static method

public static SetVibration ( PlayerIndex playerIndex, float leftMotor, float rightMotor ) : void
playerIndex PlayerIndex
leftMotor float
rightMotor float
return void