From 45de2953b260a9764cf0fd1f3b3469dcaaa4effb Mon Sep 17 00:00:00 2001 From: zhou-chaobo Date: Wed, 6 Aug 2025 15:29:45 +0800 Subject: [PATCH] CAPI:add key source type Signed-off-by: zhou-chaobo --- arkui/ace_engine/native/ui_input_event.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arkui/ace_engine/native/ui_input_event.h b/arkui/ace_engine/native/ui_input_event.h index a13728fe5..0d7cc4710 100644 --- a/arkui/ace_engine/native/ui_input_event.h +++ b/arkui/ace_engine/native/ui_input_event.h @@ -122,6 +122,12 @@ 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 = 3, }; /** -- Gitee