Add new matrix scan flag and implementation in the gpio matrix driver.

This commit is contained in:
Jason Chestnut
2020-09-24 14:30:47 -04:00
parent 53425aa3c4
commit 5c4705d465
4 changed files with 95 additions and 49 deletions

View File

@@ -6,11 +6,11 @@ config ZMK_KSCAN_GPIO_DRIVER
if ZMK_KSCAN_GPIO_DRIVER
config ZMK_KSCAN_MATRIX_POLLING
bool "Poll for key event triggers instead of using interrupts"
default n
bool "Poll for key event triggers instead of using interrupts on matrix boards."
default y
config ZMK_KSCAN_DIRECT_POLLING
bool "Poll for key event triggers instead of using interrupts on matrix boards."
bool "Poll for key event triggers instead of using interrupts on direct wired boards."
default n
endif