Xin-Mo 2nd joystick confusion in Pi2

Home Forums RetroPie Project Controller Configuration in RetroPie Xin-Mo 2nd joystick confusion in Pi2

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of kettlehelm kettlehelm 2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #95195
    Profile photo of kettlehelm
    kettlehelm
    Participant

    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

    • This topic was modified 2 years ago by Profile photo of kettlehelm kettlehelm.
    • This topic was modified 2 years ago by Profile photo of kettlehelm kettlehelm.
    • This topic was modified 2 years ago by Profile photo of petrockblog petrockblog.

    #95330
    Profile photo of kettlehelm
    kettlehelm
    Participant

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

Viewing 2 posts - 1 through 2 (of 2 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar