Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 3,396 through 3,430 (of 3,655 total)
  • Author
    Search Results
  • #4245

    In reply to: SnesPi project

    trimmtrabb
    Participant

    Hi, thanks for the quick reply! Think i’m going to get a faulty PAL SNES off Ebay, looks like the same power button as the USA SNES:

    pal snes

    So I need to solder half of the red usb +5v to the red SNES power button wire and the other half to the black wire, does it matter which order? Would twisting the wires together and wrapping in electrical tape be ok as I don’t have a soldering iron? I see you have the SNES power LED working, would love to get this working too how did you achieve this? Sorry for all the questions, absolute beginner with all this!
    Thanks

    #4237

    In reply to: SnesPi project

    brooksyx
    Participant

    [quote=4236]Great work, really tidy. Could you tell me how you wired the SNES power button to the micro usb cable and what tools I would need to do this? Also what filler/resin did you use to set the extension ports in the back of the SNES?[/quote]

    Thanks, It was a fun project and I am still tinkering with it when I have time. As for the power button I bought micro usb male to female extensions cable and removed the rubber shielding in the middle then I cut the red wire (+5v line) in half. Then I soldered one end of the snes power button wire to one half of the usb wire and then other halves together. So when the SNES button is on the circuit will be closed and allow power to run through it. And when off the circuit is open.

    As for filler I just used hot glue. Its not the best but it gets the job done. I just wanted to hold the ports in place and it worked out well. The Raspberry Pi doesn’t get to hot so not worried about the glue remelting.

    The tools I used are pretty basic:
    Solder Iron
    Dikes/Tin Snips
    Rotary Tool/Dremel
    Hot Glue
    Gambit to open SNES (replaced w/ regular phillips screws)
    Hacksaw (to cut off the reset button from the original SNES PCB)

    Feel free to ask anymore questions, always glad to help.

    #4236

    In reply to: SnesPi project

    trimmtrabb
    Participant

    Great work, really tidy. Could you tell me how you wired the SNES power button to the micro usb cable and what tools I would need to do this? Also what filler/resin did you use to set the extension ports in the back of the SNES?

    jmt2013
    Participant

    Hi,

    So, first of all – I got everything up and running – Controller working in emulators aswell as the Retropie menu.
    BUT! – When i start up ROMs such as Super Mario World and Super Mario AllStars.
    There is lag – Like the controller suddenly stops working Then it works again after 30 secs. or so.
    Also, the ROMs running seem to be a little slow to respond to the controller input (Maybe, 0,2 millisecs).

    Is there anything I could do about this?

    -Thanks.

    somail
    Participant

    My setup is 99.99% working but I am having problems getting hotkeys to work. My config file is pasted below. It is pretty much a copy and paste of the one that comes in the RetroPie-Setup directory. I have tried with and without quotes.
    I would like Select + Start to exit the emulator.

    Right now if I press start it automatically exits the emulator. The emulator is ignoring my input_enable_hotkey_btn = “6” line.

      Do I have to enable hotkeys with a “true” someplace in the config.

    Also I have cleared out the retroarch.cfg file of all lines except needed paths and enabling joystick auto detect (which is working)….so nothing is doubling up on the control settings.

    Thanks for the help

    input_device = “USB,2-axis 8-button gamepad ”
    input_driver = “linuxraw”
    input_b_btn = “1”
    input_y_btn = “3”
    input_select_btn = “6”
    input_start_btn = “7”
    input_up_axis = “-1”
    input_down_axis = “+1”
    input_left_axis = “-0”
    input_right_axis = “+0”
    input_a_btn = “0”
    input_x_btn = “2”
    input_l_btn = “4”
    input_r_btn = “5”

    input_enable_hotkey_btn = “6”
    input_exit_emulator_btn = “7”
    input_save_state_btn = “4”
    input_load_state_btn = “5”

    roquen
    Participant

    Mayflash SNES USB Adapter
    Status: Functional
    Link: Amazon

    Only requires input configuration. All buttons are detected and work well.

    roquen
    Participant

    Retrolink Nintendo NES USB Adapter
    Status: Non-functional
    Link: Amazon

    Problem:
    Does not detect D-Pad inputs.

    #4203

    In reply to: Controller issues

    RetroMarine
    Participant

    This is my retroarch.cfg for a snes usb…change the values to fit your controller and this should work fine:

    Just open:
    /home/pi/RetroPie/configs/all
    and edit retroarch.cfg to this code:
    input_player1_joypad_index = 0
    input_player1_b_btn = 2
    input_player1_a_btn = 1
    input_player1_y_btn = 3
    input_player1_x_btn = 0
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_l_y_plus = -1
    input_player1_up_axis = -1
    input_player1_l_y_minus = +1
    input_player1_down_axis = +1
    input_player1_l_x_minus = -0
    input_player1_left_axis = -0
    input_player1_l_x_plus = +0
    input_player1_right_axis = +0
    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9
    input_enable_hotkey_btn = 8
    input_save_state_btn = 4
    input_enable_hotkey_btn = 8
    input_load_state_btn = 5
    input_player2_joypad_index = 1
    input_player2_b_btn = 2
    input_player2_a_btn = 1
    input_player2_y_btn = 3
    input_player2_x_btn = 0
    input_player2_l_btn = 4
    input_player2_r_btn = 5
    input_player2_start_btn = 9
    input_player2_select_btn = 8
    input_player2_l_y_plus = -1
    input_player2_up_axis = -1
    input_player2_l_y_minus = +1
    input_player2_down_axis = +1
    input_player2_l_x_minus = -0
    input_player2_left_axis = -0
    input_player2_l_x_plus = +0
    input_player2_right_axis = +0
    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9
    input_enable_hotkey_btn = 8
    input_save_state_btn = 4
    input_enable_hotkey_btn = 8
    input_load_state_btn = 5
    (This will work on most the emulators, and I also added exit emulator by pressing select + start, as well as save state= select + L and load state= select + R)

    #4195
    krazedj
    Participant

    Did you ever get this resolved? I am having the exact same issue with a generic PS3 USB controller, and having no luck resolving it.

    flipbug
    Participant

    Hi all,

    Having a terrible time trying to get controllers to work. I’ve tried two different ones with the following issues:

    Both:

      I can configure the controls for Emulationstation
      I can configure the controls for Retroarch
      When trying to configure the controls for anything else I get “Script Error”


    EDIT: I resolved the “Script Error” by reinstalling ES-Config via the Sources-based installer in retropie_config.

    Logitech F710:

      Works perfectly for menu
      Can complete controller config
      Only the GBA emulator responds to the controls I set up

    PS3 Controller (connected via USB):

      When I press a button, it inputs it twice, which screws up controller configs.
      It also only works for GBA.

    Would really appreciate some help :) I am just so close here!

    If anyone else has an F710, I have some big tips for them regarding this controller (MODE and the X/D switch can really screw you over if you don’t know what they do).

    #4178
    RetroMarine
    Participant

    Just open:

    /home/pi/RetroPie/configs/all

    and edit retroarch.cfg to this code:

    input_player1_joypad_index = 0
    input_player1_b_btn = 2
    input_player1_a_btn = 1
    input_player1_y_btn = 3
    input_player1_x_btn = 0
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_l_y_plus = -1
    input_player1_up_axis = -1
    input_player1_l_y_minus = +1
    input_player1_down_axis = +1
    input_player1_l_x_minus = -0
    input_player1_left_axis = -0
    input_player1_l_x_plus = +0
    input_player1_right_axis = +0

    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9

    input_enable_hotkey_btn = 8
    input_save_state_btn = 4

    input_enable_hotkey_btn = 8
    input_load_state_btn = 5

    input_player2_joypad_index = 1
    input_player2_b_btn = 2
    input_player2_a_btn = 1
    input_player2_y_btn = 3
    input_player2_x_btn = 0
    input_player2_l_btn = 4
    input_player2_r_btn = 5
    input_player2_start_btn = 9
    input_player2_select_btn = 8
    input_player2_l_y_plus = -1
    input_player2_up_axis = -1
    input_player2_l_y_minus = +1
    input_player2_down_axis = +1
    input_player2_l_x_minus = -0
    input_player2_left_axis = -0
    input_player2_l_x_plus = +0
    input_player2_right_axis = +0

    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9

    input_enable_hotkey_btn = 8
    input_save_state_btn = 4

    input_enable_hotkey_btn = 8
    input_load_state_btn = 5

    (This will work on most the emulators, and I also added exit emulator by pressing select + start, as well as save state= select + L and load state= select + R)

    Just open:

    /home/pi/RetroPie/configs/all

    and edit retroarch.cfg to this code:

    input_player1_joypad_index = 0
    input_player1_b_btn = 2
    input_player1_a_btn = 1
    input_player1_y_btn = 3
    input_player1_x_btn = 0
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_l_y_plus = -1
    input_player1_up_axis = -1
    input_player1_l_y_minus = +1
    input_player1_down_axis = +1
    input_player1_l_x_minus = -0
    input_player1_left_axis = -0
    input_player1_l_x_plus = +0
    input_player1_right_axis = +0

    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9

    input_enable_hotkey_btn = 8
    input_save_state_btn = 4

    input_enable_hotkey_btn = 8
    input_load_state_btn = 5

    input_player2_joypad_index = 1
    input_player2_b_btn = 2
    input_player2_a_btn = 1
    input_player2_y_btn = 3
    input_player2_x_btn = 0
    input_player2_l_btn = 4
    input_player2_r_btn = 5
    input_player2_start_btn = 9
    input_player2_select_btn = 8
    input_player2_l_y_plus = -1
    input_player2_up_axis = -1
    input_player2_l_y_minus = +1
    input_player2_down_axis = +1
    input_player2_l_x_minus = -0
    input_player2_left_axis = -0
    input_player2_l_x_plus = +0
    input_player2_right_axis = +0

    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9

    input_enable_hotkey_btn = 8
    input_save_state_btn = 4

    input_enable_hotkey_btn = 8
    input_load_state_btn = 5

    (This will work on most the emulators, and I also added exit emulator by pressing select + start, as well as save state= select + L and load state= select + R)

    Sent from my C5155 using Tapatalk

    RetroMarine
    Participant

    I’ve had many ups and downs with this project the past couple months, but thanks to many of you, I have nearly reached a point of completion…which is pretty good for a 32 yr old jarhead who knows next to nothing about linux!

    The only thing I haven’t been able to figure out is the Mupen64plus controls! I only want to play Mariokart and Mario64…configured to my snes usb controller (sounds dumb, but I’m too cheap to buy an N64 usb controller for 2 games). So by following what I read in other threads, this is how I have mupen64plus.cfg from within /home/pi/RetroPie/emulators/mupen64plus-rpi:

    [Input-SDL-Control1]

    # Mupen64Plus SDL Input Plugin config parameter version number. Please don’t change this version number.
    version = 2
    # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
    mode = 2
    # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
    device = 0
    # SDL joystick name (or Keyboard)
    name = “snes”
    # Specifies whether this controller is ‘plugged in’ to the simulated N64
    plugged = True
    # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
    plugin = 2
    # If True, then mouse buttons may be used with this controller
    mouse = False
    # Scaling factor for mouse movements. For X, Y axes.
    MouseSensitivity = “2.00,2.00”
    # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
    AnalogDeadzone = “4096,4096”
    # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
    AnalogPeak = “32768,32768”
    # Digital button configuration mappings
    DPad R = “”
    DPad L = “”
    DPad D = “”
    DPad U = “”
    Start = “button(9)”
    Z Trig = “button(5)”
    B Button = “button(3)”
    A Button = “button(2)”
    C Button R = “button(1)”
    C Button L = “”
    C Button D = “”
    C Button U = “button(0)”
    R Trig = “”
    L Trig = “button(4)”
    Mempak switch = “key(44)”
    Rumblepak switch = “key(46)”
    # Analog axis configuration mappings
    X Axis = “axis (0-,0+)”
    Y Axis = “axis (1-,1+)”

    …can anyone please tell me what I’m doing wrong? Mupen will boot the roms, but I have no control! Oh, and if at all possible…how would I configure the Z button/trigger button to be both L and R at the same time? (can you add hot_keys to these configs?) Thanks for any help

    kamikazerat
    Participant

    Hi,
    Ive got retropie up and running but am having difficulty configuring my controller… From what I’ve read it should navigate to cd RetroPie/emulators/RetroArch/tools and run retroarch-joyconfig. But it doesn’t exist there, after rummaging around through the files I found it by going to cd /RetroPie/emulators/RetroArch/installdir/bin but when I run the joyconfig it only registers my keyboard I have plugged in, then it asks me to input “B button (down)” no matter what button I press on the controller, or the keyboard it doesn’t advance to the next command… I end up having to restart my pi… Any help please

    #4142
    Anonymous
    Inactive

    In my opinion, putting your roms on the sd card is not the way to go. Ever since I switched to putting only retropie on the sd card and all the roms on a usb flash drive, I haven’t had any problems with the card corrupting. whereas, with the roms on the card, it would corrupt at least once a week. (usually when a rom doesn’t exit properly and I’m forced to pull the power, but sometimes for no reason)

    It’s also much easier to move roms over to your system because you can just pull the usb drive, put it in your computer and move them over (or edit them). I also recommend putting your save files and savestate directories on the flash drive. Then you dont lose all your saves every time the sd card corrupts. This can be super frustrating when you’ve put in 20 hours on Castlevania: Symphony of the Night

    In order to use a flash drive for rom storage you need to point each emulator in es_systems.cfg to the correct directory on the flash drive. I recommend calling the parent rom directory on the flash drive “romz” instead of “roms.” Since there is a USB copy script automatically enabled when you install retropie, it will automatically create a “roms” directory with sub folders on the flash drive and if it detects any roms in that folder next time you plug in the flash drive it will automatically move the roms to the sd card, which will kill all your sd card space and defeat the purpose of usb rom storage. I still cant figure out how to disable the rom copy service so any help on that would be appreciated.

    Other things to know: you’ll need to do some stuff to get your pie to automount your usb drive every time it boots. This article walks you through it: http://www.bobjectsinc.com/tinycomputers/raspbian-automatically-mount-usb-drives/

    Disadvantages of USB storage: It takes up a USB slot, so that will either mean one less controller, no wireless adapter, or the need for a USB hub, which I dont really like the thought of. I’ve seen that they can cause a bunch of controller issues and the use for a large peripheral like that sort of kills the portability and ease of the raspi.

    my solution: I use a usb adapter for SNES controller that hooks two controllers to one usb port. http://www.ebay.com/itm/Dual-USB-adapter-for-SNES-controller-Super-Nintendo-/200375560296?pt=US_Video_Game_Controllers&hash=item2ea7506868

    It works great except on some games if the player 1 controller doesn’t respond, use the other controller. In rare cases it will even switch player 1 and 2 mid game. not that big of a deal though.

    also when I need to connect the raspi to wifi (to get updates or if I wanna ssh in from my laptop) I just shutdown the raspi, remove the controllers or the usb drive , replace it with the wireless adapter, then boot up. You can control your raspi via ssh and launch a virtual terminal window as well. I use cyberduck to do this

    anyway, I hope this helps somebody

    Anonymous
    Inactive

    Hi,
    I’m having trouble with getting gpSP to launch under emulationstation.
    command.sh: line 13: 2675 Aborted /home/pi/RetroPie/emulators/gpsp/raspberrypi/gpsp /home/pi/RetroPie/roms/gba/nameofrom.gba

    If I exit emulationstation, I lose local USB keyboard access as well.

    If I launch gpsp from the console, it loads and functions fine.

    Kernel: 3.10.26+ #628 PREEMPT Fri Jan 10 17:18:51 GMT 2014 armv6l
    Latest Raspbian packages applied via dist-upgrade today.

    Any help greatly appreciated.

    #4110
    motorhead
    Participant

    For FBA, change command on es_systems.cfg to:

    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 “/home/pi/RetroPie/emulators/pifba/fba2x %ROM%”

    You can use roms from an usb, change rom folder on the same file like this:

    PATH=/media/usb0/Juegos/fba

    i got an issue with this, the system generates a folder called roms for easy copying roms to the raspberry, if you put roms here it will be copyed to sd. I dont know how to disable this, but if you keep roms folder empty, and make another directory like “games”, you can leave roms here.

    brucelee1972
    Participant

    First, sorry for my bad english.
    I use 512 MB RPi on a 47″ LG Smart TV.
    The C64 emulator runs well but full screen does not work
    The settings are not saved in the emulator and I have a small image
    How do I get a larger image set ?
    On the Final Burn Alpha emulator I get a “Video Ram Error” at the start of Neo Geo ROMs, other “no neo games” on FBA run without problems.
    Is it possibly that the Neo Geo bios is not ok? Which is the correct BIOS for Neo Geo?
    Finally
    Can I use the Rome from a USB stick or hard drive?
    What settings do I need?
    Please help

    supersirlink
    Participant

    I have a Mausberry shutdown circuit that has a bash script that runs in the background to sense when the power button is pressed and shut down the pi.

    It actually slows down certain roms to where I have to bump the overclock to the maximum. Its a little excessive.

    So what I would like to know is if it is possible to stop the script when launching a rom, then start it back up when returning to emulation station.

    #4095
    whiskey
    Participant

    I am playing with the OC settings on my pi, and wondered what power supply are you all using? Right now my pi is powered from the USB port on my TV, which is probably not supplying enough power for OCing, and somewhere around my house I have a spare 5v 1amp USB charger plug from an old phone I can use, but I haven’t tried that yet. I’m assuming the “over_voltage” parameter is increasing the amperage the pi is consuming?

    #4086
    rogueapache
    Participant

    [quote=4055]Well it is fulfilled by amazon so you could always buy it and send it back if it doesn’t work. I would say yes it probably works but you will probably have to play around to see what buttons number each input is mapped to. You could always build your own fighstick and just map the button presses to keyboard inputs.

    This is a more expensive route but would allow you to do your own controls:

    http://www.ebay.com/itm/I-PAC2-controller-with-PS2-cable-A-MAME-NEW-VERSION-ULTIMARC-BN-1-Year-Warrent-/390729670144?pt=LH_DefaultDomain_0&hash=item5af94d9e00

    Or this:

    http://www.ebay.com/itm/Arcade-MAME-2-Player-USB-Kit-w-2-Joysticks-4-8-way-16-Push-Buttons-60-in-1-/221281135290?pt=LH_DefaultDomain_0&hash=item3385622aba

    [/quote]

    I read some reviews and supposedly it works perfectly with mame so I think worst case I would have to write a config myself and I can handle that …. also thanks for the links I was planning to build my own arcade out of some lumber and new retro pie (32gb SD card and ALL the old retro games :D) and have two sets of joysticks and buttons! any advice on that?

    #4055
    brooksyx
    Participant

    Well it is fulfilled by amazon so you could always buy it and send it back if it doesn’t work. I would say yes it probably works but you will probably have to play around to see what buttons number each input is mapped to. You could always build your own fighstick and just map the button presses to keyboard inputs.

    This is a more expensive route but would allow you to do your own controls:
    http://www.ebay.com/itm/I-PAC2-controller-with-PS2-cable-A-MAME-NEW-VERSION-ULTIMARC-BN-1-Year-Warrent-/390729670144?pt=LH_DefaultDomain_0&hash=item5af94d9e00

    Or this:

    http://www.ebay.com/itm/Arcade-MAME-2-Player-USB-Kit-w-2-Joysticks-4-8-way-16-Push-Buttons-60-in-1-/221281135290?pt=LH_DefaultDomain_0&hash=item3385622aba

    #4048
    moorens
    Participant

    In case anyone needs it here is the config file for a USB NES controller with exit emulator and save load state.

    input_player1_joypad_index = 0
    input_player1_b_btn = 2
    input_player1_a_btn = 1
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_l_y_plus = -1
    input_player1_up_axis = -1
    input_player1_l_y_minus = +1
    input_player1_down_axis = +1
    input_player1_l_x_minus = -0
    input_player1_left_axis = -0
    input_player1_l_x_plus = +0
    input_player1_right_axis = +0

    input_enable_hotkey_btn = “9″
    input_exit_emulator_btn = “8″

    input_enable_hotkey_btn = 9
    input_save_state_btn = 1

    input_enable_hotkey_btn = 9
    input_load_state_btn = 2

    masterdot
    Participant

    Hi there,

    Has anyone get it running? Thought it would be easier than the wiimote setup, but that was wrong ;)
    I would prefer the cable solution, maybe somebody can help.

    And another question:
    How do i config the screen? The screen is a bit dislocated, should be a little bit higher than it is dicht now.

    Thankx for your hell in advance

    Gesendet von meinem Nexus 7 mit Tapatalk

    #3980
    farhax
    Participant

    [quote=3868]Hi! I got 2 ps3 controllers working using USB following this tutorial:
    [/quote]

    Cool, but how did go over bluetooth?
    I can run one controller at a time aswell.

    The autoscript didnt work so i combined it using this tutorial.
    https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-a-PS3-controller
    Note. Files were added in : /home/pi/RetroPie/supplementary

    I really want to be able to run it wireless.
    sudo jstest /dev/input/js0 works for only one, there is no js1.

    roboguy88
    Participant

    I have not yet got a controller, and am wondering which one to get. As I want to play N64 games, I am considering getting a USB N64 controller. Does anyone know if USB Retrolink N64 controllers work with Retropie?
    Because I have seen posts that say they don’t work, that they freeze Retropie. Is this a common problem? Does anyone have a solution?

    #3947
    planetcappe
    Participant

    Hi! I have an atomic usb adapter for two PS2 controllers (the PCA.13), it works well out of the box (after I did the configuration with retroarch-joyconfig), but only d-pad works, not the analog sticks. Joypads are recognized like “Dual USB Vibration Joystick”.
    One thing I noticed: using Pimame 0.7.10 the controllers are working fine, even the analog sticks, with no need to do further configurations. Is there a way to make them work the same way in Retropie?
    Thank you so much, this project is great!

    motorhead
    Participant

    Hi! Im trying to use FBA2x for playing NeoGeo and Mame games, but it seems that emulator is not using /home/pi/RetroPie/emulators/pifba/fba2x.cfg settings. I tried lot of things, but nothing seems to work… Is not possible for FBA to detect configuration from emulation station like other emulators? Do I need to modify anything more? It’s for configuring a PS3 usb controller.

    #3901
    motorhead
    Participant

    You must be root for this.

    First you need to define a root password, try this:

    sudo passwd root

    If you are using a USB keyboard and the TV directly use:

    su

    Then write root password and you can do anything.

    If you are using SSH or FTP then try to connect using user root not pi: root@192.168.1.X

    scrapz
    Participant

    Hi guys,

    Just set up my Raspberry Pi using the RetroPie SD image, and I’m having an issue with just the one game. With Super Mario Brothers All Stars, I can browse the games just fine with my USB controller, I can select and start the game just fine past the specific game screen (ie: if I load up SMB3, I can start and choose number of players), but once it takes me into the game, the controller becomes completely unresponsive. This happens with any game in All Stars. Every other game I throw at it works fine.

    Any clues as to what’s going on here? SMB is really important to me :(

    #3868
    motorhead
    Participant

    Hi! I got 2 ps3 controllers working using USB following this tutorial:

    Update for the RetroPie Setup Script: Support for RetroArch’s Autoconfig Functionality and (wired) Xbox 360 controller support

    You can use my ps3 config file, unzip and leave it here:

    /home/pi/RetroPie/emulators/RetroArch/configs/

    Then you need to modify ES_input.cfg in /home/pi/.emulationstation, add this:

    <inputConfig type=”joystick” deviceName=”Sony PLAYSTATION(R)3 Controller”>
    <input name=”a” type=”button” id=”13″ value=”1″ />
    <input name=”b” type=”button” id=”14″ value=”1″ />
    <input name=”menu” type=”button” id=”16″ value=”1″ />
    <input name=”pagedown” type=”button” id=”10″ value=”1″ />
    <input name=”pageup” type=”button” id=”11″ value=”1″ />
    <input name=”select” type=”button” id=”0″ value=”1″ />
    <input name=”down” type=”button” id=”6″ value=”1″ />
    <input name=”left” type=”button” id=”7″ value=”-1″ />
    <input name=”right” type=”button” id=”5″ value=”1″ />
    <input name=”up” type=”button” id=”4″ value=”-1″ />
    </inputConfig>

    The last step is to modify retropie.cfg at /home/pi/RetroPie/configs/all, add this:

    input_player1_joypad_index = “0”
    input_player1_a_btn = “13”
    input_player1_b_btn = “14”
    input_player1_x_btn = “12”
    input_player1_y_btn = “15”
    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_start_btn = “3”
    input_player1_select_btn = “0”
    input_player1_left_btn = “7”
    input_player1_up_btn = “4”
    input_player1_right_btn = “5”
    input_player1_down_btn = “6”
    input_player1_l_x_plus_axis = “+0”
    input_player1_l_y_plus_axis = “+1”
    input_player1_l_x_minus_axis = “-0”
    input_player1_l_y_minus_axis = “-1”
    input_player1_r_x_plus_axis = “+2”
    input_player1_r_y_plus_axis = “+3”
    input_player1_r_x_minus_axis = “-2”
    input_player1_r_x_minus_axis = “-3”

    input_player2_joypad_index = “1”
    input_player2_a_btn = “13”
    input_player2_b_btn = “14”
    input_player2_x_btn = “12”
    input_player2_y_btn = “15”
    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_start_btn = “3”
    input_player2_select_btn = “0”
    input_player2_left_btn = “7”
    input_player2_up_btn = “4”
    input_player2_right_btn = “5”
    input_player2_down_btn = “6”
    input_player2_l_x_plus_axis = “+0”
    input_player2_l_y_plus_axis = “+1”
    input_player2_l_x_minus_axis = “-0”
    input_player2_l_y_minus_axis = “-1”
    input_player2_r_x_plus_axis = “+2”
    input_player2_r_y_plus_axis = “+3”
    input_player2_r_x_minus_axis = “-2”
    input_player2_r_x_minus_axis = “-3”

    fle1sch
    Participant

    Im using version 1.9.1 of RetroPie and a “Mega World USB Game Controllers” (ID 07b5:0314).

    In the menue the controller works instantly. After runnig the graphical “Input Configuration” for “RetroArc” the config under ~/RetroPie/configs/all/retroarch.cfg looks like this:

    input_player1_joypad_index = 0
    input_player1_b_btn = 2
    input_player1_a_btn = 3
    input_player1_y_btn = 0
    input_player1_x_btn = 1
    input_player1_l_btn = 4
    input_player1_r_btn = 6
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_up_btn = h0up
    input_player1_down_btn = h0down
    input_player1_left_btn = h0left
    input_player1_right_btn = h0right

    It seems to be OK, cause “jstest /dev/input/js0″ shows the same button-numbers and the “creation time” of the file is “now”.

    Then i run SNES or NES emulators with different ROMs and i’ve no buttons except “start”. I’ve already tried to copy the input config to the more specific configs like “~/RetroPie/configs/snes/retroarch.cfg”

    Any Ideas?

    cjeg
    Participant

    Hi everyone!

    I currently have my raspberry pi setup as a retro gaming console via retropie. That being said, every time I power on the system, the only input the system has is the two game controllers, since I only need to scroll through the menus in emulationstation.

    However, when I am done playing games and wish to power down it seems as though there is no way to properly power down using only the two controllers as input, and I am forced to unplug one of the controllers and plug in my wireless keyboard, press F4 to reach the terminal an issue the following shutdown commands,

    `sudo shutdown -h now

    Is there a solution for this so that I don’t have unplug one of my controllers and plug in a usb keyboard each time I wish to shut the system down?

    Would it be possible use this using some sort of button combination to activate a shutdown script? Or perhaps a shutdown or reboot option could be added somewhere within one of the menus within emulationstation.

    Please let me know if you have found any ways of doing this, or if you have any suggestions for a creative and convenient work-around.

    Thanks again!

    #3844
    Anonymous
    Inactive

    Hi @rogueapache, you will probably want to plug in a USB keyboard to do some setup on the backend. Do you currently network into your RPi to load roms, or do you use the USB stick method?

    If you are able to network into your Pi, you can go into the folder called “configs” and set up both gamepads. You just delete or # out the buttons that you don’t have.

    #3829
    Anonymous
    Inactive

    I’m having trouble getting one controller working via USB :/ – I receive a script error [a]

    iyeager
    Participant

    Just got RetroPi installed and loving how easy it all has been. Thanks for the great work from everyone invloved.

    One issue I’m having though, I got a couple of RetroLink N64-like controllers from Amazon (http://www.amazon.com/NINTENDO-64-CLASSIC-ENABLED-CONTROLLER-RETROLINK/dp/B008L3UUPS/ref=sr_1_1?ie=UTF8&qid=1388604061&sr=8-1&keywords=usb+n64) and they went through the auto setup just fine, and when it boots up and into Emulation Station I can switch through emulators and access the menu. However, once you launch an emulator, the stop working. No buttons work at all. This seems to be the case with all of the emulators I currently have ROMs installed for (SNES, GBA, and the stock ones.)

    I tried clearing out the configuration and rerunning the setup script, but to no avail. Any help would be appreciated.

Viewing 35 results - 3,396 through 3,430 (of 3,655 total)