目录

Input_KeyState

typedef struct Input_KeyState Input_KeyState

Overview

Defines key information used to identify key behavior. For example, the "Ctrl" key information includes the key value and key state. It is applicable to scenarios such as hotkey processing, input event state management, and key state detection.

Since: 12

Related module: input

Header file: oh_input_manager.h

Related APIs:

Name Description
OH_Input_CreateKeyState Creates a key state struct object. Destroys the key state struct object by calling OH_Input_DestroyKeyState.
OH_Input_DestroyKeyState Destroys a key state struct object.