add keyboard control.