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.
This commit is contained in:
parent
7b53ee51fc
commit
cca8337f05
5 changed files with 64 additions and 30 deletions
|
|
@ -8,7 +8,7 @@ config ZMK_KEYBOARD_NAME
|
|||
# across A & B controllers, and STM32F303CCT6 can't enable
|
||||
# interrutps for multiple controllers for the same "line"
|
||||
# for the external interrupts.
|
||||
config ZMK_KSCAN_GPIO_POLLING
|
||||
config ZMK_KSCAN_DIRECT_POLLING
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue