diff --git a/arkui/ace_engine/native/ui_input_event.h b/arkui/ace_engine/native/ui_input_event.h index a13728fe50da5166a9e103e72b83ea0ff757db7d..57bf0424a2e793a1470ff24334cbdf1ef0875eea 100644 --- a/arkui/ace_engine/native/ui_input_event.h +++ b/arkui/ace_engine/native/ui_input_event.h @@ -122,6 +122,18 @@ enum { UI_INPUT_EVENT_SOURCE_TYPE_MOUSE = 1, /** Touchscreen. */ UI_INPUT_EVENT_SOURCE_TYPE_TOUCH_SCREEN = 2, + /** + * @brief The key type. + * + * @since 21 + */ + UI_INPUT_EVENT_SOURCE_TYPE_KEY = 4, + /** + * @brief The joystick type. + * + * @since 21 + */ + UI_INPUT_EVENT_SOURCE_TYPE_JOYSTICK = 5, }; /**