pub unsafe extern "C" fn OH_Input_CreateKeyEvent() -> *mut Input_KeyEventExpand 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