2026-03-16 00:10:52 +01:00
|
|
|
THE EXECUTABLE MUST HAVE OWNER root AND "set user id" (chmod +s ) FLAG SET
|
|
|
|
|
( running as regular user has no rights for /dev/inputXXX , running as root breaks other stuff, so we go with owner root and setUID )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-03 01:26:25 +02:00
|
|
|
special thanks to
|
|
|
|
|
|
|
|
|
|
https://gist.github.com/lmarz/1059f7c4101a15e2a04d6991d7b7b3d1
|
|
|
|
|
|
|
|
|
|
which provided a minimal example, allowing me to shorten the suffering of skimming through the shitty wayland documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL:
|
|
|
|
|
|
|
|
|
|
run "./generate_sources.sh"
|
|
|
|
|
will generate the wayland headers and sources needed by the program
|
|
|
|
|
the generated files will be in "./wlroot_objects"
|
|
|
|
|
|
|
|
|
|
run "make"
|
|
|
|
|
will imports a bunch of definitions from "external.mk"
|
|
|
|
|
then will run "./wlroot_objects/Makefile"
|
|
|
|
|
and finally ends the build process with its own jobs
|