425e703dff
Libinput does work on libhybris enabled devices. There is no need to use Android's input stack. This simplifies our code a lot and increases sharing with normal Linux systems. What's tricky is to convince the system to use libinput through with our logind helper. Logind fails to open the files for us if we start KWin over either ssh or adb shell. We need to get it into a proper session, so only a kwin started through a helper like simplelogin will be able to use libinput. REVIEW: 125608
22 lines
503 B
CMake
22 lines
503 B
CMake
set(HWCOMPOSER_SOURCES
|
|
egl_hwcomposer_backend.cpp
|
|
hwcomposer_backend.cpp
|
|
logging.cpp
|
|
screens_hwcomposer.cpp
|
|
)
|
|
|
|
add_library(KWinWaylandHwcomposerBackend MODULE ${HWCOMPOSER_SOURCES})
|
|
target_link_libraries(KWinWaylandHwcomposerBackend
|
|
kwin
|
|
libhybris::libhardware
|
|
libhybris::hwcomposer
|
|
libhybris::hybriseglplatform
|
|
libhybris::sync
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinWaylandHwcomposerBackend
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
)
|