In my case, the name of the flycast files generated with the configuration of the controls for each game is SDL_Xbox 360 Wireless Receiver (XBOX)_"game name". You have to rename the files so that it is recognized according to the gamepad you have connected