Method | Description | |
---|---|---|
ApplyDeadZone ( Vector2 direction, GamePadDeadZone deadZone, float power ) : Vector2 | ||
BlockInputs ( IEnumerable |
||
Evaluate ( Microsoft.Xna.Framework.GameTime gameTime, Control focused, UserInterface ui ) : void | ||
GamepadDevice ( Microsoft.Xna.Framework.PlayerIndex player ) : System | ||
IsBlocked ( IEnumerable |
||
IsButtonDown ( Buttons button ) : bool | ||
IsButtonNewlyDown ( Buttons button ) : bool | ||
IsButtonNewlyUp ( Buttons button ) : bool | ||
IsButtonUp ( Buttons button ) : bool | ||
Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void | ||
WasButtonDown ( Buttons button ) : bool | ||
WasButtonUp ( Buttons button ) : bool |
Method | Description | |
---|---|---|
Rescale ( float value, float min, float max ) : float | ||
RescaleAxis ( float value, float power ) : float | ||
RescaleMagnitude ( Vector2 direction, float power ) : Vector2 |
public ApplyDeadZone ( Vector2 direction, GamePadDeadZone deadZone, float power ) : Vector2 | ||
direction | Vector2 | |
deadZone | GamePadDeadZone | |
power | float | |
return | Vector2 |
public BlockInputs ( IEnumerable |
||
inputs | IEnumerable |
|
return | void |
public Evaluate ( Microsoft.Xna.Framework.GameTime gameTime, Control focused, UserInterface ui ) : void | ||
gameTime | Microsoft.Xna.Framework.GameTime | |
focused | Control | |
ui | UserInterface | |
return | void |
public GamepadDevice ( Microsoft.Xna.Framework.PlayerIndex player ) : System | ||
player | Microsoft.Xna.Framework.PlayerIndex | |
return | System |
public IsBlocked ( IEnumerable |
||
inputs | IEnumerable |
|
return | bool |
public IsButtonDown ( Buttons button ) : bool | ||
button | Buttons | |
return | bool |
public IsButtonNewlyDown ( Buttons button ) : bool | ||
button | Buttons | |
return | bool |
public IsButtonNewlyUp ( Buttons button ) : bool | ||
button | Buttons | |
return | bool |
public Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void | ||
gameTime | Microsoft.Xna.Framework.GameTime | |
return | void |
public WasButtonDown ( Buttons button ) : bool | ||
button | Buttons | |
return | bool |