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



IconMemberDescription
JoystickButtonPairController(Joystick, IValueControl)
Constructor.

JoystickButtonPairController(Joystick, IValueControl, Int32, Int32)
Constructor.

AfterJoystickChange()()()
Respond to a completed change to the Joystick property.
(Overrides JoystickController.AfterJoystickChange()()().)
BeforeJoystickChange()()()
Respond to a pending change to the Joystick property.
(Overrides JoystickController.BeforeJoystickChange()()().)
ButtonDown
Get or set the index of the button to decrease the control value.

ButtonUp
Get or set the index of the button to increase the control value.

Control
Get the object being controlled.
(Inherited from JoystickController.)
ControllerType
Get the type of this controller.
(Inherited from JoystickController.)
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.)
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.
(Inherited from JoystickController.)
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 rate for IValueControl movement.
(Overrides JoystickController.Rate.)
Save(XmlNode)
Save the JoystickController to an XmlNode.
(Inherited from JoystickController.)
ToString()()()
Return the string representation of the object.
(Inherited from JoystickController.)
Remarks
Pressing the first joystick button will move the IValueControl toward ValueMin. Pressing the second joystick button will move the IValueControl toward ValueMax. The IValueControl ValueRate is set with a separate property.
Inheritance Hierarchy
Object
JoystickController
 JoystickButtonPairController

Assembly: Joystick (Module: Joystick) Version: 1.0.3.0