Export (0) Print
Expand All

KeyboardState.Item Property

Returns the state of a particular key.

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

public KeyState this [
         Keys key
] { get; }

Property Value

The state of the key specified by key.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2014 Microsoft