Kodi has the IR stuff built in from what I remember. At least on windows it did years ago. You just need a “media remote” at one point called windows media remote. It’s a usb or receiver with a regular IR remote.
After a quick google here is a list I found.
I want to downvote you but I cant.