Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jjmiller1980
    Participant

    I finally have it working! I just spent a ton of time changing things and trying to fix it. In the process, I ended up accidentally breaking it for my SNES controller, but I now have both my SNES controller and my 6-button Genesis controllers working.

    I believe (I’m not 100% sure) that the root of the problem was that in this file:

    /opt/retropie/configs/all/retroarch.cfg

    the input_enable_hotkey value was commented out. Like I said, I believe that was the problem, but I can’t be 100% sure because I played around for quite a while.

    Thank you once again for your help!

    jjmiller1980
    Participant

    First off, thank you for your help and quick responses. I’m fairly new to all this, so I appreciate the help.

    So F1 did work and got me into the retroarch menu. I went through the process as described to enable 6 button controller for player 1. I then went to the retroarch.cfg and configured it like this:

    # All settings made here will override the global settings for the current emulator core

    video_shader = /opt/retropie/emulators/retroarch/shader/phosphor.glslp
    video_shader_enable = false
    video_smooth = false

    input_player1_b_btn = “1”
    input_player1_y_btn = “0”
    input_player1_a_btn = “2”
    input_player1_x_btn = “4”
    input_player1_l_btn = “3”
    input_player1_r_btn = “6”

    input_player1_start_btn = “9”
    input_player1_select_btn = “7”

    input_enable_hotkey_btn = “7”
    input_exit_emulator = “9”
    input_save_state = “3”
    input_load_state = “6”

    As it stands now, the 6 face buttons seem to work (yay!). However, the hotkey doesn’t seem to work. When I test my controller using JSTEST, the MODE button does work, and responds as 7. When I try hitting MODE and START to exit the game, nothing happens. Same with save state & load state.

    I also went to /opt/retropie/emulators/retroarch/config and opened up the cfg for my controller, and this is how that is set up, I’m not sure if it matters or not:

    input_device = “Mayflash Ltd Mayflash MD USB Adapter”
    input_driver = “udev”
    input_b_btn = “1”
    input_y_btn = “0”
    input_select_btn = “7”
    input_start_btn = “9”
    input_up_btn = “12”
    input_down_btn = “14”
    input_left_btn = “15”
    input_right_btn = “13”
    input_a_btn = “2”
    input_x_btn = “4”
    input_l_btn = “3”
    input_r_btn = “6”

    input_enable_hotkey_btn = “7”
    input_exit_emulator = “9”

    Any thoughts?

    jjmiller1980
    Participant

    I must be missing something, and I’m not sure what. When I enter a game, and hit select + x, nothing happens. Here’s what I’ve done.

    • Exited EmulationStation
    • Go to retropie_setup.sh
    • Take the option for SETUP
    • Take the option for “Register RetroArch controller
    • set up the controller how you’ve specified in the page I linked to before, and set the MODE button for “select”

    When I do this, the D-pad, A, B, C, and start buttons work as expected. Nothing else works. In your document, you say to launch a game and hit select + x. So I hit the MODE button (which I set up as select) and the X button on the controller (both the actual X button which is mapped as “left bottom”, and the Y button, which is mapped as X). Nothing happens. I even tried holding the MODE button and the X button on the keyboard. I don’t get a retroarch menu.

    When this didn’t happen, I went into /opt/retropie/configs/megadrive/retroarch.cfg and manually input the input_player1… mappings that you specified (but with my button numbers), and this also didn’t work. What am I doing wrong?

    jjmiller1980
    Participant

    OK, I figured this out. Shockingly, it was user error. When I did another ls /dev/input, I noticed that it shows js1 as well as js0. I just automatically did js0 before, because that’s what the USB SNES controller was. Turns out, on my adapter, the port on the right is player 1, or js0. I set it up that way and it works now.

    Sorry about that. Learning.

    jjmiller1980
    Participant

    As more information, I did some looking and found JSTEST. I installed and ran it, and it also does not recognize any of the button presses for the SNES controller using an adapter.

    I’m not sure where to go from here.

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