check for 0 keycode