If you control 2-3 computers next to each other, I recommend the Logitech MX Keys and MX Master 3s. I can control multiple computers and switch between them by holding ctrl and bringing my mouse to the edge of a screen. It then jumps to the other computer seamlessly. Now my desk is clutter free of multiple mice and keyboards.

There's also barrier https://github.com/debauchee/barrier/ and some others.