Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • jchurch81
    Participant
    Post count: 4

    Like a similar post with the same name, I’m having controller problems using two ps3 controllers over bluetooth.

    I’m so close yet so far away.

    Both controllers connect without a problem. jstest is successful with both controllers and things otherwise work flawlessly in game if only doing one player.

    Outside of emulators, both controllers work just fine. While running any game, the second ps3 controller to connect ends up controlling both player 1 and 2 and the first controller does nothing. Once I exit the emulator both work again.

    When inside emulation, both controllers still show up in jstest.

    What am I doing wrong

    cortex
    Participant
    Post count: 32

    Did you enter the controller-mapping by hand in the retroarch.cfg or are you using the autoconfiguration via the Setup-Script “configure retroarch controller”?

    jchurch81
    Participant
    Post count: 4

    I 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.

    cortex
    Participant
    Post count: 32

    Could you watch your retroarch.cfg and check if the player2 Index is set to 1?
    Because it sounds like Bötchen Players are set to Koloss Index 0

    jchurch81
    Participant
    Post count: 4

    Here 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"
    
    jchurch81
    Participant
    Post count: 4

    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>
    
    cortex
    Participant
    Post count: 32

    Sorry,my german Auto-correction made a pretty Strange sentence ;-)

    Hm okay,that makes it more difficult.
    I’m also Kind of new to the whole retropie project,so i think there’s nothing more that i could tell you, sorry.

    But i Wish you good luck!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.