I copied the remote.conf from the base Android image on my RBSCH M96X S905X box, but the included IR remote still wasn't working under LibreElec. I made some adjustments to the file and was able to get it working, so I thought I would post it here and possibly same others some effort.
Let me know if you have any questions.