How can I implement multitouch in Godot 4?

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!

That doesnt sound like you need multitouch. You need to add gamepad control for your rotation.

This is simple with if and or

If touch event or gamepad action event: rotate

I cant find any documentation that wouldn’t allow simultaneous touch and joypad events.

This makes me think there is an implementation issue. Could you share your code?

1 Like