typedef struct Input_KeyEvent Input_KeyEvent
Defines the key event object, used to represent input events generated by user key operations, including the key code and key state. It can be used to process keyboard input and implement key response functions.
Since: 12
Related module: input
Header file: oh_input_manager.h
Related APIs:
| Name | Description |
|---|---|
| OH_Input_CreateKeyEvent | Creates a key event object. You can call OH_Input_DestroyKeyEvent to destroy a key event object. |
| OH_Input_DestroyKeyEvent | Destroys a key event object. |