Share via


JoystickState.GetButtons() Method (Microsoft.DirectX.DirectInput)

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 Public Function GetButtons() As Byte()
C# public byte[] GetButtons();
C++ public:
array<unsigned char>^ GetButtons();
JScript public function GetButtons() : byte[];

Return Value

System.Byte[]