Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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