Device.GetPressedKeys() Method (Microsoft.DirectX.DirectInput)

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[]