setup button pushes to send events to sockets depending on which button pressed