The Kodi default can be customized but not without user involvement. Your comment about gen.xml got me digging and basically Kodi will read all xml files in the keymap folder
Here is the one I am working on supporting in the code on distributing with x-newa after I tweak the Hauppauge and MCE remotes.
Code:
<keymap>
<global>
<remote>
<red>Red</red>
<green>Green</green>
<yellow>Yellow</yellow>
<blue>Blue</blue>
<guide>noop</guide>
<recordedtv>noop</recordedtv>
<mytv>noop</mytv>
<myvideo>noop</myvideo>
<mymusic>noop</mymusic>
<mypictures>noop</mypictures>
<livetv>noop</livetv>
<liveradio>noop</liveradio>
<power>noop</power>
<subtitle>NextSubtitle</subtitle>
<star>AspectRatio</star>
</remote>
<keyboard>
<numpadplus>noop</numpadplus>
<numpadminus>noop</numpadminus>
<b>noop</b>
<e>noop</e>
<h>noop</h>
<i>noop</i>
<j>noop</j>
<k>noop</k>
<s>noop</s>
<s mod="ctrl">Stop</s>
<!--f8>noop</f8-->
<!--f9>noop</f9-->
</keyboard>
</global>
<window13001>
<!-- can be more specific to web client here -->
</window13001>
</keymap>
If you don't want to type it you can use ssh to
Code:
cd /storage/.kodi/userdata/keymaps
wget http://xnewa.netai.net/Files/nextpvr.xml
The keymaps location will vary if you have multiple profiles.