TwinUSB (PS/2 adapter) working in EmulationStation but not in RetroArch

Home Forums RetroPie Project Everything else related to the RetroPie Project TwinUSB (PS/2 adapter) working in EmulationStation but not in RetroArch

This topic contains 2 replies, has 1 voice, and was last updated by Profile photo of j2k15 j2k15 2 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #93614
    Profile photo of j2k15
    j2k15
    Participant

    Hi there,

    I wanted to give a shot at an old PS1 controller (the one without the analog. sticks).

    I connected it to the Pi with the following adapter:
    http://www.benryves.com/images/ps2-to-pc/adaptor-product.jpg

    The controller is detected by Emulation Station and I can navigate in the menus.

    So I exited ES and run the “register RetroArch” command.
    There, during the key mapping, when I press a key, nothing happens and I get the timeout, and for each key this is the same story.

    In the end, it says that the following file has been created:
    /media/juliend/retropie/opt/retropie/emulators/retroarch/configs/TwinUSBJoystick.cfg

    Only the first 2 lines were filled.

    So I copy-pasted the key mapping from a working wired PS3 BigBen controller. I just ignored the analog sticks ones.

    I attach the file for reference.
    Do you know why the controller is recognized in ES but not by RetroArch ?

    The strange thing is that RetroArch called the gamepad “Twin USB” itself. So in a way, it has recognized it…

    #93615
    Profile photo of j2k15
    j2k15
    Participant

    Here’s the content of the file:

    input_device = “Twin USB Joystick”
    input_driver = “udev”

    input_b_btn = “0”
    input_y_btn = “2”
    input_select_btn = “8”
    input_start_btn = “9”
    input_up_btn = “h0up”
    input_down_btn = “h0down”
    input_left_btn = “h0left”
    input_right_btn = “h0right”
    input_a_btn = “1”
    input_x_btn = “3”
    input_l_btn = “4”
    input_r_btn = “5”
    input_l2_btn = “6”
    input_r2_btn = “7”

    And in file “es_input.cfg” I’ve:

    <inputConfig type=”joystick” deviceName=”Twin USB Joystick” deviceGUID=”03000000100800000100000010010000″><input name=”a” type=”button” id=”1″ value=”1″/><input name=”b” type=”button” id=”2″ value=”1″/><input name=”down” type=”axis” id=”1″ value=”1″/><input name=”left” type=”axis” id=”0″ value=”-1″/><input name=”pagedown” type=”button” id=”7″ value=”1″/><input name=”pageup” type=”button” id=”6″ value=”1″/><input name=”right” type=”axis” id=”0″ value=”1″/><input name=”select” type=”button” id=”8″ value=”1″/><input name=”start” type=”button” id=”9″ value=”1″/><input name=”up” type=”axis” id=”1″ value=”-1″/></inputConfig>

    #93751
    Profile photo of j2k15
    j2k15
    Participant

    Hi,

    I think I’ve a possible root cause but no clue on how to fix it…

    As I said, the adapter with my original PS1 controller is working in ES but cannot be detected as a retroarch controller.

    What I noticed is that ES detected in fact 2 controllers although only one was plugged-in the adapter…

    As I read in the RetroArch doc, when using the “register controller” feature of retroarch_setup.sh utility, only one controller should be plugged-in. Si if ES detects 2 controllers, I guess RetroArch utility too…

    According to you could it be the cause of the issue ?

    If so, how can I disable in Linux the “ghost” controller ?

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

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

Skip to toolbar