Commit graph

59 commits

Author SHA1 Message Date
Chatblanc77
849c4e5a07
Update status_screen.c 2022-09-28 13:52:16 +07:00
Chatblanc77
06cf962b9a
Update status_screen.c 2022-09-27 14:33:59 +07:00
Chatblanc77
6a539dd3b0
Update Kconfig 2022-09-22 14:53:14 +07:00
Chatblanc77
cc6094d72c
Update status_screen.c 2022-09-22 14:10:34 +07:00
Chatblanc77
4651d029f0
Update Kconfig 2022-09-22 11:22:44 +07:00
Chatblanc77
e3b879c011
Update status_screen.c 2022-09-22 11:20:11 +07:00
Chatblanc77
9e66d4caca
Update status_screen.c 2022-09-21 16:25:16 +07:00
Chatblanc77
bee284ca52
Update status_screen.c 2022-09-21 16:20:22 +07:00
Chatblanc77
a97284a1aa
Update status_screen.c 2022-09-21 16:15:52 +07:00
Chatblanc77
27bdc1ce7b
Update status_screen.c 2022-09-21 16:10:49 +07:00
Chatblanc77
523ecdfd45
Update status_screen.c 2022-09-21 16:03:43 +07:00
Chatblanc77
1a6822fb73
Update status_screen.c 2022-09-21 15:55:47 +07:00
Chatblanc77
f38314ae36
Update status_screen.c 2022-09-21 15:50:39 +07:00
Chatblanc77
62bfb8051b
Update status_screen.c 2022-09-21 15:45:39 +07:00
Chatblanc77
d0cc1e1c6a
Update status_screen.c 2022-09-21 15:42:33 +07:00
Chatblanc77
3d103ec015
Update status_screen.c 2022-09-21 15:37:46 +07:00
Chatblanc77
7f299e2d99
Update status_screen.c 2022-09-21 15:29:22 +07:00
Chatblanc77
81dac77d5d
Update status_screen.c 2022-09-21 15:23:50 +07:00
Chatblanc77
f040fb01a7
Update status_screen.c 2022-09-21 15:19:24 +07:00
Chatblanc77
9031ac9ac1
Update status_screen.c 2022-09-21 15:12:44 +07:00
Chatblanc77
3ce18d9c54
Update status_screen.c 2022-09-21 15:07:58 +07:00
down
82f72924b6 add license 2022-09-17 22:05:18 +07:00
down
31678227b9 fix(widgets): no need to set the same state 2022-09-17 20:28:07 +07:00
down
1b5e5bb798 fix(widget): reorder code, add comments 2022-09-17 20:28:07 +07:00
down
6e010d111a fix(widget): reorder code 2022-09-17 20:28:07 +07:00
down
79bac9d9e4 feat(widget): bongo cat is now interactive only 2022-09-17 20:28:07 +07:00
down
5513f16d71 feat(widget): add bongo cat 2022-09-17 20:28:07 +07:00
Peter Johanson
90b45a1284 feat(display): Blank on idle optionally.
* Add new defaulted-on Kconfig option to control if displays
  are blanked/unblanked on idle/activity.
2022-07-26 14:12:38 -04:00
Peter Johanson
c4a47c08de fix(display): Initialize display on queue as well. 2022-07-26 14:12:38 -04:00
WSTRN
53bec710d8
fix(displays): Proper battery charge icon sizing 2022-06-09 13:54:36 -04:00
Peter Johanson
6539b3ae25 refactor(split): Clean up Kconfig organization.
* Seperated configs for split role (central/peripheral)
  and transport (BLE only for now).
* Split the configs to align on structure.
2022-05-29 19:18:09 -04:00
Peter Johanson
16ab6df18d feat(display): Add new peripheral status/display
* Add new API/status to track state of the
  peripheral connection to the central.
* Add new peripheral status widget for displaying
  the current status of the connection to
  the central.
2022-05-17 13:09:21 -04:00
Peter Johanson
2c5d5fde51 refactor: k_work_queue API updates. 2022-04-03 00:10:29 -04:00
Peter Johanson
6287819fcc refactor: Move to USB_DEVICE_STACK symbol.
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.7.html#changes-in-this-release
2022-04-03 00:10:29 -04:00
Richard Kjerstadius
a774ce8555 fix(display): Increase char buffer size to fit all symbols
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-10-12 12:00:21 -04:00
Peter Johanson
3e6a3758ed refactor(display): Saner font selection/defaults.
* Only select fonts for the default built in status screen
* Leverage theme default fonts, instead of hardcoding theme
  details in each component.
2021-09-25 19:43:20 -04:00
Peter Johanson
2128b2b55f refactor(display): Output/layer/battery thread safety.
* Submit widget updates to display queue.
* Use mutex to control access to shared state for widgets.
2021-09-25 17:17:04 -04:00
Peter Johanson
063d98e3df feat(display): Optional dedicated work queue.
* 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-09-25 17:17:04 -04:00
Peter Johanson
e491c282e7 fix(display): Add proper LVGL label dep. 2021-08-27 23:06:28 -04:00
Peter Johanson
08687b1709 fix(display): Update output status on endpoint selection change. 2021-08-03 00:19:05 -04:00
Peter Johanson
65ff995033 fix(display): Avoid fault w/ LVGL API usage.
* 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-07-17 17:04:25 -04:00
Pete Johanson
ff7891c097 fix(display): Check for display in idle handler.
* Closes #679
2021-02-16 14:21:46 -05:00
Ally Parker
a4aaa73f06 feat: Add WPM calculator and display widget 2021-01-23 18:38:31 -05:00
Pete Johanson
3368a81057 refactor(core): Combine is_ and cast_ event functions.
* Use a single `as_foo` generated function to conditionally
  return a certain event type from a generic `zmk_event_t*`
  pointer.
2021-01-20 07:06:11 -05:00
Pete Johanson
3fe2acc2d1 refactor(core): Extra event payloads to own types, refactor API.
* 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-20 07:06:11 -05:00
Pete Johanson
992cee1bac feat(display): Show layer label in widget. 2021-01-04 13:02:38 -05:00
Okke Formsma
caa285852a refactor(events): return 'ZMK_EV_EVENT_BUBBLE' instead of magic number 0 2021-01-01 23:07:54 -05:00
KemoNine
87dbd4ca28
Add uppermost, current layer status widget to oled (#493)
* 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-28 20:17:32 -05:00
innovaker
842aa5a842 refactor: replace filename hyphens with underscores
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-28 01:15:35 -05:00
innovaker
2233f457b2 chore(display): add header to CMakeLists.txt
PR: #533
2020-12-21 23:42:55 -05:00