Result::Name CDIForceFeedbackEffectImpl::OnInputDevicePlugged()
{
	InputDevice *pInputDevice = GetTargetInputDevice();

	if( pInputDevice )
		return pInputDevice->InitForceFeedbackEffect( *this );
	else
		return Result::UNKNOWN_ERROR;
}
Result::Name CDIForceFeedbackEffectImpl::Init( const CForceFeedbackEffectDesc& desc, const CForceFeedbackTargetDevice& target )
{
	m_pDesc = desc.CreateCopy();
	m_Target = target;

	InputDevice *pInputDevice = GetTargetInputDevice();

	if( pInputDevice )
		return pInputDevice->InitForceFeedbackEffect( *this );
	else
		return Result::UNKNOWN_ERROR;
}