From f9d459711f81bee8ccaf39b9b26b37f5255f0467 Mon Sep 17 00:00:00 2001 From: wanghao1717 Date: Tue, 12 Aug 2025 10:17:19 +0800 Subject: [PATCH] diff Signed-off-by: wanghao1717 --- .../kits/c/input/oh_input_manager.h | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/multimodalinput/kits/c/input/oh_input_manager.h b/multimodalinput/kits/c/input/oh_input_manager.h index 0a6ebafb092..7ff7bb15115 100644 --- a/multimodalinput/kits/c/input/oh_input_manager.h +++ b/multimodalinput/kits/c/input/oh_input_manager.h @@ -2084,6 +2084,18 @@ Input_Result OH_Input_UnregisterDeviceListeners(); */ Input_Result OH_Input_GetFunctionKeyState(int32_t keyCode, int32_t *state); +/** + * @brief Queries the maximum number of touch points supported by the current device. + * If -1 is returned, the number is unknown. + * + * @param count Maximum number of touch points supported. + * @return OH_Input_QueryMaxTouchPoints function api result code + * {@link INPUT_SUCCESS} if the operation is successful; + * {@link INPUT_PARAMETER_ERROR} if count is a null pointer. + * @since 20 +*/ +Input_Result OH_Input_QueryMaxTouchPoints(int32_t *count); + /** * @brief Get pointer location. * @@ -2099,19 +2111,6 @@ Input_Result OH_Input_GetFunctionKeyState(int32_t keyCode, int32_t *state); * @since 20 */ Input_Result OH_Input_GetPointerLocation(int32_t *displayId, double *displayX, double *displayY); - -/** - * @brief Queries the maximum number of touch points supported by the current device. - * If -1 is returned, the number is unknown. - * - * @param count Maximum number of touch points supported. - * @return OH_Input_QueryMaxTouchPoints function api result code - * {@link INPUT_SUCCESS} if the operation is successful; - * {@link INPUT_PARAMETER_ERROR} if count is a null pointer. - * @since 20 -*/ -Input_Result OH_Input_QueryMaxTouchPoints(int32_t *count); - #ifdef __cplusplus } #endif -- Gitee