A class to connect an IValueControl to two directions of a point-of-view button of a joystick.
| C# | Visual Basic | Visual C++ |
public class JoystickPOVPairController : JoystickController
Public Class JoystickPOVPairController _ Inherits JoystickController
public ref class JoystickPOVPairController : public JoystickController
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| JoystickPOVPairController(Joystick, IValueControl) |
Constructor.
| |
| JoystickPOVPairController(Joystick, IValueControl, Int32, 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()()().) | |
| Control |
Get the object being controlled.
(Inherited from JoystickController.) | |
| ControllerType |
Get the type of this controller.
(Inherited from JoystickController.) | |
| DirDown |
Get or set the angle, in degrees, that will decrease the control value.
| |
| DirUp |
Get or set the angle, in degrees, that will increase the control value.
| |
| Dispose()()() |
Make sure all events are disconnected.
(Inherited from JoystickController.) | |
| Equals(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.) | |
| POV |
Get or set the index of the joystick POV switch for the controller.
| |
| 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.) |
Deflecting the POV button in the first specified direction will move the IValueControl toward ValueMin.
Deflecting the POV button in the second specified direction will move the IValueControl toward ValueMax.
The IValueControl ValueRate is set with a separate property.
| Object | ||
| JoystickController | ||
| JoystickPOVPairController | ||