Mainly used for the wired connection between keyboard&mouse and for P3/P4/X-360/X1/N-Switch game console.
The first micro USB port is the DC5V power input port. The keyboard with color lamp can be connected to 5V power supply if needed, and other devices do not need.
The USB port with gamepad is the gamepad interface, which is to connect with the original gamepad via a cable.
The second micro USB port is used to connect to the console USB port via an USB data cable.
The USB port labeled keyboard/mouse is the keyboard and mouse interface, which is used to connect mouse/keyboard to the converter.