summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2022-05-31 17:46:22 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-15 00:15:10 +0000
commitf7e31b2ee5fa6b54e3f399cf44de94499374e938 (patch)
treeaa94456c335f628dab516417e63c9bf5c2355948
parent8b6166d4663d14e1b4cdf44bfb9ca559a2121007 (diff)
downloadchrome-ec-f7e31b2ee5fa6b54e3f399cf44de94499374e938.tar.gz
jinlon: moving buttons and switches to use MKBP
Switching config options to route buttons and switches to using MKBP instead of 8042 driver. This fixes the issue that we were seeing where when the "Treat top-row keys as function keys" config switch was enabled on Jinlon, the volume buttons (on the side of the device, not the keyboard) were behaving like F11/F12 keys. BUG=b:232107647 BRANCH=hatch TEST=enable the "Tread top-row keys as function keys" switch make sure physical volume keys on the side of Jinlon device still work (we see the volume slider appear) Signed-off-by: Shelley Chen <shchen@google.com> Change-Id: I9a6aadc1921ac4a612cc3e7612955afdcc0f03c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3681949 Tested-by: Shelley Chen <shchen@chromium.org> Commit-Queue: Shelley Chen <shchen@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--board/jinlon/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/jinlon/board.h b/board/jinlon/board.h
index b9509288b6..fbbbdbb6c7 100644
--- a/board/jinlon/board.h
+++ b/board/jinlon/board.h
@@ -16,6 +16,7 @@
#define CONFIG_KEYBOARD_BOARD_CONFIG
#define CONFIG_KEYBOARD_PROTOCOL_8042
#define CONFIG_KEYBOARD_REFRESH_ROW3
+#define CONFIG_MKBP_INPUT_DEVICES
#undef CONFIG_LED_ONOFF_STATES
#define CONFIG_LED_COMMON
#define CONFIG_LOW_POWER_IDLE