...Barrier is able to do this in software, giving you control over different machines by simply moving your mouse to the edge of the screen, or by using a keypress to switch focus to a different system.
Barrier was built to be simple and reliable, allowing you to control a different machine by simply using your mouse and keyboard from another. It works on all major operating systems (Linux, Windows, MacOS/OS X), including FreeBSD and OpenBSD.