keypress current check