Updates
LVGL Simulator
It took me at least 2 days to get the lvgl simulator working TT. I settled on Visual Studio (also tried Codeblocks and VSCode) because it worked for demos, but it took me forever to get my own code running.
TLDR I turned of a setting and it broke it… I just needed to add:
lv_delay_ms(lv_timer_handler());
lv_refr_now(NULL);
It worked immediately :) Lets just say it was a very bittersweet moment
GUI Progress
I have the home screen pretty much done, and I’m starting to feel very comfortable coding in LVGL!
So far I have:
- infinite scroll list to show active layer (still need to apply style for the active one)
-Has circular scrolling, which took quite some trial and error. I was doing a very roundabout way with manual calculations to get nice animated snapping. But I learned about flags and now the active layer’s button is flagged, which made everything much easier! - volume slider (still deciding on it as I would need to mess with Raw HID for it)
FYI: The buttons in the GIF are just to test out & showcase how I plan to integrate the layer indicator in QMK
Next
- create RGB info screen
- actually integrate into QMK
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.