@kenciro sorry, don't dream about such a feature, laws are laws, so even if you ask directly to libretro or any other emulator development team, you'll get the same answer.
@omar-gastoldi some psx games need analog inputs that need to be configured over retroarch, most don‘t. About psp, it might be somethibg similar, maybe?