I'm opening an issue to track RetroArch .cfg format support (https://github.com/libretro/retroarch-joypad-autoconfig). Hopefully we'll be able to share as many button maps as possible with them.