Dreamcast GPIO controller do not work [SOLVED]
-
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 = 31emu.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 = 0Thank you for reading me
-
@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 ? -
@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) -
@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.
-
Yep, but where could i download retropie 4.0 ? Thanks
-
@superpiboy why do you want to download version 4.0? You have 4.4 which has everything from 4.0 already included...
-
@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. -
@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 :) -
@mitu
There is maybe another method that i don't know ! -
@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" -
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 -
for me, not working, some games in dreamcast i cant move directional of gpio only buttons of action :(
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.