diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2016-09-01 23:56:24 +0000 |
|---|---|---|
| committer | Bileto Bot <ci-train-bot@canonical.com> | 2016-09-01 23:56:24 +0000 |
| commit | 960a204e08555bc6a0605f2cd0a3cbb2f81fcb58 (patch) | |
| tree | d77062a12cfcca9947420b54f3980583555b91af /unity-shared/CMakeLists.txt | |
| parent | 16db9de3a5120192be79b5ada3df45ebfe65b323 (diff) | |
| parent | 14800151f8fd651a1405f3026845089e140a216d (diff) | |
InputMonitor: add an unity class that monitors XInput2 events and converts them to XEvent
Clients of this class can register event handlers, and when an interested event will hit our event filter function (that is set only if we have handlers), then we notify them with a standard XEvent struct, converted from the XIDeviceEvent cookie. The nice thing of this monitor is that it always reports events, despite the X grabs. Approved by: Andrea Azzarone (bzr r4182)
Diffstat (limited to 'unity-shared/CMakeLists.txt')
| -rw-r--r-- | unity-shared/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt index d461750be..0c6cac17c 100644 --- a/unity-shared/CMakeLists.txt +++ b/unity-shared/CMakeLists.txt @@ -82,6 +82,7 @@ if(ENABLE_X_SUPPORT) set (UNITY_SHARED_SOURCES XKeyboardUtil.cpp XWindowManager.cpp + InputMonitor.cpp ${UNITY_SHARED_SOURCES} ) else() |
