Code input state.