pub unsafe extern "C" fn OH_Input_SetKeyCode(
keyState: *mut Input_KeyState,
keyCode: i32,
)Available on crate feature
api-12 only.Expand description
Sets the key value of a key status enumeration object.
ยงArguments
-
keyState- Key status enumeration object. -
keyCode- Key value of the key status enumeration object.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 12