Quadruple Character Rotation On Its Own Axis

I’ve tried every forum answer and tutorial video I could find, but I still haven’t been able to achieve the result I want.

I’m working on a quadruped (FPS) character. Since they don’t move like humans, I need a different approach for movement. I created movement interpolation using the help of this tutorial:
https://youtu.be/x3mqmo-9xD8?list=PLSCf9vYpqk3PV09S3IEg1pDIaMKYFO0rB

Now I need the character to rotate (yaw) both with the mouse and with the A/D keys. The mouse should allow around 270 degrees of rotation—like turning the head—while the A and D keys should rotate the whole character, similar to how a dog turns its body.

I can’t use a yaw limit on the controller because it also limits the A and D key rotation.

Thank you in advance