That gamepad seems to already have a configuration file, see here:
https://github.com/xbmc/peripheral.joystick/blob/Krypton/peripheral.joystick/resources/buttonmaps/xml/linux/usb_gamepad____________10b_2a.xml
Although it has only the game.controller.snes profile defined. This profiles are mainly for the RetroPlayer engine/emulators, to play games inside Kodi, which will only be officially available in Kodi 18. So try what TheDataCereal said, which is basically manual mapping one of this profiles in the Kodi interface, I also recommend using the default one.
PS1: The gamepad configuration examples on RetroPie wiki are outdated, they are for Kodi < 17. The new ones have the format like the one posted above. In your case you should be able to do everything in the Kodi user interface, no need to create/edit the xml file.
PS2: Yes, it can have spaces after the name.