KeyState Enumeration
Identifies the state of a keyboard key.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public enum KeyState
Members
Member name | Description | |
---|---|---|
Down | The key is pressed. | |
Up | The key is released. |
See Also
Reference
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista