@polandluigi

Try a factory reset, and then remap the controls.
With the factory reset you will lose all personalized settings, but keep your personal files (ROMS / BIOS / SAVES).