summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/kscan_gpio_matrix.c
AgeCommit message (Collapse)Author
2020-10-11Reformatted according to clang-format lintNuxiom
2020-10-11Fix kscan_gpio_irq_callback_handler_##n conditional macroNuxiom
2020-10-06feat(power): Initial deep sleep work.Pete Johanson
* New ZMK_SLEEP Kconfig symbol to enable the functionality. * Switch to PORT events that allows wake from deep sleep. * Initial basic power management policy, with idle ms, and ignoring deep sleep if we detect a USB connection.
2020-10-04feat(kscan): Use PORT events for kscan matrix interruptsPete Johanson
* Lower power usage compared to regular interrupts on nrf52.
2020-10-01chore: Fix some accidental formatting issues.Pete Johanson
2020-09-28Modify preprocessor directives to use basic #if !defined() rather than ↵Jason Chestnut
Zephyr macros where appropriate.
2020-09-27Fix preprocessor flag issues for pull request.jason
2020-09-25Fix merge error.Jason Chestnut
2020-09-25Add support to GPIO matrix driver for matrix polling, rather than ↵Jason Chestnut
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.
2020-09-25Add matrix polling logic to matrix GPIO driver.Jason Chestnut
2020-09-24Restore original matrix driver to correct implementation errors.Jason Chestnut
2020-09-24Add new matrix scan flag and implementation in the gpio matrix driver.Jason Chestnut
2020-09-14chore: clang-format the codebase.Pete Johanson
* Use the LLVM style * Override indent width (8) and column limit (100) * Fixes #142.
2020-09-10fix: Switch to single AUTHORS file.* Closes #164Pete Johanson
2020-08-18feeature(bt): Add "unpair combo" on startup.Pete Johanson
* Especially for splits, we need the ability to unpair all paired devices as sledgehammer if we need to "reset things", and doing so via keymaps isn't suitable. * Allows shields to define a collection of key positions that if all held 2 seconds after startup, will unpair all existing pairs for the device.
2020-08-05Bump delay in scanning while held to 5ms.Pete Johanson
2020-07-11kscan: matrix: Remove verbose logging in read.Pete Johanson
2020-07-07Detect additional key presses on the same output.Pete Johanson
* Interrupts won't follow on additional keys pressed on an already "held" output pin, so queue additional reads while any keys are held.
2020-06-25Properly allocate input/output arrays statically.Pete Johanson
2020-06-24Initial working Clueboard California Macropad w/ proton-c fixesPete Johanson
* 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.