Thanks. It's a little better. But I wonder if I could be some way to make InputMaps that could be used by any player by changing the device we want to listen. Some like "if Input.is_action_pressed(device(0), "UP") or anything like that. It's hard to believe there'll no easiest option besides of making two InputsMaps exacts in everything but the Device number. Or changing all these lines of code depending of the player. In my case is for two players, but it could be too much complex if more players needed.
Another bad thing about this is that ruins entirely the autocompletion feature for typing inputs, favoring making mistakes.