Wireup in and out buttons to api (currently api is nyi).