summaryrefslogtreecommitdiff
path: root/include/keyboard_8042_sharedlib.h
diff options
context:
space:
mode:
authorRajat Jain <rajatja@google.com>2020-01-28 17:26:04 -0800
committerCommit Bot <commit-bot@chromium.org>2020-03-04 23:06:37 +0000
commit447c7594b3eae22c3f59e6824f1aac06f3ae6433 (patch)
treedbf83efd9f4ae9799a028a2a17a7e5e67c3ed824 /include/keyboard_8042_sharedlib.h
parent85cbad404f0cbbb9300661312340352ff9afd63f (diff)
downloadchrome-ec-447c7594b3eae22c3f59e6824f1aac06f3ae6433.tar.gz
common/keyboard_8042: When pressed, print F11-F15 for debug
Vivaldi adds support for a new keyboard layout, and more function keys. The scan matrix is here: https://drive.google.com/corp/drive/u/1/folders/17UtVQ-AixnlQuicRPTp8t46HE-sT522E Allow to print F11-F15 labels when debugging those extra keys. BUG=b:146501925 TEST=Check extra keys by putting debug prints in the EC. BRANCH=firmware-hatch-12672.B Signed-off-by: Rajat Jain <rajatja@google.com> Change-Id: I0714baf4a8981b90aefdd3b955ebf93985f70197 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2080602 Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'include/keyboard_8042_sharedlib.h')
-rw-r--r--include/keyboard_8042_sharedlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/keyboard_8042_sharedlib.h b/include/keyboard_8042_sharedlib.h
index a70312f3d8..a82e1f85eb 100644
--- a/include/keyboard_8042_sharedlib.h
+++ b/include/keyboard_8042_sharedlib.h
@@ -47,8 +47,8 @@ enum keycap_long_label_idx {
KLLI_F11 = 0x8B, /* F11 or POWER */
KLLI_F12 = 0x8C, /* F12 or DEV TOOLS */
KLLI_F13 = 0x8D, /* F13 or GOOGLE ASSISTANT */
- KLLI_RSVD4 = 0x8E,
- KLLI_RSVD5 = 0x8F,
+ KLLI_F14 = 0x8E, /* F14 */
+ KLLI_F15 = 0x8F, /* F15 */
KLLI_L_ALT = 0x90, /* LEFT ALT */
KLLI_R_ALT = 0x91, /* RIGHT ALT */
KLLI_L_CTR = 0x92, /* LEFT CONTROL */