Device.GetPressedKeys Method

Language:

Retrieves the currently pressed keys on a keyboard device.

Definition

Visual Basic Public Function GetPressedKeys() As Key()
C# public Key[] GetPressedKeys();
C++ public:
array<Key>^ GetPressedKeys();
JScript public function GetPressedKeys() : Key[];

Return Value

Microsoft.DirectX.DirectInput.Key[]


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center