The analog sticks work if you configure them in the RGUI, so thats a separate issue really.
Delete all the config files in that controller directory and just create a new one in ES, then post that one in Pastebin, and let us know what button mapping does or doesnt work.
To be honest I dont know why the other one wouldnt work for you, as they are the codes for a FC30 Pro starting in just power mode.
RetroPie help guides --> https://goo.gl/Yfy8kj
Please read this before asking for help --> http://goo.gl/eLErnl