-
Notifications
You must be signed in to change notification settings - Fork 78
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
Integrate bindings to lv_drivers
into lvgl-sys
#64
Conversation
What's the situation with regard to display support? I updated the README to state that both |
Alrighty. In that case I'll shelve this temporarily while I get #51 sorted and come back to it after. Will keep this open as I suspect it shouldn't take that long. |
Going to get back to work on this now; my current idea after familiarizing myself with |
This is almost ready; all that's left is to write some unit tests and mess with the build script to link in libraries for certain features. I'll also write some docs before merging. |
I had to take a short break for personal reasons but this is done and verified working. I ported the button_click example to rely on SDL through lv_drivers instead of embedded-graphics and it works perfectly. So, I think this is good to go as-is |
@nia-e Thank you for all the work. I just noticed that I pressed "rebase & merge" and I got added as co-author of your commits. 🤦🏽 Next time I will just ask you to merge yourself. Sorry about that! |
Don't worry! Plus, I forgot to squash... oops, I have a lot of commits in the tree now |
lv_drivers
into lvgl-sys
lv_drivers
into lvgl-sys
Currently not mergeable as core functionality is missing, but opening to be able to track progress and discuss relevant points.
I decided to integrate drivers into
lvgl-sys
behind a feature gate as splitting them into their own crate(s) appeared to just result in a lot of pointless code duplication. Current absolutely-must-do TODOs before I mark this as ready:Make sureDone!lv_drv_conf.h
only gets compiled in and reexported if thedrivers
feature is enabledActually reexport driver functions and valuesDone!Figure out libraries that must be included to get certain drivers building (e.g. evdev, libinput, drm)Done!Merge Bump LVGL version to 8.3.5 #67 and rebaseDone!Merge Rust bindings API review #51 and work functionality into the new APIDone!Basic unit testsDone!Other things I am more willing to procrastinate on but still need to be done:
Create examplesDone!Update the main README.md with progress on input devicesDone!Closes: