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)

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: BooleanTrue if the joystick is connected, false otherwise
