select keyboard control.
"Simplify" state transition code.