Implement keyboard inputs