LVGL applications with mouse

Vijay Kumar Banerjee vijay at rtems.org
Thu Jun 4 19:36:15 UTC 2020


Hi!

I had been looking for an opportunity to do this for a long time and I'm
excited to post that LVGL apps on RTEMS can now use input devices through
the evdev interface!

I prepared some BSD evdev patches for lvgl repository and managed to get
them merged upstream. The patchset that I recently send to devel for
libbsd[1] and rtems-littlevgl[2], updates the rtems-libbsd and
rtems-littlevgl repository to adapt to the latest lvgl changes upstream and
adds the evdev support to rtems-littlevgl.

I wrote an example lvgl application that uses the mouse, connected through
USB port of Beaglebone black. The example application uses the RTEMS logo,
which makes it a bit heavier patch for the devel. I have posted the commit
on my github fork [3] and would really appreciate it if someone can review
and approve it to merge upstream.

Finally, please have a look at this very short video that shows the example
application running. It uses many features of lvgl, including image,
button, and input:
https://blog.thelunatic.dev/assets/video/lvgl_rtems_logo.mp4

We can now make full-fledged GUI applications with LVGL on RTEMS. :)

[1]: https://lists.rtems.org/pipermail/devel/2020-June/060049.html
[2]: https://lists.rtems.org/pipermail/devel/2020-June/060050.html
[3]:
https://github.com/thelunatic/rtems-examples/commit/c526d3c06a69591dc36e62af32728c51012ea6c1

Thanks!
Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200605/9914329e/attachment-0001.html>


More information about the devel mailing list