See this file /usr/share/kodi/system/Lircmap.xml specifically the remote device=“linux-input-layer” starting at line 414 for key definitions and actions. There is no need to relearn the remote, just edit the KEY_*** lines in your lircd.conf to perform the action desired