Shanwan Twin USB Joystick

I have a set of Shanwan Twin USB Joysticks. These are Playstationstyle controllers, but are not bluetooth. http://www.ebay.com.au/itm/24GWirelessUSBDualVibrationGamepadControllerJoyStickForPCLaptopH8/231348974480?pt=AU_Video_Game_Accessories&hash=item35dd793390 The controllers are recognised by recalbox, but as a single controller. If I configure the second controller it overwrites the config for the first controller. I'm a bit of a noob with regards to this stuff.. can someone help me to get the second controller configured? I played around with these a while ago using Retropie and got them both working.. this was the config for both.
input_player1_joypad_index = "0" input_player1_b_btn = "2" input_player1_y_btn = "3" input_player1_select_btn = "8" input_player1_start_btn = "9" input_player1_up_axis = "1" input_player1_down_axis = "+1" input_player1_left_axis = "0" input_player1_right_axis = "+0" input_player1_a_btn = "1" input_player1_x_btn = "0" input_player1_l_btn = "4" input_player1_r_btn = "5" input_player1_l2_btn = "6" input_player1_r2_btn = "7" input_player1_l3_btn = "10" input_player1_r3_btn = "11" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "1" input_player1_r_x_plus_btn = "1" input_player1_r_x_minus_btn = "3" input_player1_r_y_plus_btn = "2" input_player1_r_y_minus_btn = "0" input_player2_joypad_index = "0" input_player2_b_btn = "14" input_player2_y_btn = "15" input_player2_select_btn = "20" input_player2_start_btn = "21" input_player2_up_axis = "7" input_player2_down_axis = "+7" input_player2_left_axis = "4" input_player2_right_axis = "+4" input_player2_a_btn = "13" input_player2_x_btn = "12" input_player2_l_btn = "16" input_player2_r_btn = "17" input_player2_l2_btn = "18" input_player2_r2_btn = "19" input_player2_l3_btn = "22" input_player2_r3_btn = "23" input_player2_l_x_plus_axis = "+4" input_player2_l_x_minus_axis = "4" input_player2_l_y_plus_axis = "+7" input_player2_l_y_minus_axis = "7" input_player2_r_x_plus_btn = "13" input_player2_r_x_minus_btn = "15" input_player2_r_y_plus_btn = "14" input_player2_r_y_minus_btn = "12"