Added keyboard control.