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:
Jason Chestnut
2020-09-23 16:05:29 -04:00
parent 7b53ee51fc
commit cca8337f05
5 changed files with 64 additions and 30 deletions

View File

@@ -11,4 +11,7 @@ config ZMK_KEYBOARD_NAME
config ZMK_USB
default y
config ZMK_KSCAN_MATRIX_POLLING
default y
endif # BOARD_PLANCK_REV6