Skip to main content

OH_Input_CreateKeyState

Function OH_Input_CreateKeyState 

Source
pub unsafe extern "C" fn OH_Input_CreateKeyState() -> *mut Input_KeyState
Expand description

@brief Creates a key status enum object. You can call {@link OH_Input_DestroyKeyState()} to destroy a key status enum object.

@return If the operations is successful, {@link Input_KeyState} is returned. Otherwise, a null pointer is returned. @syscap SystemCapability.MultimodalInput.Input.Core @since 12