summaryrefslogtreecommitdiff
path: root/app/src/display
AgeCommit message (Collapse)Author
2021-10-12fix(display): Increase char buffer size to fit all symbolsRichard Kjerstadius
Recent refactoring of the font handling seems to have broken the display of the last symbol of the output status widget. From my analysis the last symbol is truncated because the buffer simply is too small. Increasing the buffer size to 9 fits all three possible symbols.
2021-09-25refactor(display): Saner font selection/defaults.Peter Johanson
* Only select fonts for the default built in status screen * Leverage theme default fonts, instead of hardcoding theme details in each component.
2021-09-25refactor(display): Output/layer/battery thread safety.Peter Johanson
* Submit widget updates to display queue. * Use mutex to control access to shared state for widgets.
2021-09-25feat(display): Optional dedicated work queue.Peter Johanson
* Add new Kconfig settingsx to allow selecting system or dedicated work queue for performing UI updates. * Allow UI updates to not block other system tasks when display is updating, especially important for e-ink displays.
2021-08-27fix(display): Add proper LVGL label dep.Peter Johanson
2021-08-03fix(display): Update output status on endpoint selection change.Peter Johanson
2021-07-17fix(display): Avoid fault w/ LVGL API usage.Peter Johanson
* Increment the tick from within the ISR itself. * Don't call task handler until in the display callback. PR: https://github.com/zmkfirmware/zmk/pull/736
2021-02-16fix(display): Check for display in idle handler.Pete Johanson
* Closes #679
2021-01-23feat: Add WPM calculator and display widgetAlly Parker
2021-01-20refactor(core): Combine `is_` and `cast_` event functions.Pete Johanson
* Use a single `as_foo` generated function to conditionally return a certain event type from a generic `zmk_event_t*` pointer.
2021-01-20refactor(core): Extra event payloads to own types, refactor API.Pete Johanson
* Make it easier to use *just* event payloads by defining the data, and then having event manager macros generate "wrapper structs" * Improve is_*/cast_* APIs to hide details of full event struct. * Create `zmk_event_t` typedef to pass to event handlers. * Bring event names inline w/ consistent `zmk_` prefix.
2021-01-04feat(display): Show layer label in widget.Pete Johanson
2021-01-01refactor(events): return 'ZMK_EV_EVENT_BUBBLE' instead of magic number 0Okke Formsma
2020-12-28Add uppermost, current layer status widget to oled (#493)KemoNine
* Add uppermost, current layer status widget to oled * Run clang format * Fixup display widget source includes in CMakeLists * Update layer widget to only be enabled on primary half of a split keyboard and shuffle some of the options specific to the widget to be enabled via the widget * Update to latest lvgl/zmk/zephyr ; remove version text from oled per PR * Fixup file names * Remove last remenants of the version display text from the oled * Fixup clang-format Co-authored-by: KemoNine <mcrosson@kemonine.info>
2020-12-28refactor: replace filename hyphens with underscoresinnovaker
Aligns *.h and *.c to underscore naming convention. These were kept (with warnings) for backwards compatibility with external boards/shields: - kscan-mock.h - matrix-transform.h They should be removed in the future. PR: #523
2020-12-21chore(display): add header to CMakeLists.txtinnovaker
PR: #533
2020-12-21chore(display): add header to Kconfiginnovaker
PR: #534
2020-12-21chore(display): align status_screen copyrightinnovaker
PR: #535
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(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 `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 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-06fix(display): All display updates in work thread.Pete Johanson
* Make sure all LVGL access is from main work thread.
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.