diff --git a/arkui/ace_engine/native/ui_input_event.h b/arkui/ace_engine/native/ui_input_event.h index 1e74a9ff75b05a103684fc1f90528b8fa5b5a80c..83bfe0b4bdc2830211abb9aac7d5b50a906b75ea 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, }; /**