RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    1. Home
    2. Tags
    3. gpio
    Log in to post
    • All categories
    • obsidianspiderO

      [SOLVED] Controller Detection & Switching? GPIO/USB/Bluetooth

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support bluetooth gpio usb controller
      17
      0 Votes
      17 Posts
      11k Views
      meleuM

      @obsidianspider
      you may have some issues in connecting and configuring the buttons of your bluetooth controllers. But once it's done, it's really easy to switch between the available controllers in RetroArch.

      Trying to ask your question "how does the system choose which controller to use?" (assuming system = RetroArch). Like I said in my first response, RetroArch define some indexes for the controllers. The default is player1 = index 0, player2 = index 1, and so on (I didn't make it clear in my first post). But you can change it in retroarch.cfg. What the RetroPie-Setup config editor and my joystick-selection tool do is just this: change these options in retroarch.cfg.

      BTW: the options related to what we are talking about here are input_player1_joypad_index, input_player2_joypad_index, etc...

    • K

      <Newbie Help> Can't get arcade buttons working properly with RPI1 and lr-fba

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support arcade arcade controls gpio raspberry pi 1 portapi
      2
      0 Votes
      2 Posts
      1k Views
      K

      I managed to get it to work!

      Turns out that I had to change the retroarch.cfg files inside the individual emulator folder, since the global retroarch.cfg file changes did not seem to register for the Neogeo ROM :)

    • K

      RaspberryPi zero doesnt show picture on Display!

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support zero raspberry pi raspbian video gpio
      1
      0 Votes
      1 Posts
      592 Views
      No one has replied
    • caver01C

      Recommended way to configure GPIO buttons-to-commands

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio
      3
      0 Votes
      3 Posts
      1k Views
      caver01C

      @bidinou said in Recommended way to configure GPIO buttons-to-commands:

      HI ! Really sorry for hijacking this thread with my own question but I never managed to get an answer :)

      Why are you hijacking? I don't mind adding additional content to this, but if you already asked this question somewhere, why didn't you continue the conversation with whomever responded?

    • B

      [solved] gamecon_gpio_rpi failed install (/usr/src/linux-headers-4.4.11+ missing rule?)

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support pizero gamecon gpio 3.8
      4
      0 Votes
      4 Posts
      3k Views
      B

      Hi, thanks @BuZz - all seems to work now. I got a few errors flash past as it was building but nothing that has stopped it from working. Hope it fixes it for you too @simonster.

      I did have to play about with the retroarch.cfg file in the /nes folder to get it to work with my NES controller, but fixed it by setting the player 1 control to:
      b_btn = "1"
      select_btn = "2"
      start_btn = "3"
      up_axis = "-1"
      down_axis = "+1"
      left_axis = "-0"
      right_axis = "+0"
      a_btn = "0"

      All the rest to "nul". If I didn't do this then as soon as I started a nes game it would not respond - I'm sure there is a proper config, but I spent a few hours playing about with the config files before I got it working so now enjoying some sweet retro gaming :)