Coder Social home page Coder Social logo

Comments (11)

kisvegabor avatar kisvegabor commented on July 29, 2024 1

Would you accept a PR for adding them to this example

Sure!

The libinput driver got support for handling touch, mouse and keyboard too via

libinput_find_devs();
libinput_init_state();
libinput_read_state();

These updates were added by @Johennes, so there are any questions probably he can help. πŸ™‚

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Hi,

We have drivers for libinput and evdev. See here.

from lv_port_linux.

septatrix avatar septatrix commented on July 29, 2024

Would you accept a PR for adding them to this example or is that out of scope for this repo?

from lv_port_linux.

sukesh-ak avatar sukesh-ak commented on July 29, 2024

@kisvegabor
Any reason why this sample repo is not updated with latest drivers which supports SDL including touch?

I have a RPI 3B with Waveshare 2.8" 480x640 TFT with capacitive touch.
Demo shows up on the display but now trying to get touch working.

What all changes are required to make it work?

By just switching drivers to master and copying drv_conf to local gives this error.
Trying to avoid spending time troubleshooting for now.

/usr/bin/ld: ./main.o: in function `main':
main.c:(.text.startup+0x10): undefined reference to `fbdev_init'
/usr/bin/ld: main.c:(.text.startup+0x40): undefined reference to `fbdev_flush'
/usr/bin/ld: main.c:(.text.startup+0x50): undefined reference to `fbdev_flush'
collect2: error: ld returned 1 exit status
make: *** [Makefile:38: default] Error 1

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Just updated, see #20 (comment)

Basically, it's just the lack of manpower that we can't keep all the ports up to date. πŸ™

from lv_port_linux.

sukesh-ak avatar sukesh-ak commented on July 29, 2024

@kisvegabor
I am trying to create samples with documentation which just works. Already did with WT32-SC01 + Arduino & ESP-IDF versions.

After I shared LVGL+WT32-SC01 on FB groups, several people bought WT32-SC01 as well. Trying to do what I can to support LVGL 😊

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Sounds great, thank you! πŸ™‚

from lv_port_linux.

stale avatar stale commented on July 29, 2024

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from lv_port_linux.

septatrix avatar septatrix commented on July 29, 2024

Still a relevant feature proposal

from lv_port_linux.

kisvegabor avatar kisvegabor commented on July 29, 2024

Have you tried the libinput drivers mentioned here?

from lv_port_linux.

stale avatar stale commented on July 29, 2024

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from lv_port_linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.