I'm currently developing a first-person shooter. I've implemented camera rotation by swiping the screen and character movement using a joystick. Unfortunately, if the player starts using a gamepad, they lose the ability to rotate the camera, which makes controlling the game very difficult. How can I fix this and create a comfortable control scheme? I'm ready to provide the player control source code to fix this error. Thank you very much in advance!