connect touch input to server