Is it possible to assign gamepad/keyboard manually?

I’m working on a local multiplayer game right now and i want to let players choose if they’re using keyboard or gamepad when joining the game, but no matter how hard i search, i can’t find a way to change gamepad keyboard assignment.

I’m also interested in this