code to send touch inputs over