6a66d84f5c
Unfortunately on libhybris enabled systems libinput doesn't work, thus the backend needs to handle input events which can be read from hybris. So far the backend only handles touch events properly, though some aspects look wrong. E.g. motion gives only for one touch contact point. Unfortunately the documentation is quite weak, so there might be something important missing.
23 lines
529 B
CMake
23 lines
529 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::inputstack
|
|
libhybris::sync
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinWaylandHwcomposerBackend
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
)
|