Camera rotation through keyboards

Hi, hope you are doing well. I have used the third-person controller example but I want to update a little bit like the camera movement through player movements. I don’t want to use the mouse-down functionality it took some time to rotate the camera and then move it accordingly . Is there any way I could rotate the camera without any mouse down, Thanks

The perfect example is spatial.io character movement with camera rotation.