summaryrefslogtreecommitdiff
path: root/app/src
AgeCommit message (Collapse)Author
2020-12-21chore(display): add header to Kconfiginnovaker
PR: #534
2020-12-21chore(display): align status_screen copyrightinnovaker
PR: #535
2020-12-17fix(sticky keys): add 0xFF mask to usage_pageinnovaker
Aligns unpacking of usage_page with its equivalent line in keycode-state-changed.h PR: #520
2020-12-15refactor(sticky keys): use DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT) instead ↵Okke Formsma
of DT_NODE_EXISTS(DT_DRV_INST(0))
2020-12-15refactor(sticky keys): use pointer to avoid repetition in store_sticky_keyOkke Formsma
2020-12-15refactor(sticky keys): rename ZMK_BHV_STICKY_KEY_POSITION_NOT_USED to ↵Okke Formsma
ZMK_BHV_STICKY_KEY_POSITION_FREE
2020-12-15refactor(sticky keys): rename timer_is_started to timer_startedOkke Formsma
2020-12-14fix(settings): Add missing err handlers on settings_registerNick
2020-12-14refactor(settings): Debounce BLE/endpoint settings savesNick
2020-12-14refactor(settings): Only load used subtreesNick Winans
2020-12-14feature(display): Blank display on idle/sleep.Pete Johanson
* Set display blanking, and stop refresh timer for displays when the activity state goes to idle/sleep, and resume when transitioning to active again.
2020-12-14refactor(power): Extract activity/idle detection.Pete Johanson
* Refactor power to extract more general purpose activity detection/events. * Use activity state to implement PM callback.
2020-12-14refactor(display): Update to new LVGL v7.x API.Pete Johanson
PR: #467
2020-12-14refactor(app): remove `_gatt_` infixes from BT DIS and BAS servicesinnovaker
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
2020-12-14refactor(app): replace `void` with `const struct device *dev` in ISR CBsinnovaker
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
2020-12-14refactor(app): replace `struct device *` with `const struct device *`innovaker
Replaced with RegExp: /(?<!const )(struct device \*)/g See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
2020-12-14refactor(app): replace `driver_data` with `data`innovaker
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
2020-12-14refactor(app): replace `config_info` with `config`innovaker
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
2020-12-14refactor(app): replace Zephyr integer types with C99 integer typesinnovaker
u8_t → uint8_t u16_t → uint16_t u32_t → uint32_t u64_t → uint64_t s8_t → int8_t s16_t → int16_t s32_t → int32_t s64_t → int64_t Prerequisite for #223 See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0 PR: #467
2020-12-09feature(keymaps): Keymap layer state event, highest layer APIKemoNine
* Fire an event w/ layer number, state, and timestamp when a layer is activated/deactivated. * Add `zmk_keymap_highest_layer_active()` query. Co-authored-by: KemoNine <mcrosson@kemonine.info>
2020-12-08fix(kscan): Fix building kscan for tests.Pete Johanson
2020-12-06fix(display): All display updates in work thread.Pete Johanson
* Make sure all LVGL access is from main work thread.
2020-12-06fix(ble): Raise profile events from work thread.Pete Johanson
* Make sure we don't raise events from BLE host thread.
2020-12-06fix(sticky keys): fix tapping-sticky-keys bug.Okke Formsma
Sticky keys should be cleared when they were tapped in rapid succession before the timer runs out.
2020-12-06fix(sticky keys): always clear sticky key when releasing the behaviorOkke Formsma
2020-12-06fix(sticky keys): use correct timestamp when clearing sticky key in timerOkke Formsma
2020-12-06fix(sticky keys): simplify timer managementOkke Formsma
2020-12-02refactor(settings): Add Kconfig option for settings debounceNick
2020-12-02feat(display): Initial widget/status screen work.Pete Johanson
* Battery and output status widgets * Built in status screen combining them. * Ability to define a custom status screen factory function.
2020-12-02refactor(battery): Fire event on battery event.Pete Johanson
2020-12-01refactor(ble): silence warning `auth_passkey_display` not usedinnovaker
Silences the following build warning ... ../src/ble.c:407:13: warning: 'auth_passkey_display' defined but not used [-Wunused-function] 407 | static void auth_passkey_display(struct bt_conn *conn, unsigned int passkey) {
2020-11-29bugfix(sticky keys): release active sticky keys properlyOkke Formsma
see https://github.com/zmkfirmware/zmk/issues/445
2020-11-28feat: Add settings support for external powerNick
fix: clang-format and setting state variable fix: Fix startup settings configuration fix(ext_power): Add static to state fix(ext_power): Set default settings value Use driver data status instead of global file state
2020-11-28feat(sticky keys): initial implementationOkke Formsma
2020-11-28feat(events): add timestamp to keycode_state_changed and sensor_eventOkke Formsma
These timestamps are necessary to correctly deal with delayed events due to hold-tap shenanigans.
2020-11-23fix(ug): Start tick without settings state availableNick
2020-11-22fix(underglow): Fix error on release of rgb_ugNick
2020-11-22feat(underglow): RGB toggle controls ext_powerNick
fix(ug): Don't return if finding ext power fails fix(ug): Move ext_power to a static variable Add #if defs
2020-11-22refactor(hid): replace `kp_report` with `keyboard_report`innovaker
Aligns with other existing conventions.
2020-11-21refactor: change `keypad` to `keyboard`innovaker
The application usage used by report 1 is `HID_USAGE_GD_KEYBOARD`. Moreover, the `keys` usage page (0x07) that primarily feeds into this report is predominantly keyboard codes. The rest of the system should align with this naming convention.
2020-11-16fix momentary layer bug when top layer is not &transOkke Formsma
Key release events released keys on the wrong layer if the 'top layer' was not &trans above the &mo key. base <&mo 1> layer 1 <&kp B> This was caused by overwriting `zmk_keymap_active_behavior_layer[position]` after the &mo key was handled.
2020-11-11Fix connection to incorrect peripheralXudong Zheng
2020-11-10fix(ble): Remove unpair combo code.Pete Johanson
* Favor the settings reset images for this.
2020-11-10refactor(app): Remove obsolete include's of `hid_usage_pages.h`innovaker
This should've been done in eff1b8223b5010d526914530c5d1d469eff356df.
2020-11-05refactor(keys): Unify usage page.Pete Johanson
* Remove need for separate `&cp` behavior, but keep it for now for backward compat. * Refactor sensor inc/dec as well.
2020-11-03refactor: Replace superseded key namesinnovaker
Replace deprecated key names (LCTL, NUM_0, NUM_1). Replace abbreviated names with fully qualified names (LCTL, RGUI, NUM_0, NUM_1). Follow-up to #21.
2020-11-03refactor(hid): Replace deprecated HID usage page referencesinnovaker
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`. Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`. Closes #217.
2020-11-03feat(underglow): Debounce state settings saveNick
2020-11-03refactor(hid): Mod defines in dedicated header.Pete Johanson
2020-11-03initial implementation for modifiersOkke Formsma
https://github.com/zmkfirmware/zmk/issues/86