summaryrefslogtreecommitdiff
path: root/app/include
AgeCommit message (Collapse)Author
2020-10-10Add timestamps to position and behavior events (#147)Okke Formsma
* Add timestamps to position events and behaviors. - Take original event timestamps into consideration so nested tap-holds have proper timing. - Add position and timestamp to keycode state changed event so the one-shot behavior can properly identify other keypresses and timings. - Add timestamp to position events received from peripheral * reduce number of arguments to behaviors
2020-10-10Added driver to control the external power outputMega Mind
This PR adds support to control the external power output from controllers like nice!nano, nRFMicro etc I have implemented based on my understanding of Pete suggestion on this feature. Testing done: Tested by enabling and disabling the ext_power from application and verified Verified the application does not crash with boards that does not have ext_power support Note: I did not test this in nice!nano since I don't have the boards. Will get help from others once the behavior PR is up Next Steps: Create a behavior PR to control enable/disable ext_power
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-04refactor(usb): Report USB status w/o HID output.Pete Johanson
2020-10-02Add missing licensing headerDev
Fixes #205
2020-10-01feat(usb): Function to access latest USB status.Pete Johanson
* To be leveraged by upcoming power management work.
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-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): 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-02Merge pull request #146 from okke-formsma/hold-tapPete Johanson
Hold-Tap implementation
2020-09-02some fixes based on feedbackOkke Formsma
2020-09-01Initial implementation of hold-tapOkke Formsma
2020-08-29Merge branch 'main' into CrossR/SofleCrossR
2020-08-28fix(test): change the layoutCody McGinnis
2020-08-21Add keycodes properly.CrossR
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-18Merge pull request #99 from petejohanson/core/bluetooth-unpair-magic-comboPete Johanson
Add magic combo for unpairing BT devices on start.
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-02Add better default keymap for lily58Nick
2020-07-31Initial stab at mod-tap improvements.Pete Johanson
* Not working: Roll over + mod-tap with multiple mod-tap bindings!
2020-07-30Add the ability to capture event and release laterPete Johanson
2020-07-29Remove unneeded macro.Pete Johanson
2020-07-27Merge pull request #66 from Nicell/keycodes/f-keys-prscPete Johanson
Add F keys and a few other missing HID keycodes
2020-07-26Add a few more keysNick
2020-07-26Add F keys and print screenNick
2020-07-26Merge pull request #64 from Nicell/feature/rgb_underglowPete Johanson
Initial RGB Underglow implementation
2020-07-25Whitespace fix.Pete Johanson
2020-07-25Initial display support.Pete Johanson
2020-07-25Add suggested changesNick
2020-07-24Initial RGB Underglow implementationNick
2020-07-22Initial behavior for key presses on encoder rotatePete Johanson
2020-07-22More sensor keymap work.Pete Johanson
2020-07-22Initial work on sensor bindings.Pete Johanson
2020-07-17More cleanup of BLE split code.Pete Johanson
2020-07-17Lots of work on split peripheral/central logic.Pete Johanson
2020-07-17Initial work on split central support.Pete Johanson
2020-07-17Initial exploration of split BLE service.Pete Johanson
* Service for split peripheral to report position state to split central. * Updated advertising info. * Behavior for split BT until we have a proper event system.
2020-07-07Use SYS_INIT for BLE and USB init.Pete Johanson
2020-06-30Merge pull request #42 from petejohanson/core/event-manager-refactorPete Johanson
Refactor to generic event manager, ditch "global behaviors" as a concept.
2020-06-30Cleanup, license headers.Pete Johanson
2020-06-30Lots of cleanup of old events/behavior mash.Pete Johanson
2020-06-30Fix back/forward slash keycodes.Pete Johanson
2020-06-30Modifier event, tweaks for linker script.Pete Johanson
2020-06-30Initial event manager work, and two first events.Pete Johanson
* Add initial event manager implementation, roughly mimicking Nordic's API. * Add `position_state_changed` and `keycode_state_changed` events. * Hook up HID and keymap to new events instead of using behaviour global event crazy.
2020-06-27Kyria left/right overlays, matrix transform fixesPete Johanson
* Refactor Kyria into separate left/right "revisions" of the Kyria shield, and include central kyria.dtsi file with common definition. * Fixes for keymaps to work fully with matrix transforms that override effective rows/columns. * Add ability for matrix transform to do row/col offsets, which is needed for split keyboards.