summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/Kconfig
diff options
context:
space:
mode:
authorJason Chestnut <jason.chestnut@gmail.com>2020-09-23 16:05:29 -0400
committerJason Chestnut <jason.chestnut@gmail.com>2020-09-25 11:49:07 -0400
commitcca8337f0562afbfb11de5af92ba5dc3c9334991 (patch)
tree72fa6be81292ab88530ba5f459273406b1b8580b /app/drivers/zephyr/Kconfig
parent7b53ee51fc9cee61980b424e96a7bddde8dd0c94 (diff)
Add support to GPIO matrix driver for matrix polling, rather than interrupt-based IO.
- Add ZMK_KSCAN_MATRIX_POLLING config flag to Kconfig - Update matrix driver code to use the above flag to conditionally add the handling code for polling operations.
Diffstat (limited to 'app/drivers/zephyr/Kconfig')
-rw-r--r--app/drivers/zephyr/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/drivers/zephyr/Kconfig b/app/drivers/zephyr/Kconfig
index 0237846..0534cab 100644
--- a/app/drivers/zephyr/Kconfig
+++ b/app/drivers/zephyr/Kconfig
@@ -5,10 +5,14 @@ config ZMK_KSCAN_GPIO_DRIVER
if ZMK_KSCAN_GPIO_DRIVER
-config ZMK_KSCAN_GPIO_POLLING
- bool "Poll for key event triggers instead of using interrupts"
+config ZMK_KSCAN_MATRIX_POLLING
+ bool "Poll for key event triggers instead of using interrupts on matrix boards."
default n
+config ZMK_KSCAN_DIRECT_POLLING
+ bool "Poll for key event triggers instead of using interrupts on direct wired boards."
+ default n
+
endif
config ZMK_KSCAN_INIT_PRIORITY