I found a neat tool recently called x2x. It lets me forward keyboard/mouse movement from my laptop to my rpi-connected tv over ssh. So my laptop ends up doubling as a very fancy remote control. :)

E.g., I just mouse over to the right on my screen so I can move the mouse on my tv and then type in a search string to bring up a video to watch in the browser on the tv.

1. Can this be done with Wayland currently? (Currently = works in some lts version of a popular distro like Debian or Ubuntu).

2. Glad to see people still working on fixing bugs and making improvements in Xorg-Server!

There's also synergy. Unfortunately it's commercial. I used it for a while. https://symless.com/synergy

Not sure if it works with Wayland either though.

Actually, right now I'd recommend Barrier:

https://github.com/debauchee/barrier