Sorry this took so long! Attached is my entire retroarch.cfg file. Warning — It’s long! It has all the possible options on it. There are no specifically mapped buttons, they’re all set up using the retroarch setup file.
Remember to blank out all other console specific config files!
Also, MAME controls can be configured ingame by pressing TAB.