summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr
AgeCommit message (Collapse)Author
2020-10-23Check if fetch channel is supportedNick
2020-10-23Fix build for boards without voltage dividerNick
2020-10-23Merge branch 'main' into bluetooth/battery-reportingNick Winans
2020-10-23clang-format and add missing defconfig valuesNick
2020-10-23Refactor driver to use Sensor APINick
2020-10-11Reformatted according to clang-format lintNuxiom
2020-10-11Fix kscan_gpio_irq_callback_handler_##n conditional macroNuxiom
2020-10-06Merge pull request #211 from petejohanson/core/keymap-port-event-explorationPete Johanson
Use PORT events for kscan matrix interrupts, add option for deep sleep.
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-04fix(kscan): fix direct GPIO when using interruptsJoel Spadin
Fixed initializing interrupts for direct GPIO when CONFIG_ZMK_KSCAN_DIRECT_POLLING is not enabled. IS_ENABLED() is needed to map the possibly-undefined value to 0 or 1 so COND_CODE_0() and COND_CODE_1() work.
2020-10-03fix(ec11): allow more than one encoderJoel Spadin
Fixes "device.h:101:11: error: redefinition of '__device_ec11'" in firmware that has more than one encoder.
2020-10-01chore: Fix remaining formatting issues.Pete Johanson
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-24Rename kscan direct wired driver polling kscan flag in preparationfor ↵Jason Chestnut
addition of new matrix driver flag that enables polling.
2020-09-23Adding kconfig flag for enabling matrix polling (vs interrupts) on the ↵Jason Chestnut
matrix gpio driver.
2020-09-19fix(clang-format)Nick
2020-09-19Merge remote-tracking branch 'upstream/main' into bluetooth/battery-reportingNick
2020-09-19Voltage divider driver initial implementationNick
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-09-01fix(kscan): Avoid sending duplicate kscan events.Pete 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-11Fix up some incorrect license headers.Pete Johanson
2020-08-06Encoder Kconfig fixes.Pete Johanson
2020-08-05Bump delay in scanning while held to 5ms.Pete Johanson
2020-07-24Tweaks for EC11 config.Pete Johanson
2020-07-22Initial work on sensor bindings.Pete Johanson
2020-07-21Tweaks for orientation and A/B pins for Kyria leftPete Johanson
2020-07-21Support multiple instances of the encoder.Pete Johanson
2020-07-21Code cleanup for non-trigger mode.Pete Johanson
2020-07-21Filename fix for EN11 -> EC11.Pete Johanson
2020-07-21Working encoder detection.Pete Johanson
2020-07-20Code clean upPete Johanson
2020-07-20Fetch/get implementation work.Pete Johanson
2020-07-20EN11 is actually EC11, some sample work.Pete Johanson
2020-07-20Interrupt fixes.Pete Johanson
2020-07-19Initial en11 exploration.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-24Fix .gitignore, add missing changes.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.