Currently there is no input auto configuration script for either of these emulators. I will probably create the input script for duckstation soon as it looks like it could be done relatively easy. PPSSPP however has a very strange configuration so you will be much better off using retroarch libretro PPSSPP and manually configuring the core controls in the input settings in retrearchs menu (while you have launched the game).