Mouse input not working on the Linux Port with SDL backend

Hello to you all,

I recently tried to run LVGL on Linux with the official lv_port_linux but cannot get the mouse input to run.
I hope, that you guys can help me out, because I haven’t found any solution on the web.

Let me know if you need any more information from me.
And thank you very much for your help in advance!

Description

I am running EndeavorOS (Arch-based) on my computer and tried to test the lv_port_linux from this github repo:
GitHub - lvgl/lv_port_linux: LVGL configured to work with a standard Linux framebuffer

I followed the procedure as it is described:

  1. cloned the project
  2. set: #define LV_USE_SDL 1 (the rest to 0)
  3. build the project with cmake and make

So far the programs compiles successfully and can be executed. The GUI starts and the window can be resized, but not clicked on. No mouse input gets recognized.

After this I tried different graphics backends, but they don’t compile.
I also testet it in an Ubuntu VM, but received the same error.

On the command line I only receive no errors.

What MCU/Processor/Board and compiler are you using?

Desktop Linux and standard build process as stated in the repository as stated above.

What LVGL version are you using?

See github repository.

What do you want to achieve?

I want LVGL to handle the mouse input.

What have you tried so far?

See above.

Code to reproduce

I made no changes to the code. Just selected LV_USE_SDL as graphics backend.

Take a look to this PR