kwin/backends/hwcomposer
Martin Gräßlin 1c4c5caf65 [backends/hwcomposer] Use input event filter for turning screen on/off
Like in the drm backend we use an InputEventFilter to turn the backlight
on and off. In this case the filter needs to be always installed as key
event should also turn the screen off. We cannot use a global shortcut
as it would not trigger while the screen is locked.

Unlike the filter in DRM backend only the power key can toggle the
backlight, other key events are ignored. For pointer we are optimistic
and already support enabling the backlight. Double tap to wake is also
implemented, but at least on reference hardware (Nexus 5) doesn't work
as disabling the backlight also disables touch input.

Reviewed-By: Bhushan Shah
2016-02-16 10:49:04 +01:00
..
CMakeLists.txt [backends/hwcomposer] Drop dependency on hybrissync library 2015-10-14 14:33:49 +02:00
egl_hwcomposer_backend.cpp Add pure virtual OpenGLBackend::init() method 2015-11-26 08:33:07 +01:00
egl_hwcomposer_backend.h Add pure virtual OpenGLBackend::init() method 2015-11-26 08:33:07 +01:00
hwcomposer.json SVN_SILENT made messages (.desktop file) - always resolve ours 2015-12-29 11:30:35 +00:00
hwcomposer_backend.cpp [backends/hwcomposer] Use input event filter for turning screen on/off 2016-02-16 10:49:04 +01:00
hwcomposer_backend.h [backends/hwcomposer] Use input event filter for turning screen on/off 2016-02-16 10:49:04 +01:00
logging.cpp Change default logging category to QtCriticalMsg 2015-07-31 13:29:58 +02:00
logging.h
screens_hwcomposer.cpp [backends/hwcomposer] Base HwcomposerScreens on BasicScreens 2015-11-17 10:49:09 +01:00
screens_hwcomposer.h [backends/hwcomposer] Base HwcomposerScreens on BasicScreens 2015-11-17 10:49:09 +01:00