Keyboard.GetState Method
Returns the current keyboard or Chatpad state.
Overload List
Name | Description |
---|---|
Keyboard.GetState () | Returns the current keyboard state. |
Keyboard.GetState (PlayerIndex) | Returns the current Chatpad state for the specified player. |
See Also
Tasks
How To: Detect Whether a Key Is Pressed
Concepts
Reference
Keyboard Class
Keyboard Members
Microsoft.Xna.Framework.Input Namespace