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 | Key is pressed. | |
Up | Key is released. |
See Also
Reference
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone