Joystick Methods

SFML.Net

Joystick Methods

The Joystick type exposes the following members.

Methods
  Name Description
Public method Static member GetAxisPosition
Get the current position of a joystick axis
Public method Static member GetButtonCount
Return the number of buttons supported by a joystick
Public method Static member GetIdentification
Get the joystick information
Public method Static member HasAxis
Check if a joystick supports a given axis
Public method Static member IsButtonPressed
Check if a joystick button is pressed
Public method Static member IsConnected
Check if a joystick is connected
Public method Static member Update
Update the states of all joysticks
Top
See Also