Not sure what is going there. Can you explain it in more detail?
it happened to me too. the mouse would go up and left and kept spinning. I fixed it unplugging the controller (ds4), if that may help