RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Dreamcast GPIO controller do not work [SOLVED]

    Scheduled Pinned Locked Moved Help and Support
    dreamcastreicastgpio controlleremu.cfggamepad
    12 Posts 4 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SuperPiBOyS
      SuperPiBOy
      last edited by SuperPiBOy

      Hi Retrogamers,

      My hardware configuration : RPI 2, PIGRRL 2, RETROPIE 4.4

      There is a setting that i don’t understand. I use RETROGAME (Adafruit controller driver), all work fine as GPIO controller except with Dreamcast emulator (Reicast).
      I followed the instructions (https://github.com/retropie/retropie-setup/wiki/Dreamcast) but my gpio controller RETROGAME does’nt work.

      On the other hand, i can set gpio controller with ./reicast-joyconfig, then a file “opt\retropie\configs\dreamcast\mappings\controller_retrogame.cfg” is created.
      I have just one Event named dev/input/event0.
      Conversely, if if plug USB snes gamepad or usb gamepad PS3, they ‘re work fine.

      I don’t know what to do , i appeal to your help 

      Bellow all my settings :

      controller_retrogame.cfg :
      [emulator]
      mapping_name = retrogame
      btn_escape = 57

      [dreamcast]
      btn_a = 56
      btn_b = 44
      btn_x = 45
      btn_y = 29
      btn_start = 28
      btn_dpad1_left = 105
      btn_dpad1_right = 106
      btn_dpad1_up = 103
      btn_dpad1_down = 108

      [compat]
      btn_trigger_left = 30
      btn_trigger_right = 31

      emu.cfg :
      [audio]
      backend = auto
      disable = 0

      [config]
      Debug.SerialConsoleEnabled = 0
      Dreamcast.Broadcast = 4
      Dreamcast.Cable = 3
      Dreamcast.RTC = -2136789165
      Dreamcast.Region = 3
      Dynarec.Enabled = 1
      Dynarec.idleskip = 1
      Dynarec.unstable-opt = 0
      aica.LimitFPS = 1
      aica.NoBatch = 0
      aica.NoSound = 0
      bios.UseReios = 0
      pvr.MaxThreads = 3
      pvr.Subdivide = 0
      pvr.SynchronousRendering = 0
      pvr.rend = 0
      rend.UseMipmaps = 1
      rend.WideScreen = 0
      ta.skip = 0

      [dispmanx]
      height = 480
      maintain_aspect = yes
      width = 640

      [input]
      evdev_device_id_1 = 0
      evdev_device_id_2 = 1
      evdev_device_id_3 = 0
      evdev_device_id_4 = 0
      evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_retrogame.cfg
      evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_retrogame.cfg
      joystick_device_id = -1

      [omx]
      audio_hdmi = no
      audio_latency = 100

      [players]
      nb = 1

      [reios]
      ElfFile =

      [testing]
      ta.HashCheckFile =
      ta.HashLogFile =

      [validate]
      OpenGlChecks = 0

      Thank you for reading me 

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @SuperPiBOy
        last edited by

        @superpiboy Starting with RetroPie 4.0, according to the docs, there is no need to configure explicitely the inputs with the emu.cfg file, if you configure the controller in Emulationstation it should generate a Reicast compatible configuration for the controller. Have you tried that ?

        1 Reply Last reply Reply Quote 0
        • SuperPiBOyS
          SuperPiBOy
          last edited by

          
          @mitu
          thank you for your advices. No, i didn't try this. Where can i find retropie 4.0 version ?
          There is not another way ? for example when starting Reicast, lauching Retroach to setup game controller ?
          Ii is weird because on last Recalbox version , it works. (i read a similare topic)

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @SuperPiBOy
            last edited by

            @superpiboy Since you have 4.4, you're already at the lastest version so the new configuration should be in effect. Reicast is not an RetroArch (libretro) core, so it's not going to work to configure it as a libretro core.

            1 Reply Last reply Reply Quote 0
            • SuperPiBOyS
              SuperPiBOy
              last edited by SuperPiBOy

              Yep, but where could i download retropie 4.0 ? Thanks

              quicksilverQ mituM 2 Replies Last reply Reply Quote 0
              • quicksilverQ
                quicksilver @SuperPiBOy
                last edited by

                @superpiboy why do you want to download version 4.0? You have 4.4 which has everything from 4.0 already included...

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @SuperPiBOy
                  last edited by

                  @superpiboy Older releases are archive here, but there is no 4.0 image available (only the script). But, as @quicksilver mentioned, all the features in that image are available in the 4.4 (latest) version also, so there's no point in trying an older release.
                  BTW, there's no point in opening a github issue for this, the forum is the place to discuss this kind of support questions.

                  SuperPiBOyS 3 Replies Last reply Reply Quote 0
                  • SuperPiBOyS
                    SuperPiBOy @mitu
                    last edited by SuperPiBOy

                    @mitu
                    i have not read carrefully your first answer, sorry, you're right, no need to use Retropie 4.0 :).
                    so in fact, yes, i already tried to setup my retrogame GPIO controller under emulastionstation if you mean that it is this setting : menu retropie/Retropie-setup/manage packages/manage optional packages/reicast/configuration options/configure input devices for Reicast. But without any success :)

                    1 Reply Last reply Reply Quote 0
                    • SuperPiBOyS
                      SuperPiBOy @mitu
                      last edited by

                      @mitu
                      There is maybe another method that i don't know !

                      1 Reply Last reply Reply Quote 0
                      • SuperPiBOyS
                        SuperPiBOy @mitu
                        last edited by SuperPiBOy

                        @mitu
                        Like i said above in the topic's beginning:
                        a file “opt\retropie\configs\dreamcast\mappings\controller_retrogame.cfg” is created, when i setup with "configure input devices for Reicast"

                        1 Reply Last reply Reply Quote 0
                        • SuperPiBOyS
                          SuperPiBOy
                          last edited by SuperPiBOy

                          Hi,
                          this issue is now solved , the GPIO controller works fine :)

                          In the opt/retropie/configs/all/autoconf.cfg file, i modified the line "reicast_input = "1" by "reicast_input = "0"
                          And Add these entries in emu.cfg :

                          [input]
                          evdev_device_id_1 = 0
                          evdev_device_id_2 = -1
                          evdev_device_id_3 = -1
                          evdev_device_id_4 = -1
                          evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_retrogame.cfg
                          joystick_device_id = -1

                          1 Reply Last reply Reply Quote 0
                          • L
                            lokize
                            last edited by

                            for me, not working, some games in dreamcast i cant move directional of gpio only buttons of action :(

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.