增加actiontime

Signed-off-by: mayunteng_1 <mayunteng@huawei.com>
This commit is contained in:
mayunteng_1 2024-03-29 21:10:01 +08:00
parent e7ffaebbfa
commit 66ab3ff186

View File

@ -305,7 +305,7 @@ struct Input_KeyEvent* OH_Input_CreateKeyEvent();
/**
* @brief Destroys a key event object.
*
* @param keyEvent event Key event object.
* @param keyEvent Key event object.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/
@ -314,7 +314,7 @@ void OH_Input_DestroyKeyEvent(struct Input_KeyEvent** keyEvent);
/**
* @brief Sets the key event type.
*
* @param keyEvent event Key event object.
* @param keyEvent Key event object.
* @param action Key event type.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
@ -324,7 +324,7 @@ void OH_Input_SetKeyEventAction(struct Input_KeyEvent* keyEvent, int32_t action)
/**
* @brief Obtains the key event type.
*
* @param keyEvent event Key event object.
* @param keyEvent Key event object.
* @return Key event type.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
@ -334,7 +334,7 @@ int32_t OH_Input_GetKeyEventAction(const struct Input_KeyEvent* keyEvent);
/**
* @brief Sets the key value for a key event.
*
* @param keyEvent event Key event object.
* @param keyEvent evt Key event object.
* @param keyCode keyCode Key code.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
@ -344,7 +344,7 @@ void OH_Input_SetKeyEventKeyCode(struct Input_KeyEvent* keyEvent, int32_t keyCod
/**
* @brief Obtains the key value of a key event.
*
* @param keyEvent event Key event object.
* @param keyEvent Key event object.
* @return Key code.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
@ -352,20 +352,20 @@ void OH_Input_SetKeyEventKeyCode(struct Input_KeyEvent* keyEvent, int32_t keyCod
int32_t OH_Input_GetKeyEventKeyCode(const struct Input_KeyEvent* keyEvent);
/**
* @brief
* @brief Sets the time when a key event occurs.
*
* @param keyEvent event Key event object.
* @param actionTime .
* @param keyEvent Key event object.
* @param actionTime Time when the key event occurs.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/
void OH_Input_SetKeyEventActionTime(struct Input_KeyEvent* keyEvent, int64_t actionTime);
/**
* @brief
* @brief Obtains the time when a key event occurs.
*
* @param keyEvent event Key event object.
* @return
* @param keyEvent Key event object.
* @return Returns the time when the key event occurs.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/
@ -524,20 +524,20 @@ void OH_Input_SetMouseEventAxisValue(struct Input_MouseEvent* mouseEvent, float
float OH_Input_GetMouseEventAxisValue(const struct Input_MouseEvent* mouseEvent);
/**
* @brief
* @brief Sets the time when a mouse event occurs.
*
* @param keyEvent event Key event object.
* @param actionTime .
* @param mouseEvent Mouse event object.
* @param actionTime Time when the mouse event occurs.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/
void OH_Input_SetMouseEventActionTime(struct Input_MouseEvent* mouseEvent, int64_t actionTime);
/**
* @brief
* @brief Obtains the time when a mouse event occurs.
*
* @param keyEvent event Key event object.
* @return
* @param keyEvent Mouse event object.
* @return Returns the time when the mouse event occurs.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/
@ -656,20 +656,20 @@ void OH_Input_SetTouchEventDisplayY(struct Input_TouchEvent* touchEvent, int32_t
int32_t OH_Input_GetTouchEventDisplayY(const struct Input_TouchEvent* touchEvent);
/**
* @brief
* @brief Sets the time when a touch event occurs.
*
* @param keyEvent event Key event object.
* @param actionTime .
* @param keyEvent Touch event object.
* @param actionTime Time when the touch event occurs.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/
void OH_Input_SetTouchEventActionTime(struct Input_TouchEvent* touchEvent, int64_t actionTime);
/**
* @brief
* @brief Obtains the time when a touch event occurs.
*
* @param keyEvent event Key event object.
* @return
* @param keyEvent touch event object.
* @return Returns the time when the touch event occurs.
* @syscap SystemCapability.MultimodalInput.Input.Core
* @since 12
*/