Esempio n. 1
0
 protected Joystick() : base(IntPtr.Zero, true)
 {
     Hats    = new JoystickHats(this);
     Axes    = new JoystickAxes(this);
     Balls   = new JoystickBalls(this);
     Buttons = new JoystickButtons(this);
 }
Esempio n. 2
0
 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);
 }