Skip to main content

OH_Input_CreateKeyEvent

Function OH_Input_CreateKeyEvent 

Source
pub unsafe extern "C" fn OH_Input_CreateKeyEvent() -> *mut Input_KeyEvent
Expand description

@brief Creates a key event object. You can call {@link OH_Input_DestroyKeyEvent()} to destroy a key event object.

@return {@link Input_KeyEvent} pointer object if the operation is successful; a null pointer otherwise. @syscap SystemCapability.MultimodalInput.Input.Core @since 12