Microsoft DirectX 9.0 SDK Update (October 2004)

Device.GetPressedKeys Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the currently pressed keys on a keyboard device.

Definition

Visual Basic .NET Public Function GetPressedKeys() As Key()
C# public Key[] GetPressedKeys();
Managed C++ public: Key GetPressedKeys() __gc[];
JScript .NET public function GetPressedKeys() : Key[];

Return Value

Microsoft.DirectX.DirectInput.Key[].


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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