KeyState Enumeration

Identifies the state of a keyboard key.
Bb197769.note(en-US,XNAGameStudio.30).gifZune Specific Information
Keyboard state information is not supported. This value of this enumeration is always KeyState.Up.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public enum KeyState

 Member nameDescription
DownThe key is pressed.
UpThe key is released.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions