summaryrefslogtreecommitdiff
path: root/unity-shared/CMakeLists.txt
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-04-29 02:02:11 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-04-29 02:02:11 +0200
commit46550cf1378a90cca8e5b4e853dd36bedc24d1cf (patch)
tree700b0adc6de30dadb41a4ff130dd7782aa029531 /unity-shared/CMakeLists.txt
parent689b9092f006a74120943605583d2e10dff3359d (diff)
InputMonitor: add an unity class that monitors XInput2 events and converts them to XEvenet's
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. (bzr r3788.6.1)
Diffstat (limited to 'unity-shared/CMakeLists.txt')
-rw-r--r--unity-shared/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt
index b56c77990..da70990b1 100644
--- a/unity-shared/CMakeLists.txt
+++ b/unity-shared/CMakeLists.txt
@@ -78,6 +78,7 @@ if(ENABLE_X_SUPPORT)
set (UNITY_SHARED_SOURCES
XKeyboardUtil.cpp
XWindowManager.cpp
+ InputMonitor.cpp
${UNITY_SHARED_SOURCES}
)
else()