I posted the working configs in my process thread here:
https://retropie.org.uk/forum/post/46824
But honestly, you'll benefit from doing the work yourself too. One of the things in particular is that the controller I'm using (Wireless Xbox360) is mapped on my device as Joystick #5, and Event #7. If you only have 1 controller, yours may be listed as something like Joystick #0 and Event #1 or something. Also, it looks like it's picking up a serial number or something in the actual device name, so it might not work at all. But you're more than welcome to give it a try, maybe you'll get lucky. Also, I'm using the default keyboard mapping in the game, so if you've changed it, you'll want to reset it.
I just double checked, and it doesn't look like the the port assignment is needed for anything more than identifying the actual button maps. The configuration uses by-id so it'll work no matter what port or joystick # it's assigned to. The only issues you'd have would be if the controller you're using ISN'T the same, and if the ID is incorporating a serial number.