C# Class SFML.Window.JoystickMoveEventArgs

Joystick axis move event parameters
Inheritance: System.EventArgs
Mostra file Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
Axis Joystick.Axis
JoystickId uint
Position float

Public Methods

Method 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 method

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

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

Axis public_oe property

Joystick axis (see JoyAxis enum)
public Joystick.Axis Axis
return Joystick.Axis

JoystickId public_oe property

Index of the joystick which triggered the event
public uint JoystickId
return uint

Position public_oe property

Current position of the axis
public float Position
return float