Skip to main content

OH_Input_SetKeySwitch

Function OH_Input_SetKeySwitch 

Source
pub unsafe extern "C" fn OH_Input_SetKeySwitch(
    keyState: *mut Input_KeyState,
    keySwitch: i32,
)
Expand description

@brief Sets the key switch of the key status enum object.

@param keyState Key status enum object. For details, see {@link Input_KeyStateAction}. @param keySwitch Key switch. @syscap SystemCapability.MultimodalInput.Input.Core @since 12