Class JoystickMoveEventArgs
Provides data for the Move event. This class is cached for performance reasons - avoid storing references outside the scope of the event.
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Input
Assembly: cs.temp.dll.dll
Syntax
public class JoystickMoveEventArgs : JoystickEventArgs
Constructors
JoystickMoveEventArgs(Int32, Single, Single)
Initializes a new instance of the JoystickMoveEventArgs class.
Declaration
public JoystickMoveEventArgs(int axis, float value, float delta)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | axis | The index of the joystick axis that was moved. |
System.Single | value | The absolute value of the joystick axis. |
System.Single | delta | The relative change in value of the joystick axis. |
Properties
Axis
Gets a System.Int32 representing the index of the axis that was moved.
Declaration
public int Axis { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Delta
Gets a System.Single representing the relative change in the position of the axis.
Declaration
public float Delta { get; }
Property Value
Type | Description |
---|---|
System.Single |
Value
Gets a System.Single representing the absolute position of the axis.
Declaration
public float Value { get; }
Property Value
Type | Description |
---|---|
System.Single |