I'm running ubuntu 18.04 and have installed pcsxr via apt. Everything seems to work as expected except for controllers. When I try to click on the controller icon or select "controllers..." from the configuration menu, nothing works at all. Nothing is printed to stderr either.
My controller is being detected properly by the system (lsusb) and works with other games and emulators without issue.
It seems that at least one other person attempted to ask the same question before, but unfortunately, their question was locked without any answers. That is why I'm posting a new question.
How can I get pcsxr to detect my control and show the configuration window?
21 Answer
Ubuntu 18.04 shipped with many broken packages, and pcsxr is one of them. Fortunately, pcsxr is among the few packages that can be easily fixed. The solution is to install the functioning input plugin from the 16.04 version of pcsxr. (All credit goes to josefien for figuring this out)
- Install pcsxr normally:
sudo apt install pcsxr - Download the 16.04 version of pcsxr: (most likely the amd64 version;
uname -awill give display your architecture, if you see x86_64 then pick amd64 in the download) - Extract the deb archive (
right click->extract here). You will find a filedata.zipthat needs to be extracted as well. - From the data file, you'll need to copy three files. Two of the three will replace preexisting files. In the terminal, go to the extracted data file and copy the folling files:
sudo cp usr/lib/x86_64-linux-gnu/psemu/cfgDFInput /usr/lib/x86_64-linux-gnu/psemu/cfgDFInputsudo cp /usr/lib/x86_64-linux-gnu/psemu/libDFInput.so -> /usr/lib/x86_64-linux-gnu/psemu/libDFInput.sosudo cp /usr/share/psemu/dfinput.glade2 /usr/share/psemu/dfinput.glade2
- Since we're using glade again, you'll also need to install or it wont work:
sudo apt install libglade2-0 - This is not strictly related to this question, but the
pcsxrpackage is still broken but in another way: You need to setCpu = 1in~/.pcsxr/pcsxr.cfgor pcsxr will crash.
With that, you're all set. The configuration window should appear normally and your controller should be detected and ready for configuration.
2