My wife complained that my MythTV DVR was too loud in the living room (I have mild hearing loss, so I believe her, but I can't hear the fans myself). So I moved the box into a utility room and replaced it with a Raspberry Pi 3B+ (the newest model at the time) running Kodi as a frontend.
Kodi compiled for the RPi can be buggy, and I wouldn't recommend this setup for a novice, but it works well enough.
Anyways, I was surprised to find that Kodi on the RPi supports CEC. I was controlling it with a wireless keyboard for a month before, one day after I switched the input and absent-mindedly pressed a button on the D-pad, the RPi responded to my input. It works really well (until Kodi crashes).