I tried another gamedap (from an old OUYA console) and although the behavior was the same, with it I was able to enter the ppsspp configuration menu and map the keys again. I can now play with all the buttons.
For the record, this was my output of the Dragonrise gamepad from the gamepadcontroller tool:
03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,platform:Linux,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b6,righttrigger:b7,
My problem now is that many ppsspp games fail with a Segmentation Fault at boot time. Some games boot in 1 out of 5 attempts, but many others never boot at all. This happens after a fresh install of Retropie and ppsspp. Is this normal behavior for heavier games? Or is it something that can be fixed? This is the error in the logs:
Parameters:
Executing: /opt/retropie/emulators/ppsspp/PPSSPPSDL --fullscreen "/home/osmc/RetroPie/roms/psp/Assassins Creed Bloodlines.iso"
55:11:172 Core/Config.cpp:1192 I[LOADER]: Loading controller config: /home/osmc/.config/ppsspp/PSP/SYSTEM/controls.ini
55:11:197 Core/Config.cpp:1277 I[LOADER]: Config saved (got storage permission): '/home/osmc/.config/ppsspp/PSP/SYSTEM/ppsspp.ini'
55:11:198 Core/Config.cpp:1290 I[LOADER]: Controller config saved: /home/osmc/.config/ppsspp/PSP/SYSTEM/controls.ini
SDL_CreateWindow failed for GL 3.2: mali-fbdev: Can't create EGL window surface
SDL_CreateWindow failed for GL 3.1: mali-fbdev: Can't create EGL window surface
SDL_CreateWindow failed for GL 3.0: mali-fbdev: Can't create EGL window surface
I: VulkanLoader.cpp:261: VulkanMayBeAvailable: Device allowed ('SDL:Linux')
I: VulkanLoader.cpp:268: VulkanMayBeAvailable: Library loaded ('libvulkan.so')
I: VulkanLoader.cpp:319: VulkanMayBeAvailable: Enumerating instance extensions
I: VulkanLoader.cpp:330: VulkanMayBeAvailable: Instance extension count: 1
I: VulkanLoader.cpp:371: VulkanMayBeAvailable: Calling vkCreateInstance
E: VulkanLoader.cpp:375: Failed to create vulkan instance.
DEBUG: Vulkan is not available, not using Vulkan.
I: Config.cpp:526: Longest display side: -1 pixels. Choosing scale 1
I: NativeApp.cpp:572: Boot filename found in args: '/home/osmc/RetroPie/roms/psp/Assassins Creed Bloodlines.iso'
Pixels: 1920 x 1080
Virtual pixels: 1920 x 1080
I: gpu_features.cpp:174: GPU Vendor : ARM ; renderer: Mali-450 MP version str: OpenGL ES 2.0 ; GLSL version str: OpenGL ES GLSL ES 1.00
loading control pad mappings from gamecontrollerdb.txt: gamecontrollerdb.txt missing
SUCCESS!
Control pad device 0 not supported by SDL game controller database, attempting to create default mapping...
Added default mapping ok
found control pad: OUYA Game Controller, loading mapping: SUCCESS, mapping is:
05000000362800000100000003010000,OUYA Game Controller,x:b3,a:b0,b:b1,y:b2,back:b8,guide:b10,start:b9,dpleft:b15,dpdown:b14,dpright:b16,dpup:b13,leftshoulder:b4,lefttrigger:a2,rightshoulder:b6,rightshoulder:b5,righttrigger:a5,leftstick:b7,leftstick:b11,rightstick:b12,leftx:a0,lefty:a1,rightx:a3,righty:a4
pad 1 has been assigned to control pad: OUYA Game Controller
55:12:720 UI/DiscordIntegration.cpp:57 I[SYSTEM]: Discord connection initialized
55:12:720 Common/MsgHandler.cpp:45 E[SYSTEM]: Warning: Failed to load ui_atlas.zim.
Place it in the directory "assets" under your PPSSPP directory.
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 19633 Segmentation fault /opt/retropie/emulators/ppsspp/PPSSPPSDL --fullscreen "/home/osmc/RetroPie/roms/psp/Assassins Creed Bloodlines.iso"