This is indeed cool. A lazier and less efficient solution for those that don't want to take apart the computer is synergy (https://symless.com/synergy and https://github.com/symless/synergy-core) which lets you share keyboard/mouse and clipboard over multiple computers.
Synergy's commercial nature of their product is weird and wrong, use barrier instead.