Local multiplayer gamepad trouble

I’m doing a multiplayer game and there’s some problems. when I turn off “skip assigning gamepad to player 1” I’can play the game with 2 controls but when I play as “single player mode” the gamepad input doesn’t work, but when I turn on, I can play the game with gamepad inputs working, but multiplayer the first player will be keyboard inputs and second player gamepad inputs, someone can solve this trouble changing assigning gamepad inputs or other stuffs? thanks