From 245b494e145d6a928aa277670432d396862698f9 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 23 Mar 2018 22:33:17 -0700 Subject: keyboard: Add config option for refresh key row The keyboards that have an assistant key also move the row that the refresh key is on from 2 to 3. The row is hardcoded and used by the early boot key detection code to determine if boot keys should be honored. The fallout from not having the right refresh row defined was not seen on Eve because that board has a different quirk where it does not distinguish reset-pin vs power-on reset types so the test in check_boot_keys() was not failing. BUG=b:76232955 BRANCH=none TEST=manual testing on Eve board Change-Id: I5b94b4e32024afa1768bdf371a7eb951753014e8 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/979574 Reviewed-by: Furquan Shaikh --- board/eve/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/eve') diff --git a/board/eve/board.h b/board/eve/board.h index 44af362d22..2f843e96c2 100644 --- a/board/eve/board.h +++ b/board/eve/board.h @@ -72,6 +72,7 @@ #define CONFIG_KEYBOARD_BOARD_CONFIG #define CONFIG_KEYBOARD_COL2_INVERTED #define CONFIG_KEYBOARD_PROTOCOL_8042 +#define CONFIG_KEYBOARD_REFRESH_ROW3 #define CONFIG_KEYBOARD_SCANCODE_MUTABLE #define CONFIG_TABLET_MODE -- cgit v1.2.1