add keycode event