lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
291 stars 310 forks source link

wayland can't redraw, touch doesn't work #234

Open colorhacker opened 1 year ago

colorhacker commented 1 year ago

i cloned the latest version of lgvl and this driver directly. of course, the compilation will report: lv_mem_alloc, lv_mem_free, lv_memset_00 are wrong, this problem should be a version matching problem. I'll fix it after editing. Here is the code:

int main(void)
{
    lv_init();
    lv_wayland_init();

    lv_disp_t *disp = lv_wayland_create_window(1280, 800, "Window Title", NULL);
    //lv_wayland_window_set_fullscreen(disp, true);
    lv_demo_widgets();
    while (1) {
        lv_wayland_timer_handler();
        usleep(5000);
    }
    return 0;
}

trying the readme code under wayland has no effect.

after the demo page appears, there is no response. i thought it was because there was no touch event, but the data could be printed out, but the page was stuck.

colorhacker commented 1 year ago

thank you very much

------------------ Original message ------------------ From: "江天文"; Sendtime: Thursday, Sep 8, 2022 9:12 AM To: "lvgl/lv_drivers"; Cc: @.***>; "Author"; Subject: Re: [lvgl/lv_drivers] wayland can't redraw, touch doesn't work (Issue #234)

See my previous report, a not so elegant solution suggested, but works.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

stale[bot] commented 1 year ago

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.