public Joystick(JoystickInfo deviceInfo) { _info = deviceInfo; if (_info.Id < 0 || _info.Id > 15) { throw new ArgumentOutOfRangeException("deviceInfo", _info.Id, "Joystick ID must be between 0 and 15"); } }
internal JoystickStatus(JoystickInfo deviceInfo, JoyInfoEx statusInfo) { _info = deviceInfo; _status = statusInfo; }