Joystick
JoystickAxisController Class
NamespacesDXJoystickJoystickAxisController
A class to connect an IValueControl to an axis of a joystick.
Declaration Syntax
C#Visual BasicVisual C++
public class JoystickAxisController : JoystickController
Public Class JoystickAxisController _
	Inherits JoystickController
public ref class JoystickAxisController : public JoystickController
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
JoystickAxisController(Joystick, IValueControl)
Constructor.

JoystickAxisController(Joystick, IValueControl, Joystick..::.Axes, Int32, Int32, Boolean)
Constructor.

AfterJoystickChange()()()
Respond to a completed change to the Joystick property.
(Overrides JoystickController.AfterJoystickChange()()().)
Axis
Get or set the joystick axis of control.

BeforeJoystickChange()()()
Respond to a pending change to the Joystick property.
(Overrides JoystickController.BeforeJoystickChange()()().)
Control
Get the object being controlled.
(Inherited from JoystickController.)
ControllerType
Get the type of this controller.
(Inherited from JoystickController.)
DeadZone
Get or set the deadband zone for the axis, as a percent of the full range.

Dispose()()()
Make sure all events are disconnected.
(Inherited from JoystickController.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flip
Get or set the option to flip the axis direction.

GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Joystick
Get or set the joystick doing the controlling.
(Inherited from JoystickController.)
Load(XmlNode)
Load the JoystickController from an XmlNode.
(Inherited from JoystickController.)
Loaded()()()
Allow final configuration after all properties are loaded.
(Overrides JoystickController.Loaded()()().)
Max
Get or set the range, above and below 0, for the axis.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Get the Name representing this controller.
(Inherited from JoystickController.)
Rate
Get or set the default rate for IValueControl movement.
(Inherited from JoystickController.)
Save(XmlNode)
Save the JoystickController to an XmlNode.
(Inherited from JoystickController.)
SetAxisDeadZone()()()
Set the DeadZone for the axis, from stored parameters.

SetAxisRange()()()
Set the range for the axis, from stored parameters.

ToString()()()
Return the string representation of the object.
(Inherited from JoystickController.)
Remarks
Moving the joystick in the negative direction of the specified axis will move the IValueControl toward its ValueMax. Moving the joystick in the positive direction of the specified axis will move the IValueControl toward its ValueMin. The IValueControl ValueRate depends on the amount of deflection on the axis and is limited by the specified Max. If the stick is in the axis dead zone, the IValueControl value will be held.
Inheritance Hierarchy
Object
JoystickController
 JoystickAxisController

Assembly: Joystick (Module: Joystick) Version: 1.0.3.0