If you are doing the unholy job of Linux board bringup and if application stack is not ready yet, you may have a bit of fun with this multi-point touchscreen tester utility.
I wrote this utility some time back during the development of few LCD panel drivers and touchscreen drivers.
If your board supports multiple displays, you can select the target display panel. You can also select the input device if multiple input devices available.
Usually panels refers to a display panel with a touchscreen on top which makes this project a fun one.
It supports up to four fingers touch if your touchscreen hardware supports it.
For display, it uses DRM/KMS backend and for input it uses Linux generic input infrastructure. The input code is referenced from evtest utility and for display – libdrm is used.
This utility is tested on STM32MP157C-DK2 and STM32MP157C-EV1 boards.
You can use it as a reference code for your project or modify if for your target board.
Your Linux board display can independently be tested with modetest and touchscreen or input devices can be tested with evtest.
This project relies on libdrm, so cross-compilation of libdrm along with cross-compilation of this utility is covered in the project here.