You can check out the official commented .cfg from https://github.com/libretro/RetroArch/blob/master/retroarch.cfg, but apart from that I don't know if there's any official reference with all the options. The aforementioned configuration file has a pretty good explanations for the input handling.