目录

Input_Hotkey

typedef struct Input_Hotkey Input_Hotkey

Overview

Defines the hotkey struct, which describes the hotkey design logic such as the key combination, trigger conditions, and callback handling. Applications can register and manage custom hotkeys.

Since: 14

Related module: input

Header file: oh_input_manager.h

Related APIs:

Name Description
OH_Input_CreateHotkey Creates a hotkey object. You can call OH_Input_DestroyHotkey to destroy a hotkey object.
OH_Input_DestroyHotkey Destroys a hotkey object.