I do know for sure that lirc is included in the newer linux/Ubuntu kernel. I was slapped down a while ago when I tried to correct somebody about using sytemctl to stop and start lirc in libreelec, I know that is how in linux/Ubuntu, don't know about libreelec.
Comparing LibreELEC with KodiUbuntu is pretty much a waste of time, you have to forget most of what you trial and errored and start anew.
Ir-keytable is used to configure the seemingly invisible lirc.
Lirc.org is a good place to find out how to make lirc work the way you want it to. However it is huge and filled with outdated and new information. I do remember seeing something about conflicts with the kernel when programming that I could not understand because it is way too "linux" for me.
In windows some key strokes, like the green button, are defined by registry values, Makes me wonder about those odd ones in LibreELEC.