OH_Input_SetPreKeys

Function OH_Input_SetPreKeys 

Source
pub unsafe extern "C" fn OH_Input_SetPreKeys(
    hotkey: *mut Input_Hotkey,
    preKeys: *mut i32,
    size: i32,
)
Available on crate feature api-14 only.
Expand description

Sets a modifier key.

ยงArguments

  • hotkey - Hotkey key object.

  • preKeys - List of modifier keys.

  • size - Number of modifier keys. One or two modifier keys are supported.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 14