Microsoft DirectX 9.0 SDK Update (October 2004)

JoystickState.GetButtons Method

Language:

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

Array of buttons. The high-order bit of the byte is set if the corresponding button is down, and clear if the button is up or does not exist.

Definition

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

Return Value

System.Byte[].


© 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