diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-06-24 10:06:35 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-06-24 10:14:27 -0400 |
commit | d35a95c7afc9e5ef6f087034dbf4cbb03048f9cd (patch) | |
tree | cc5b179646d8a293f4656947c463fd58e41499e2 /app/drivers/zephyr/Kconfig | |
parent | 23931aa4fede2d81437a01e5d69329157219c2a5 (diff) |
Initial working Clueboard California Macropad w/ proton-c fixes
* Basic Clueboard Californai Macropad shield definition.
* New "direct" KSCAN driver that supports non-matrix direct
wiring for switches, needed for macropad that doesn't have
a matrix at all.
* Some renames for existing KSCAN GPIO driver to make the implied
"matrix" part explicit.
Diffstat (limited to 'app/drivers/zephyr/Kconfig')
-rw-r--r-- | app/drivers/zephyr/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/drivers/zephyr/Kconfig b/app/drivers/zephyr/Kconfig index 2dcb3a8..cd526e8 100644 --- a/app/drivers/zephyr/Kconfig +++ b/app/drivers/zephyr/Kconfig @@ -3,6 +3,14 @@ config ZMK_KSCAN_GPIO_DRIVER default y select GPIO +if ZMK_KSCAN_GPIO_DRIVER + +config ZMK_KSCAN_GPIO_POLLING + bool "Poll for key event triggers instead of using interrupts" + default n + +endif + config ZMK_KSCAN_INIT_PRIORITY int "Keyboard scan driver init priority" default 40 |