inline bool CCharacterMotionNodeAlgorithm::HandleInput( const InputData& input ) { InputData input_copy = input; const boost::shared_ptr<KeyBind> pKeybind = GetKeyBind(); if( !pKeybind ) return false; if( input.iGICode == GIC_GPD_AXIS_Y ) input_copy.fParam1 *= -1.0f; int action_code = pKeybind->GetActionCode( input.iGICode ); if( action_code == ACTION_NOT_ASSIGNED ) return false; return HandleInput( input_copy, action_code ); }