combined server and controller to send keyboard data to pi