rg35xx-cfw / rg35xx-cfw.github.io

RG35XX Custom Firmware Documentation
418 stars 3 forks source link

Using mapped Axis swap in PPSSPP causes system freeze #193

Closed rooster85 closed 2 months ago

rooster85 commented 3 months ago

Hello,

I have a RG35XX plus, on latest Batocera v40. Mapping Axis swap in PPSSPP (to toggle dpad to analog mapping for games which require analog stick for control) causes system freeze upon first use of the button. I tested various games (persona 3, Lumines, Final Fantasy Reishiki - where it's actually needed) and different buttons (L2 or R2) with same behavior.

Steps:

  1. go to PPSSPP settings - control - control mapping - axis swap and map a button to that functionality
  2. Go back to the game and press the mapped button

Expected result: toggle Dpad mapping to analog stick and back Observed result: System freezes on current screen (in game) upon button press. Not recoverable any other way than with the device reset button

As a side note, mapping a button to e.g. fast forward works normally and is usable in-game. I haven't tried other non-control button mappings (like save states, rewind, etc.) so can't comment if it works or not.

Thanks much for looking into this and for all your great work on this Batocera cfw so far! Each update makes the experience better and makes the device so much better to use for me.

acmeplus commented 3 months ago

There's an issue with the es_input.cfg mapping for the plus. The H and plus use the same mapping but the plus does not have the analogues and R3/L3 controls, so that confuses the configuration map.

You can edit the system/configs/emulationstation/es_input.cfg search for the Deeplay-keys section, and delete the lines for joystick 1 & 2, as well as L3, and R3. That may solve the problem.

rooster85 commented 3 months ago

Hi, I tried what you suggested but no change.. all joy1, joy2, l3, r3 lines deleted but system still freezes as soon as I press the mapped button. I had an idea and tried doing the same on my android phone with latest ppsspp installed.. and it's got the same issue. So it seems this might be a ppsspp bug and not batocera. In case you don't have any other suggestions or a workaround, I can maybe close the issue if it needs to be resolved on ppsspp side

rooster85 commented 2 months ago

Fyi I found a ticket in PPSSPP GitHub related to this feature so I posted a comment there, hopefully this can get resolved on PPSSPP side. I'm fine to close this issue since it's not Batocera only. https://github.com/hrydgard/ppsspp/issues/18945

rooster85 commented 2 months ago

Will be fixed on PPSSPP side, see my link above