Joystick.IsConnected Method

SFML.Net

JoystickIsConnected Method
Check if a joystick is connected

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

Parameters

joystick
Type: SystemUInt32
Index of the joystick to check

Return Value

Type: Boolean
True if the joystick is connected, false otherwise
See Also