Link
The 4-Play is a universal console-to-USB controller adapter with 4 ports allowing up to 4 players to play at the same time with almost any controller of their choosing (see compatibility List). It uses low cost adapter cables which allow a variety of console controllers to plug into the 4-Play's universal HDMI style controller port. This allows the 4-Play to support a wide variety of controllers on each port.
There is also an API for front end developers. So you could, for example, know what controller is plugged in.

If you wish to know more follow this link.
Link