summaryrefslogtreecommitdiffstats
path: root/config.tests/x11/xinput/xinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/x11/xinput/xinput.cpp')
-rw-r--r--config.tests/x11/xinput/xinput.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/config.tests/x11/xinput/xinput.cpp b/config.tests/x11/xinput/xinput.cpp
new file mode 100644
index 0000000..9a61bc2
--- /dev/null
+++ b/config.tests/x11/xinput/xinput.cpp
@@ -0,0 +1,18 @@
+#ifdef Q_OS_SOLARIS
+#error "Not supported."
+#else
+
+#include <X11/Xlib.h>
+#include <X11/extensions/XInput.h>
+
+#ifdef Q_OS_IRIX
+# include <wacom.h>
+#endif
+
+int main(int, char **)
+{
+ XDeviceButtonEvent *event;
+ event = 0;
+ return 0;
+}
+#endif