Joystick.GetButtonCount Method

SFML.Net

JoystickGetButtonCount Method
Return the number of buttons supported by a joystick

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public static uint GetButtonCount(
	uint joystick
)
Public Shared Function GetButtonCount ( 
	joystick As UInteger
) As UInteger
public:
static unsigned int GetButtonCount(
	unsigned int joystick
)
static member GetButtonCount : 
        joystick : uint32 -> uint32 

Parameters

joystick
Type: SystemUInt32
Index of the joystick

Return Value

Type: UInt32
Number of buttons supported by the joystick
See Also