C# Class Microsoft.Xna.Framework.Input.GamePad

Supports querying the game controllers and setting the vibration motors.
Show file Open project: procfxgen/MGShaderEditor Class Usage Examples

Private Methods

Method Description
AddButtonIfPressed ( SharpDX buttonFlags, SharpDX xInputButton, Buttons xnaButton ) : Buttons
AddThumbstickButtons ( short thumbX, short thumbY, short deadZone, Buttons thumbstickLeft, Buttons thumbStickRight, Buttons thumbStickUp, Buttons thumbStickDown ) : Buttons
ConvertToButtonState ( SharpDX buttonFlags, SharpDX desiredButton ) : ButtonState
ConvertToButtons ( SharpDX buttonFlags, short leftThumbX, short leftThumbY, short rightThumbX, short rightThumbY, byte leftTrigger, byte rightTrigger ) : Microsoft.Xna.Framework.Input.GamePadButtons
GetDefaultState ( ) : GamePadState
PlatformGetCapabilities ( int index ) : GamePadCapabilities
PlatformGetState ( int index, GamePadDeadZone deadZoneMode ) : GamePadState
PlatformSetVibration ( int index, float leftMotor, float rightMotor ) : bool