Can't get controller working in Reicast
-
@joelkolb Sorry, got sidetracked with other things, but I've saved the info you posted. I'll take a stab at trying to reproduce the issue.
One more thing more to ask - when you did the configuration, was your RetroPie version the latest ? I know there was a fix for the Reicast configuration generator some time ago - definitely after the 4.4 image was cast, an year ago. -
@mitu Yes, definitely the latest. Just before producing those files I clean flashed a new micro SD card with the 4.4 image and then did a full update to make sure my results were clean. So, it was definitely the absolute latest it could be at the time.
-
@joelkolb I've looked over the scripts involved and can't figure out what's wrong. I have a similar - SNES style - controller and looked to be working fine with the mapping generated by the input scripts, but I don't use Reicast that often and it's mostly for testing.
-
I’m having the same problem and I tried using an Xbox controller with an analog stick and getting same thing. Only button that works on wired 360 controller is select which shuts the emulator down. Want to get reicast working because lr-flycast performance isn’t as good. Just updated retropie to 4.5
-
@funkotron77
configure the controller using Retropie Setup, found inconfiguration > reicast
(keyboard required).You may have to monkey around with the configs. SSH or Samba and programmer's notepad are most apt.
samba:\\ipaddress\configs\dreamcast\mappings\
I'm still uncertain about the namespace for these controller configs, I also recall there was an alternate(or altogether separate) folder where it loads these configurations from.
(Which might be located in the root filesystem at:
/home/$USER/.config/reicast/
)There should be one for the XBOX controller, and the input numbers (544, 543, 312, etc.) need to match what was displayed when configuring the reicast-input.
Using SSH the reicast-input can be called directly. (excuse if this isn't correctly recalled from memory, use
ls
"directory" if the file is called something else)
/opt/retropie/emulators/reicast/bin/reicast-input
I think you could also use
evtest /dev/input/event#
(the controller event # will be 0-6 depending on whatever it was assigned)
or
jstest /dev/input/js#
sudo apt install evtest
if evtest isn't installed.Using one of the test apps you will be able to read the events from the controller and discern the number that needs to be applied to the controller_~xbox.cfg using pn(programmers notepad).
If simply editing the cfg and saving doesn't work, then the file may have to be renamed to evdev_~xbox.cfg or it may need to be copied to that alternative directory mentioned before, I'm fairly uncertain about this but at least it is thorough monkey business.
If there was an easier way, it would be automatic configuration. And it is possible that all that needed to be done is to once again initialize "Configure Input" from the EmulationStation startmenu after reicast was installed for it to work.
Could also try running the reicast-input with root.
sudo /opt/retropie/emulators/reicast/bin/reicast-input
or
sudo /opt/retropie/emulators/reicast/bin/reicast-config
I don't remember. -
@Efriim thanks for the detailed reply pal. I tried the evtest thing and what is being output seems to match the .cfg file for the joysticks I’m trying to use. I’m going to try resetting the input config from ES and see if that works.
-
@funkotron77
I have a feeling it is this alternate directory I mentioned.
You should be able to find it by:
sudo find /home/pi -name evdev_*
find /home/pi -name reicast
sudo find /opt/ -name evdev_*
sudo find /etc/ -name evdev_*
sudo find / -name evdev_*
in that order, it is most likely in /home/, but i'm not an expert with using find.If you find this directory, there should be mappings somewhere and by my postulation you should find an evdev_xbox.cfg with the correct mapping for exit and none others.
-
@joelkolb Maaaaaaaaaan, you saved my 2 weeks of trying trying, searching.... i have this controller issue since i bought a lenovo m93p thinkcentre for my ne arcade cabinet. The PS4 Controller works without mapping, but i couldn't map my arcade controllers with USB encoder. Anyway thank you so much for your post. I'm so happy after all this houers to fix that problem. Thx a lot...
-
@manjo said in Can't get controller working in Reicast:
@joelkolb Maaaaaaaaaan, you saved my 2 weeks of trying trying, searching.... i have this controller issue since i bought a lenovo m93p thinkcentre for my ne arcade cabinet. The PS4 Controller works without mapping, but i couldn't map my arcade controllers with USB encoder. Anyway thank you so much for your post. I'm so happy after all this houers to fix that problem. Thx a lot...
hey can you go over the steps you did to make this work, I too am trying to configure arcade controls via usb encoder.
-
Thanks for the long explanation, but you forgot to mention how you remapped your working controller. Through emulation station or the script with reicast or ```
sudo /opt/retropie/emulators/reicast/bin/reicast-joyconfig -
@Plex7 I most certainly did mention how I remapped my working controller. It would have been a pretty pointless explaination otherwise.
tl;dr: You must use a controller with an analog stick to run "+Start Reicast" to navigate the Reicast menu and go to Settings/Controls and then remap your buttons on the controller without an analog stick. reicast-joyconfig incorrectly maps exit and start to clicking on the analog sticks. This will cause you to get stuck once you launch a game using a controller without an analog stick. Remapping your buttons in this interface will fix this and get your analog-stick-less controller working in Reicast.
-
@joelkolb Sorry you're correct. I am unable to get to settings though using a logitech F710 and a F310. You used a Pro controller? So far this one and an xbox controller works....
-
@Plex7 I used an 8BitDo SN30 Pro as my controller with analog sticks for the setup. If I had to take a guess at why you're having trouble I'd say it has something to do with the fact that your controllers all use Xinput. The controllers I used are all Dinput. Unfortunately, if that is the issue I don't know what to tell you to get it working with Xinput controllers.
-
I think you're onto something. All my logitech are set to Xinput. I will switch to Dinput and report back.
-
@joelkolb My logitech F310 has a switch to switch from one or the other. Did a fresh remap using emulationstation and the script, and the analog stick is still unresponsive to enter settings in start reicast.
Tagged you in my personal thread. I posted my config files.
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.