summaryrefslogtreecommitdiff
path: root/app/src
AgeCommit message (Collapse)Author
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-04Merge pull request #237 from ChaosinaCan/direct-gpio-fixPete Johanson
Fix direct GPIO when using interrupts
2020-10-04refactor(usb): Report USB status w/o HID output.Pete Johanson
2020-10-04improvement(kscan): use ARRAY_SIZE macroJoel Spadin
2020-10-01feat(usb): Function to access latest USB status.Pete Johanson
* To be leveraged by upcoming power management work.
2020-09-15fix lint with clang-formatNick
2020-09-15Merge remote-tracking branch 'upstream/main' into underglow/state-persistenceNick
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-13fix(bluetooth): Reject pairing to taken profiles.Pete Johanson
2020-09-13refactor(bluetooth): More concise names.Pete Johanson
2020-09-13feat(bluetooth): Add back profiles, split fixes.Pete Johanson
* Add back in profiles, not using Zephyr BT identity infrastructure. * Restore additional `&bt` commands for profile operations. * Fix for split pairing and subscriptions, since Zephyr persists subscriptions across connects. * Remove keymap from peripheral builds, reduces firmware size, and avoids unneeded attempts to send HID data.
2020-09-13fix(bluetooth): Log when clearing on start.Pete Johanson
2020-09-13fix(bluetooth): Delete any previously stored name.Pete Johanson
2020-09-13fix(bluetooth): Kconfig to clear bonds on startPete Johanson
2020-09-13fix(bluetooth): Remove identity, minimal `bt`.Pete Johanson
* Simplify the `bt` behavior to one current command `BT_CLEAR_BONDS_CMD`. * Simplify BLE code for split and non-split keyboards. * Remove keymap processing from split peripheral side.
2020-09-13feat(bluetooth): Proper bond management, identity support for non-splitsPete Johanson
* Add `bt` behavior that can be used to perform certain actions, such as next/prev identity, reset identity, etc. NOTE: Multiple identities is only supported for non-split shields, due to missing Zephyr identity functionality for dual central/peripheral devices. * Proper bond reset tied to action, that honors peripheral bonds, so folks can reset and pair to other hosts, without breaking bonds between splt halves.
2020-09-10fix: Switch to single AUTHORS file.* Closes #164Pete Johanson
2020-09-02fixes for feedback round 2Okke Formsma
2020-09-02some fixes based on feedbackOkke Formsma
2020-09-01Initial implementation of hold-tapOkke Formsma
2020-09-01fix(core): track layer state with keypressCody McGinnis
2020-08-28fix(behavior): add logging to toggle layer for testsCody McGinnis
2020-08-28fix(test): off by one error with kscan processingCody McGinnis
2020-08-28fix(test): change the layoutCody McGinnis
2020-08-27fix(behavior): none should not be transparentCody McGinnis
2020-08-23fix(rgb): check if settings enabledNick
2020-08-23Move settings loadNick
2020-08-23fix bug in modtap bahavior which cleared the wrong keycode eventsOkke Formsma
2020-08-21feat(behaviors): Add `&bootloader` behavior.Pete Johanson
* Allow reset behavior to have a type property. * Add `bootloader` node that triggers DFU UF2 bootloader mode using the AdaFruit nrf52 bootloader.
2020-08-20fix(rgb): fix underglow settings locationNick
2020-08-20feat(rgb): underglow state Kconfig and settingsNick
2020-08-20fix(bluetooth): Typo for closed conditional.Pete Johanson
2020-08-19fix(bluetooth): Add unpair combo if DT node existsPete Johanson
2020-08-18Merge pull request #99 from petejohanson/core/bluetooth-unpair-magic-comboPete Johanson
Add magic combo for unpairing BT devices on start.
2020-08-18fix(usb): Restore write semaphore, release it on write failures.Pete Johanson
2020-08-18fix(bluetooth): Stop peripheral half advertising once connected.Pete Johanson
2020-08-18Merge pull request #100 from petejohanson/behaviors/add-nonePete Johanson
Add `&none` behavior.
2020-08-18feat(behaviors): Add &none behaviorPete Johanson
2020-08-18fix(keymap): add brackets around if statement bodyCody McGinnis
2020-08-18fix(keymap): move the toggle layer logic to keymap.cCody McGinnis
2020-08-18feat(keymap): allow users to toggle layersCody McGinnis
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-18Add missing license header.Pete Johanson
2020-08-17Revert "Merge pull request #93 from careyk007/main"Pete Johanson
This reverts commit 8cd8933c87aadd2ce7b31c1367bfaad81fc2a36b, reversing changes made to 3f1dfbaad1a867f59c13814a517e03dfce4d4223.
2020-08-16Merge pull request #94 from Nicell/split/default-conn-fixPete Johanson
Create proper fix for split default connection bug
2020-08-16Create proper fix for split default conn bugNick
2020-08-16remove unnecessary includeKellen Carey
2020-08-16wait before sending HID reportKellen Carey
2020-08-14Remove use of printk.Pete Johanson