I've only used it on LE 7.90.003 Kodi V17 with a Logitech F710 (Similar to Xbox 360) and you just need to go to System -> System -> Input Devices --> Controllers.In V17, you just need to select the buttons, and select each one to map them.
As to what each button does, is trial and error as there seems to be no documentation about that.
See Game controllers - Official Kodi Wiki for more information.
All i have in System/System/Input Devices/ Controllers is "CEC"