summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.keyboard
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-04 15:27:01 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-05 16:54:39 +0000
commit3d67c2835f7b3fa1ea720a59c52fb329ce2a0c27 (patch)
tree0e2f24712955ea0dcbb6daaabfb7d00843edd0a6 /zephyr/Kconfig.keyboard
parent943d2bf5b51d6c967a9a57fb8f5a97aa28c66473 (diff)
downloadchrome-ec-3d67c2835f7b3fa1ea720a59c52fb329ce2a0c27.tar.gz
zephyr: Support the keypad
Add support for a numeric keypad with Zephyr. BUG=b:167405015 BRANCH=none TEST=build for volteer and see that the new code is included Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Ib45c320db979567169297ba7bead5707a3aada0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2674949 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r--zephyr/Kconfig.keyboard7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard
index 127bf61ebe..11ff1d14ba 100644
--- a/zephyr/Kconfig.keyboard
+++ b/zephyr/Kconfig.keyboard
@@ -50,6 +50,13 @@ config PLATFORM_EC_KEYBOARD_BOARD_CONFIG
If this is not enabled, default values in common/keyboard_scan.c are
used.
+config PLATFORM_EC_KEYBOARD_KEYPAD
+ bool "Support a numeric keypad"
+ help
+ Enable support for a keypad, a palm-sized keyboard section usually
+ placed on the far right. This contains nuumber keys and also some
+ commonly used symbols, to help speed up numeric data entry.
+
config PLATFORM_EC_KEYBOARD_COL2_INVERTED
bool "A mechanism for passing KSO2 to H1 which inverts the signal"
help