Constructor.
| C# | Visual Basic | Visual C++ |
public JoystickPOVPairController( Joystick joystick, IValueControl control, int pov, int dirDown, int dirUp )
Public Sub New ( _ joystick As Joystick, _ control As IValueControl, _ pov As Integer, _ dirDown As Integer, _ dirUp As Integer _ )
public: JoystickPOVPairController( Joystick^ joystick, IValueControl^ control, int pov, int dirDown, int dirUp )
- joystick (Joystick)
- The joystick to be connected.
- control (IValueControl)
- The IValueControl to be connected.
- pov (Int32)
- The numbered joystick POV button to use for control.
- dirDown (Int32)
- The POV direction to move the IValueControl toward ValueMin.
- dirUp (Int32)
- The POV direction to move the IValueControl toward ValueMax.
POV directions are specified as degrees times 100, such that deflection
to the right is generally 9000, down is 18000 and left is 27000.