- press the code to onCodeInput