Joystick Class

SFML.Net

Joystick Class
Give access to the real-time state of the joysticks
Inheritance Hierarchy
SystemObject  SFML.WindowJoystick

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public static class Joystick
Public NotInheritable Class Joystick
public ref class Joystick abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Joystick =  class end

The Joystick type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetAxisPosition
Get the current position of a joystick axis
Public methodStatic memberGetButtonCount
Return the number of buttons supported by a joystick
Public methodStatic memberGetIdentification
Get the joystick information
Public methodStatic memberHasAxis
Check if a joystick supports a given axis
Public methodStatic memberIsButtonPressed
Check if a joystick button is pressed
Public methodStatic memberIsConnected
Check if a joystick is connected
Public methodStatic memberUpdate
Update the states of all joysticks
Top
Fields
  NameDescription
Public fieldStatic memberAxisCount
Maximum number of supported axes
Public fieldStatic memberButtonCount
Maximum number of supported buttons
Public fieldStatic memberCount
Maximum number of supported joysticks
Top
See Also