Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom nice!view widgets #1768

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

Nicell
Copy link
Member

@Nicell Nicell commented Apr 21, 2023

Scrreen example

Looking for feedback on the structure of this. It's a bit annoying since a single canvas can take on multiple events (top one up to three on the left side), so this is an option. Maybe isn't the best.

Also working on making a better image for the right side than just a nice!view logo.

@Nicell Nicell added displays shields PRs and issues related to shields labels Apr 21, 2023
@Nicell Nicell force-pushed the nice-view-custom-screen branch 2 times, most recently from 1955a12 to 55f004b Compare May 2, 2023 21:21
@Nicell Nicell marked this pull request as ready for review May 2, 2023 21:22
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few initial thoughts

app/boards/shields/nice_view/nice_view.conf Outdated Show resolved Hide resolved
app/boards/shields/nice_view/custom_status_screen.h Outdated Show resolved Hide resolved
app/boards/shields/nice_view/Kconfig.defconfig Outdated Show resolved Hide resolved
app/boards/shields/nice_view/Kconfig.defconfig Outdated Show resolved Hide resolved
app/boards/shields/nice_view/Kconfig.defconfig Outdated Show resolved Hide resolved
@mike1808
Copy link

mike1808 commented May 9, 2023

I tried running the widgets and they work as expected. However, the widgets add a significant delay to the main thread and every 5-6th keypress gets ignored.
Adding CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED helped and with dedicated queue I'm not noticing any delay.

@davenull
Copy link

I have been testing on nicell's fork the last week, and the widgets all work great, and I have not noticed any issues around delay at all.

@mike1808
Copy link

Hey. I rebased this branch with the main and now the display looks a bit stange.
PXL_20230531_163000523

@roblim
Copy link

roblim commented Jun 13, 2023

Hey. I rebased this branch with the main and now the display looks a bit stange. PXL_20230531_163000523

@mike1808 This seems to be from work that was merged around using mono theme by default. You can fix by setting CONFIG_LV_USE_THEME_MONO=n in your config.

@Nicell Nicell requested a review from a team as a code owner July 13, 2023 20:43
@Nicell Nicell requested a review from petejohanson July 13, 2023 20:49
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few others items from a closer review.

app/boards/shields/nice_view/CMakeLists.txt Outdated Show resolved Hide resolved
app/src/display/widgets/Kconfig Outdated Show resolved Hide resolved
@petejohanson petejohanson self-assigned this Jul 19, 2023
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@petejohanson petejohanson merged commit 51a4be8 into zmkfirmware:main Jul 19, 2023
42 checks passed
@Nicell Nicell deleted the nice-view-custom-screen branch July 23, 2023 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
displays shields PRs and issues related to shields
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants