Key input is now implemented.