You may have known this already.
But I just found out how to work on multiple computers from one keyboard.
If you have a home network and both computers are on the network.
It is very easy.
Some might use a KVM switch, but if you want to use dual monitors, you will have to pay over $200.
This solution is FREE.
Dual monitors, dual laptops, and the best way to manage them | James Serra's Blog
I am not super technical. I just followed the directions and it worked.