You can use two Windows machines at once with a single keyboard and mouse without any special hardware. I had an extra laptop lying around that now connects with the same keyboard and mouse as my PC.
If your mouse is ever laggy or skips, then it might not be an issue with the mouse itself, it could be the USB port that you have it plugged into.