(Local Multiplayer)
I'd like to have a control scheme for the keyboard, and another player use an xbox controller. However, I cannot remove player 1's ability to accept input from the controller.
a simple workaround would be to set the input scripts of player two as different inputs in the input manager, and don't configure joystick buttons or axis for it.
An easy way to do this woud be to check the player to see if it's the player 2 and run the Walk2 instead of Walk.
(If you’re worried about the performance impact of string concatenation, define public variables for all of your inputs so you can pass them directly into GetButtonDown.)
When you add players to your scene, make sure you update their playerPrefix variable.
Following this pattern will allow you to keep your player controller code the same for two or more players. It should allow players to map different controls on each joystick or on the keyboard.