From 03b936e6f8b7497e52dd7c294c32bb091e8ed9c3 Mon Sep 17 00:00:00 2001 From: wanghao1717 Date: Wed, 13 Aug 2025 10:33:01 +0800 Subject: [PATCH] add KEYCODE_HEADSETHOOK Signed-off-by: wanghao1717 --- multimodalinput/kits/c/input/oh_key_code.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/multimodalinput/kits/c/input/oh_key_code.h b/multimodalinput/kits/c/input/oh_key_code.h index 32b3b9bcfb6..710b84d2479 100644 --- a/multimodalinput/kits/c/input/oh_key_code.h +++ b/multimodalinput/kits/c/input/oh_key_code.h @@ -49,6 +49,11 @@ typedef enum { KEYCODE_UNKNOWN = -1, /** Function (Fn) key */ KEYCODE_FN = 0, + /** + * Headsethook key + * @since 20 + */ + KEYCODE_HEADSETHOOK = 6, /** Volume Up key */ KEYCODE_VOLUME_UP = 16, /** Volume Down button */ -- Gitee