summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2021-07-29 16:27:10 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-03 01:32:58 +0000
commit010b3f3c7ad24ef18740121cacebb47a773e5a45 (patch)
tree3d41de32775079b4ff5f20a00e7190bbc63c1bc0 /include
parent9b35963509b0d6ea3e5fd1530f4b6dffcb301c66 (diff)
downloadchrome-ec-010b3f3c7ad24ef18740121cacebb47a773e5a45.tar.gz
common/keyboard_vivaldi: Add new top row action key
Use codeset 1 e01b(make)/ e09b(break) for MICMUTE. Use codeset 1 e01e(make)/ e09e(break) for KBBL toggle. BUG=b:194146863 BRANCH=none TEST=make -j BOARD=gimble Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: Ide0873c32236ead87d661e36b5f9b20cfd78144b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3060242 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/ec_commands.h2
-rw-r--r--include/keyboard_8042_sharedlib.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 470c0a9425..258c0819c6 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -6388,6 +6388,8 @@ enum action_key {
TK_PLAY_PAUSE = 15,
TK_NEXT_TRACK = 16,
TK_PREV_TRACK = 17,
+ TK_KBD_BKLIGHT_TOGGLE = 18,
+ TK_MICMUTE = 19,
};
/*
diff --git a/include/keyboard_8042_sharedlib.h b/include/keyboard_8042_sharedlib.h
index 8abde3d1d5..6c2e37fbf4 100644
--- a/include/keyboard_8042_sharedlib.h
+++ b/include/keyboard_8042_sharedlib.h
@@ -147,9 +147,11 @@ enum scancode_values {
SCANCODE_VOLUME_UP = 0xe032, /* e030 in codeset 1 */
SCANCODE_KBD_BKLIGHT_DOWN = 0xe043, /* e017 in codeset 1 */
SCANCODE_KBD_BKLIGHT_UP = 0xe044, /* e018 in codeset 1 */
+ SCANCODE_KBD_BKLIGHT_TOGGLE = 0xe01c, /* e01e in codeset 1 */
SCANCODE_NEXT_TRACK = 0xe04d, /* e019 in codeset 1 */
SCANCODE_PREV_TRACK = 0xe015, /* e010 in codeset 1 */
SCANCODE_PLAY_PAUSE = 0xe054, /* e01a in codeset 1 */
+ SCANCODE_MICMUTE = 0xe05b, /* e01b in codeset 1 */
SCANCODE_UP = 0xe075,
SCANCODE_DOWN = 0xe072,