KeyboardState.GetPressedKeys Method

Gets an array of values that correspond to the keyboard keys that are currently being pressed.
Bb197212.note(en-US,XNAGameStudio.30).gifZune Specific Information
Keyboard state information is not supported. This method always returns an empty array.

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

public Keys[] GetPressedKeys ()

Return Value

The keys that are currently pressed.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions