Problems with the the input system and xbox controller.

Hi all, I am having a small problem with unity, the input system and controllers.

As a small introduction, I have a player that is using the input system as well as a camera. Both are separate. Both have settings for the keyboard/mouse and the controller.

When I am using the keyboard I can walk around with WASD and look around with the mouse.
When I plug in an controller (Xbox or PS5) I can walk around with the controller (left stick) but not look around (right stick). This is still only be done by the mouse.
Even if I remove the mouse from the Input Actions I still can’t move the camera with the controller.

If I, in the Inspector, set the Default Scheme of the Camera component from to Gamepad I can look around with the controller but no longer walk around with the controller.

Also, when the controller is plugged in I can no longer use WASD to move around.

Hi,

From the [documentation](http://When there is more than one PlayerInput or when joining is enabled PlayerInputManager, this behavior is automatically turned off as we wouldn’t know which player is switching if a currently unpaired device is used.) it seems that “When there is more than one PlayerInput, automatic switching of schematics is automatically turned off as we wouldn’t know which player is switching if a currently unpaired device is used.”

I assume you have two playerInputs, one on the player and one on the camera. I would recommend you change the structure a bit.

You can try and make it only one playerInput on the player and emit static actions/events with the mouse values, then the camera can listen to these events and change accordingly.

Or maybe, make the player call functions in a CameraManager and pass to it the mouse values which changes the camera position.