Using a Roku Remote to control (i.e send keypresses) to a Linux Computer

I’m customizing my Linux Computer to act as a smart TV. I have a Roku Remote laying around. Is there anyway to hook into the presses of a Roku Remote on my Linux Computer to for instance press space to pause a video or similar?

I imagine I can configure my computer to use the Roku Remote to select things, play videos, etc. To do so, I need some way to receive its signals. I have also considered just using my phone with KDE Connect, which I will do if I can’t find any way to hook into the signals of the Roku Remote.