summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-01-23 10:10:51 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-24 06:42:02 +0000
commit342499a6d001eb6a442f0b6a8ea333d495da8f85 (patch)
treedc997c5566611453b9227504a001d807dae3bd8f /include
parent0ef55f5899481249a073cfecea53fea3ab154ea6 (diff)
downloadchrome-ec-342499a6d001eb6a442f0b6a8ea333d495da8f85.tar.gz
samus: change charge override hot keys to ctrl+search+0|1|2
Change the charge override hot keys to ctrol+search+0|1|2 BUG=none BRANCH=samus TEST=use the hot keys and verify that the PD console shows charge override host command Change-Id: I5551190743ea064a967164b9d95143cc966662e1 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/242832 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/keyboard_config.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/keyboard_config.h b/include/keyboard_config.h
index 2c44259929..286b6d7560 100644
--- a/include/keyboard_config.h
+++ b/include/keyboard_config.h
@@ -41,9 +41,15 @@
#define KEYBOARD_COL_VOL_UP 4
#define KEYBOARD_ROW_VOL_UP 0
#define KEYBOARD_MASK_VOL_UP KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_VOL_UP)
-#define KEYBOARD_COL_VOL_DOWN 9
-#define KEYBOARD_ROW_VOL_DOWN 1
-#define KEYBOARD_MASK_VOL_DOWN KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_VOL_DOWN)
+#define KEYBOARD_COL_LEFT_CTRL 0
+#define KEYBOARD_ROW_LEFT_CTRL 2
+#define KEYBOARD_MASK_LEFT_CTRL KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_LEFT_CTRL)
+#define KEYBOARD_COL_RIGHT_CTRL 0
+#define KEYBOARD_ROW_RIGHT_CTRL 4
+#define KEYBOARD_MASK_RIGHT_CTRL KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_RIGHT_CTRL)
+#define KEYBOARD_COL_SEARCH 1
+#define KEYBOARD_ROW_SEARCH 0
+#define KEYBOARD_MASK_SEARCH KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_SEARCH)
#define KEYBOARD_COL_KEY_0 8
#define KEYBOARD_ROW_KEY_0 6
#define KEYBOARD_MASK_KEY_0 KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_KEY_0)