Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
KeyState Enumeration

KeyState Enumeration

Identifies the state of a keyboard key.
Bb197769.note(en-us,XNAGameStudio.31).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

© 2015 Microsoft