how to separate camera and aim in FPS?

I am using the FPS template in VR mode. And I am wondering how may I control the camera using the HMD, and aim only with the mouse.
I think I have to use my own PlayerController or even CameraManager, but I am not quite familiar with the details, any hint will be welcome!