All I need in a remote, though, is a direction pad and about 6 buttons: power, select, back, home, volume up & down. And those power and volume buttons need to be routed to the display (projector in my case) and sound bar respectively.
You have USB receivers that respond to regular remote controls.
I bought an "air mouse" remote from AliExpress. There's a lot around.
On the back it has a little keyboard for typing.
I would try KDE connect to do keyboard or mouse input.