Joystick.HasAxis Method

SFML.Net

JoystickHasAxis Method
Check if a joystick supports a given axis

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

Parameters

joystick
Type: SystemUInt32
Index of the joystick
axis
Type: SFML.WindowJoystickAxis
Axis to check

Return Value

Type: Boolean
True if the joystick supports the axis, false otherwise
See Also