Property | Type | Description | |
---|---|---|---|
CurrentGamePadState | |||
CurrentKeyboardState | |||
LastGamePadState | |||
LastKeyboardState |
Method | Description | |
---|---|---|
IsNewKeyPress ( Keys key ) : bool |
Helper for checking if a key was newly pressed during this update.
|
|
Update ( ) : void |
Reads the latest state of the keyboard and gamepad.
|
public GamePadState,Microsoft.Xna.Framework.Input CurrentGamePadState | ||
return |
public KeyboardState,Microsoft.Xna.Framework.Input CurrentKeyboardState | ||
return |
public GamePadState,Microsoft.Xna.Framework.Input LastGamePadState | ||
return |