3rd party images can be VERY iffy. It might be set-up great or likley just rushed job with rameverythingromrelatedware onto the card and its the poor sod that thinks they are getting a bargain end up frustrated and scammed
Try this to reset the controller congis, but being hinest the easiest and quickest way is to start from scratch. Download RetroPie and begin from nothing. You'll get plenty of help then
SSH in (https://github.com/retropie/retropie-setup/wiki/ssh), run sudo ~/RetroPie-Setup/retropie_setup.sh and go to Emulation Station configuration via
Manage Packages -> Core Packages -> emulationstation -> Configuration or
Configuration / Tools -> emulationstation
and choose the option to Clear/Reset Emulation Station input configuration
Initial installation from formatting the SD card
https://retropie.org.uk/docs/First-Installation/
(All packages with configuration appear in Configuration / Tools when installed)