add keycode output support