Constructor.
| C# | Visual Basic | Visual C++ |
public JoystickButtonPairController( Joystick joystick, IValueControl control, int buttonDown, int buttonUp )
Public Sub New ( _ joystick As Joystick, _ control As IValueControl, _ buttonDown As Integer, _ buttonUp As Integer _ )
public: JoystickButtonPairController( Joystick^ joystick, IValueControl^ control, int buttonDown, int buttonUp )
- joystick (Joystick)
- The joystick to be connected.
- control (IValueControl)
- The IValueControl to be connected.
- buttonDown (Int32)
- The button to move the IValueControl toward ValueMin.
- buttonUp (Int32)
- The button to move the IValueControl toward ValueMax.