protected Joystick() : base(IntPtr.Zero, true) { Hats = new JoystickHats(this); Axes = new JoystickAxes(this); Balls = new JoystickBalls(this); Buttons = new JoystickButtons(this); }
public Joystick(IntPtr h, bool owned) : base(IntPtr.Zero, owned) { SetHandle(h); Hats = new JoystickHats(this); Axes = new JoystickAxes(this); Balls = new JoystickBalls(this); Buttons = new JoystickButtons(this); }