I would like to update the CEC command mappings for my TV remote. On RaspBMC I used to edit the following file, then copy it to my /.xbmc/userdata folder:
Could anyone advise where this file now lives on OSMC / Kodi?
You shouldn’t be editing that file - instead you create a remote.xml with the desired (changed) mappings in your ~/.kodi/userdata/keymaps.
That way you don’t add too many excess mappings, and it shouldn’t get messed up by updates.
Last time I tried that on RaspBMC I couldn’t get it to work - copying the entire file was the only way I could get it to pick up the new settings. I’ll give it another try, but I’d like to look at the original file to work out what i need to add/update, if I can find it!
Thanks, got it working with a small custom file at ~/.kodi/userdata/keymaps/remote.xml
Previous failures turned out to be user error, with mismatched capitalization of opening and closing tags.
For anyone who is interested, I found the original file in /usr/share/kodi/system/keymaps/remote.xml