diff --git a/multimodalinput/kits/c/input/oh_input_manager.h b/multimodalinput/kits/c/input/oh_input_manager.h index 0a6ebafb0926a49e438bad9a62222f855a76a9ed..7ff7bb1511574ab7bb2c8660dddbef2d7de3161a 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