Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kettlehelm
    Participant
    Post count: 2

    Hi all,

    I had great success in running RetroPie on my old Pi 1 using Xin-Mo dual arcade controllers, and decided to upgrade to Pi 2. The problem is that the 2nd player joystick can’t distinguish itself from the 1st player’s and both are reporting axis +/- 0 and 1 (X & Y). Buttons for both players are working fine.

    Here’s my retroarch.cfg copied from my Pi1 to the new Pi2

    input_player1_joypad_index = "0"
    input_player1_b_btn = "4"
    input_player1_y_btn = "1"
    input_player1_select_btn = "8"
    input_player1_start_btn = "9"
    input_enable_hotkey_btn = "8"
    input_exit_emulator_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 = "3"
    input_player1_x_btn = "0"
    input_player1_l_btn = "2"
    input_player1_r_btn = "5"
    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_player2_joypad_index = "0"
    input_player2_b_btn = "14"
    input_player2_y_btn = "11"
    input_player2_up_axis = "-3"
    input_player2_down_axis = "+3"
    input_player2_left_axis = "-2"
    input_player2_right_axis = "+2"
    input_player2_a_btn = "13"
    input_player2_x_btn = "10"
    input_player2_l_btn = "12"
    input_player2_r_btn = "15"
    input_player2_l_x_plus_axis = "+2"
    input_player2_l_x_minus_axis = "-2"
    input_player2_l_y_plus_axis = "+3"
    input_player2_l_y_minus_axis = "-3"

    I’m running RetroPie 3.0Beta 2, kernel version 3.18.11-v7, including updated firmware. I’ve double checked for the patch described here and rebuilt it eliminate the rapid joystick movement bug in the new kernel. https://github.com/retropie/RetroPie-Setup/wiki/Troubles-with-the-Xin-Mo-Controller

    jstest /dev/input/js0 reports only 2 axis on Pi 2

    Driver version is 2.1.0.
    Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y)
    and 22 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2).

    The jstest on Pi 1 reports 4 axis (X, Y, Z, Rx)

    Anyone have any suggestions on how to fix this problem and distinguish the two joysticks?

    Thanks!

    ps. My Pi 1 is running RetroPie 2.6.0 and kernel v 3.6.11

    kettlehelm
    Participant
    Post count: 2

    Resolved it by reverting back to 2.6 and using feederchain’s suggestion here:
    http://www.petrockblock.com/forums/topic/autofire-on-the-axis/#post-90318

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.