2016-02-09, 17:35
I don't see where my concept has an issue. If you have 2 XBOX controllers and 2 NES controllers, then you can by default bind XBOX-A and NES-A to Player1 and XBOX-B and NES-B to Player2. There is no need for Kodi to know of what type the controller is. It's up to the user to grab the controller he wants to use as both are always active (as long as plugged ofc). Both input devices A will control player1 - regardless which core and you should actually also be able to use them simultaniously (at least technically), so you can start playing a game with the XBOX controller, grab the NES controller mid game and continue without any break.
If you ofc grab XBOX-B by mistake, then you're by default Player2 and you either switch to the other controller (same as if they would be plugged physically in the wrong console port) or also bind it to Player1 from now on and rebind once you need two players again. There is no special magic or logic behind. It's IMO the most simple solution.
If you only have a limited set of controllers and want to assign one for player2, then it's as easy as described here http://forum.kodi.tv/showthread.php?tid=...pid2237137 (open the OSD, choose "manage players" button, click on "assign input device" on player2 and press any button on the input device).
edit: the only assumption I have is that controllers will always have the same ID and that we can tell which button is from which controller ID - but that should be the case, right?
If you ofc grab XBOX-B by mistake, then you're by default Player2 and you either switch to the other controller (same as if they would be plugged physically in the wrong console port) or also bind it to Player1 from now on and rebind once you need two players again. There is no special magic or logic behind. It's IMO the most simple solution.
If you only have a limited set of controllers and want to assign one for player2, then it's as easy as described here http://forum.kodi.tv/showthread.php?tid=...pid2237137 (open the OSD, choose "manage players" button, click on "assign input device" on player2 and press any button on the input device).
edit: the only assumption I have is that controllers will always have the same ID and that we can tell which button is from which controller ID - but that should be the case, right?