Controller not working in PSX emulators
#1
Hello there

I'm using Milhouse's build 0316 of LIbreElec (latest from yesterday) on Generic (Intel NUC / x86_64), which has Kodi 18 and RetroPlayer compatibility.

While GameBoy Advance emulator works fine, I can't seem to get my gamepad working with PCSX ReARMed. Gamepad is setup properly in the settings (the same way I set it up for GBA), but nothing happens when I press the buttons when the game is running.

Here's an extract of the log when pressing buttons:

Code:
21:32:51.485 T:140710634245376   DEBUG: ------ Window Init (VideoFullScreen.xml) ------
21:32:51.585 T:140710040827648   DEBUG: Button [ 3 ] on Mega World USB 2-Axis 8-Button Gamepad released
21:32:51.585 T:140710040827648   DEBUG: Feature [ y ] on game.controller.default released
21:32:53.778 T:140710040827648   DEBUG: Button [ 0 ] on Mega World USB 2-Axis 8-Button Gamepad pressed
21:32:53.778 T:140710040827648   DEBUG: Feature [ a ] on game.controller.default pressed
21:32:53.778 T:140710040827648   DEBUG: Joystick button event handled
21:32:53.881 T:140710040827648   DEBUG: Button [ 0 ] on Mega World USB 2-Axis 8-Button Gamepad released
21:32:53.881 T:140710040827648   DEBUG: Feature [ a ] on game.controller.default released
21:32:58.073 T:140710040827648   DEBUG: Button [ 1 ] on Mega World USB 2-Axis 8-Button Gamepad pressed
21:32:58.073 T:140710040827648   DEBUG: Feature [ x ] on game.controller.default pressed
21:32:58.073 T:140710040827648   DEBUG: Joystick button event handled
21:32:58.785 T:140710040827648   DEBUG: Button [ 1 ] on Mega World USB 2-Axis 8-Button Gamepad released
21:32:58.785 T:140710040827648   DEBUG: Feature [ x ] on game.controller.default released

Again, the gamepad works in both Kodi UI and GBA emulators. I haven't tried with other emulators yet. The gamepad doesn't seem to work both in PCSX and Mednafen PSX.

Is it a bug, or am I missing a config somewhere?
Thanks!
Reply
#2
Having this issue aswell. Xbox 360 wireless controller connected to Intel Nuc Gen7 with Millhouse Libreelec x64_64, works in Kodi and in Snes9x but not in PSX Rearmed or Mednafen PSX.

At work atm so cant post any logs.
Reply
#3
(2017-03-22, 14:49)oBey Wrote: Having this issue aswell. Xbox 360 wireless controller connected to Intel Nuc Gen7 with Millhouse Libreelec x64_64, works in Kodi and in Snes9x but not in PSX Rearmed or Mednafen PSX.

At work atm so cant post any logs.

Glad to see I'm not the only one with this issue. If someone not using LibreELEC could confirm if the bug is linked to Kodi or that specific release of LibreELEC, that would help debugging the issue.
I can also confirm it works in other emulators (NES, SNES, GBA), just not PSX ones.
Reply
#4
Debuglogs for a sessions starting a game and pressing all buttons once. Maby someone can get something out of it.

https://pastebin.com/2DcZk7nD
Reply
#5
I actually just had this issue last night after resuming my test builds. Try starting the game from the .cue file. If my memory is correct, you can easily create or generate one if it doesn't exist. That got my controller (DualShock3) working.
Reply
#6
Will do a test.

Edit: Same when running from the .cue im afraid.
Reply
#7
Thanks for the log. It shows what's wrong:

Code:
ERROR: AddOnLog: PlayStation (PCSX ReARMed): <feature> tag has no "mapto" attribute

This was fixed in PR:4. Make sure the fix is getting into your build.
Reply
#8
Already know and fixed, great. Guessing it will be added some day by milhouse, im not in a hurry.

Thanks for reply and the great work!
Reply
#9
@garbear Hey, author of the patch here. I changed that locally in my addon directory, but unfortunately it didn't make much changes. The input still wasn't getting routed to the emulator.
Is the file perhaps compiled into something else? In which case, it might be indeed the reason.
Reply
#10
No, the file is loaded directly by game.libretro. Can you post a debug log with the fix included? This may not show what's wrong, so I'll fire up a PS game and trace down the problem later today.
Reply
#11
I just tried game.libretro.pcsx-rearmed and input is still broken. However, every button I press is successfully sent to the libretro core as a game.controller.ps button. This seems to be an internal error in the core. Can you try various roms to see if any work, as well as the beetle-psx emulator?
Reply
#12
I changed the file locally and fired up some games. I managed to get controller input in Tony Hawk Pro skater 2 EU. But not in any other games i tried. FF7, Crash Bandicot, Metalslug.

Havent tried the other core.
Reply
#13
i have this issue as well using Milhouse #0412 and older.
the issue appears also when mapping buttons with the PS3 controller in the controller settings. i can select a button, it waits for the button-press to assing but did not get anything. this applies to all conrtoller-profiles (Kodi, Dreamcast,GameBoy,...)
Reply
#14
The issue in the OP is about an xbox 360 controller not working in a PS1 game. You have a PS3 controller not working at all. These are different issues. Can you post a debug log please?
Reply
#15
here is the logfile

logfile
Reply

Logout Mark Read Team Forum Stats Members Help
Controller not working in PSX emulators1