Create two controllers, each responsible for handling it’s own input for it’s own character.
Since both controllers get info based on mapped actions and axis. being one “physical (xbox, keyboard)” controller is no issue.
Any shared data between them two, store in the game state or such.