Forum Replies Created
-
AuthorPosts
-
jchurch81Participant
Here is my .emulationstation/es_input.cfg
When I’m in emulation stations both controllers work correctly. Configuring input shows the first to connect ps3controller as SonyWireless. The second to connect shows up as gampad #2. It just when I’m in a game (nes, snes, or n64) that the second to connect controller takes over both player 1 & 2.
<?xml version="1.0"?> <inputList> <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1"> <input name="a" type="key" id="97" value="1" /> <input name="b" type="key" id="115" value="1" /> <input name="down" type="key" id="1073741905" value="1" /> <input name="left" type="key" id="1073741904" value="1" /> <input name="pagedown" type="key" id="119" value="1" /> <input name="pageup" type="key" id="113" value="1" /> <input name="right" type="key" id="1073741903" value="1" /> <input name="select" type="key" id="120" value="1" /> <input name="start" type="key" id="122" value="1" /> <input name="up" type="key" id="1073741906" value="1" /> </inputConfig> <inputConfig type="joystick" deviceName="Sony PLAYSTATION(R)3 Controller" deviceGUID="030000004c0500006802000011010000"> <input name="a" type="button" id="13" value="1" /> <input name="b" type="button" id="14" value="1" /> <input name="down" type="button" id="6" value="1" /> <input name="left" type="button" id="7" value="1" /> <input name="pagedown" type="button" id="11" value="1" /> <input name="pageup" type="button" id="10" value="1" /> <input name="right" type="button" id="5" value="1" /> <input name="select" type="button" id="0" value="1" /> <input name="start" type="button" id="3" value="1" /> <input name="up" type="button" id="4" value="1" /> </inputConfig> <inputConfig type="joystick" deviceName="Logitech Logitech Dual Action" deviceGUID="030000006d04000016c2000010010000"> <input name="a" type="button" id="2" value="1" /> <input name="b" type="button" id="1" value="1" /> <input name="down" type="hat" id="0" value="4" /> <input name="left" type="hat" id="0" value="8" /> <input name="pagedown" type="button" id="5" value="1" /> <input name="pageup" type="button" id="4" value="1" /> <input name="right" type="hat" id="0" value="2" /> <input name="select" type="button" id="8" value="1" /> <input name="start" type="button" id="9" value="1" /> <input name="up" type="hat" id="0" value="1" /> </inputConfig> <inputConfig type="joystick" deviceName="Sony Computer Entertainment Wireless Controller" deviceGUID="050000004c0500006802000000010000"> <input name="a" type="button" id="13" value="1" /> <input name="b" type="button" id="14" value="1" /> <input name="down" type="button" id="6" value="1" /> <input name="left" type="button" id="7" value="1" /> <input name="pagedown" type="button" id="11" value="1" /> <input name="pageup" type="button" id="10" value="1" /> <input name="right" type="button" id="5" value="1" /> <input name="select" type="button" id="0" value="1" /> <input name="start" type="button" id="3" value="1" /> <input name="up" type="button" id="4" value="1" /> </inputConfig> </inputList>
jchurch81ParticipantHere is my retroarch.cfg lines 745 through 804. The index appears to be correct.
input_enable_hotkey_btn = "8" input_menu_toggle_btn = "16" input_player1_turbo_btn = "10" input_turbo_period = 6 input_turbo_duty_cycle = 3 input_save_state_btn = "1" input_load_state_btn = "2" input_exit_emulator_btn = "9" input_player1_joypad_index = "0" input_player1_b_btn = "14" input_player1_y_btn = "15" input_player1_select_btn = "0" input_player1_start_btn = "3" input_player1_up_btn = "4" input_player1_down_btn = "6" input_player1_left_btn = "7" input_player1_right_btn = "5" input_player1_a_btn = "13" input_player1_x_btn = "12" input_player1_l_btn = "10" input_player1_r_btn = "11" input_player1_l2_btn = "8" input_player1_r2_btn = "9" input_player1_l3_btn = "1" input_player1_r3_btn = "2" 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_axis = "+2" input_player1_r_x_minus_axis = "-2" input_player1_r_y_plus_axis = "+3" input_player1_r_y_minus_axis = "-3" input_player2_joypad_index = "1" input_player2_b_btn = "14" input_player2_y_btn = "15" input_player2_select_btn = "0" input_player2_start_btn = "3" input_player2_up_btn = "4" input_player2_down_btn = "6" input_player2_left_btn = "7" input_player2_right_btn = "5" input_player2_a_btn = "13" input_player2_x_btn = "12" input_player2_l_btn = "10" input_player2_r_btn = "11" input_player2_l2_btn = "8" input_player2_r2_btn = "9" input_player2_l3_btn = "1" input_player2_r3_btn = "2" input_player2_l_x_plus_axis = "+0" input_player2_l_x_minus_axis = "-0" input_player2_l_y_plus_axis = "+1" input_player2_l_y_minus_axis = "-1" input_player2_r_x_plus_axis = "+2" input_player2_r_x_minus_axis = "-2" input_player2_r_y_plus_axis = "+3" input_player2_r_y_minus_axis = "-3"
jchurch81ParticipantI used sudo ./retroarch-joyconfig -j 0 -p 1 >> /opt/retropie/config/all/retroarch.cfg for one controller.
The second controller was sudo ./retroarch-joyconfig -j 1 -p 2 >> /opt/retropie/config-all/retroarch.cfg
The part I did by hand was adding the hot_btn, menu, save & load state. If there is only one controller connected (either one) it works perfectly.
-
AuthorPosts