cape_sockets: add selector and button