Hello,

Unfortunately it's not surprising you have an issue with a generic controller.

Recalbox can't support all controllers and generic controllers work randomly.

You must check if your pad is described bellow, but my reco would be selling your generic pads to buy supported ones..

https://wiki.recalbox.com/en/hardware-compatibility/compatible-devices/controllers

Damião