summaryrefslogtreecommitdiff
path: root/board/palkia
diff options
context:
space:
mode:
authorRajat Jain <rajatja@google.com>2020-04-15 16:56:32 -0700
committerCommit Bot <commit-bot@chromium.org>2020-04-21 21:32:52 +0000
commit4a585f797d11d8ac452eeb11050c33ecac29181a (patch)
treedbad1035b8c76a962a748b893b5c509692995edb /board/palkia
parent9ca749eb1a57a7e8c705ec0f11ab992d8394cc37 (diff)
downloadchrome-ec-4a585f797d11d8ac452eeb11050c33ecac29181a.tar.gz
common/vivaldi: Make the "Alt+VolUp+r" work on vivaldi keyboards
Since the VolUp button location can vary now, take that into account. Signed-off-by: Rajat Jain <rajatja@google.com> BUG=b:146501925,b:154167876 TEST=TEst Alt + VolUp + r on Jinlon BRANCH=firmware-hatch-12672.B Change-Id: I4dbc8692f6418fd786e5d33053e8c368cc5529ac Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2151854 Commit-Queue: Rajat Jain <rajatja@google.com> Tested-by: Rajat Jain <rajatja@google.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/palkia')
-rw-r--r--board/palkia/keyboard_customization.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/palkia/keyboard_customization.h b/board/palkia/keyboard_customization.h
index bb19acd0e7..37ce1cf61f 100644
--- a/board/palkia/keyboard_customization.h
+++ b/board/palkia/keyboard_customization.h
@@ -46,9 +46,8 @@ extern uint8_t keyboard_cols;
#define KEYBOARD_COL_RIGHT_ALT 3
#define KEYBOARD_ROW_RIGHT_ALT 0
#define KEYBOARD_MASK_RIGHT_ALT KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_RIGHT_ALT)
-#define KEYBOARD_COL_VOL_UP 8
-#define KEYBOARD_ROW_VOL_UP 4
-#define KEYBOARD_MASK_VOL_UP KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_VOL_UP)
+#define KEYBOARD_DEFAULT_COL_VOL_UP 8
+#define KEYBOARD_DEFAULT_ROW_VOL_UP 4
#define KEYBOARD_COL_LEFT_CTRL 12
#define KEYBOARD_ROW_LEFT_CTRL 1
#define KEYBOARD_MASK_LEFT_CTRL KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_LEFT_CTRL)