Constructor.
| C# | Visual Basic | Visual C++ |
public JoystickSliderController( Joystick joystick, IValueControl control, int slider, bool flip )
Public Sub New ( _ joystick As Joystick, _ control As IValueControl, _ slider As Integer, _ flip As Boolean _ )
public: JoystickSliderController( Joystick^ joystick, IValueControl^ control, int slider, bool flip )
- joystick (Joystick)
- The joystick to be connected.
- control (IValueControl)
- The IValueControl to be connected.
- slider (Int32)
- The numbered joystick slider to use for control.
- flip (Boolean)
- Flip the direction of movement for the slider.