Input_KeyState

typedef struct Input_KeyState Input_KeyState

Overview

Defines key information, which identifies a key pressing behavior. For example, the Ctrl key information contains the key value and key status.

Since: 12

Related module: input

Header file: oh_input_manager.h

Related APIs:

Name Description
OH_Input_CreateKeyState Creates a key status enum object. You can call OH_Input_DestroyKeyState to destroy a key status enum object.
OH_Input_DestroyKeyState Destroys a key status enum object.