How to set up a second player ?(side scroller)

It is not a really local or network multiplayer. In my game a man control 2 players/objects in game at once. So left virtual joystick controls 1st player and the right joystick controls the second player. And everything is fine exept 4 joysticks insteat of two. So just wanted to know is that a bug or something else.