2016 Jun 23
Recently I bought a small and inexpensive 2-port KVM (DVI/USB) switch that I installed with the intention to switch between my Linux and Windows workstations. Marketing promises that I could switch by pressing Scroll-Lock or Ctrl on my keyboard two times. The sad reality is: this only works if the currently active workstation is the Windows one (WTF!?).
This article briefly describes how you can add an ESP8266 module to a KVM switch, which allows toggling between the two computers by sending a REST/JSON request via WLAN. You can then define global keyboard shortcuts that simply call httpie to send the toggle request to the switch.