Cool! but unfortunately this was a bit useless for me in a Mecool Ki Pro box. The problem with the remote control of that box is with the buttons FAV, DTV and APPS, which send KEY_FAVORITE, KEY_COMPOSE and KEY_CONFIG respectively to Kodi, they are not associated with any action in Lircmap.xml and returns the code 0 (seen it in kodi.log), so the Keymap Editor addon can’t associate the buttons with an action. So I tried to add it to Lircmap.xml in /storage/userdata, but CE did not load it (maybe a bug?), I had to use Linux to mount the SYSTEM file, edit the Lircmap.xml in /usr/share/kodi/system and compress it again with mksquashfs with LZO, from that way I got the buttons to send some code.
If someone has the same problem, these are the lines I added to Lircmap.xml, under device “devinput”:
EDIT: WTF! Sorry, I finally did a clean installation of CoreElec and now I see that it does work putting the Lircmap.xml file in /storage/userdata, maybe I have done something that interfered with the file, I suspect about the remote config file in rc_keymaps, as I was trying to make the buttons work by changing the signal associated from KEY_COMPOSE/CONFIG/FAVORITE to another. However, maybe the devs can make the corrections in the built in Lircmap.xml file, changing the generic obcXXX codes if they know better than I what function to call in Kodi