C# Class SFML.Window.JoystickMoveEventArgs

Joystick axis move event parameters
Inheritance: System.EventArgs
Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
Axis Joystick.Axis
JoystickId uint
Position float

Méthodes publiques

Méthode Description
JoystickMoveEventArgs ( JoystickMoveEvent e ) : System

Construct the joystick move arguments from a joystick move event

ToString ( ) : string

Provide a string describing the object

Method Details

JoystickMoveEventArgs() public méthode

Construct the joystick move arguments from a joystick move event
public JoystickMoveEventArgs ( JoystickMoveEvent e ) : System
e JoystickMoveEvent Joystick move event
Résultat System

ToString() public méthode

Provide a string describing the object
public ToString ( ) : string
Résultat string

Property Details

Axis public_oe property

Joystick axis (see JoyAxis enum)
public Joystick.Axis Axis
Résultat Joystick.Axis

JoystickId public_oe property

Index of the joystick which triggered the event
public uint JoystickId
Résultat uint

Position public_oe property

Current position of the axis
public float Position
Résultat float