summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-02-15 14:48:57 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-02-15 14:48:57 +0100
commit3244deffa1aedbb6c1af8c2dc993f1d771373c6a (patch)
tree2e5a234d628c7065d5a75620639b3a7305fa33ab /tools/Makefile.am
parent814bc7eb456af9439c88d9c7617816934183b959 (diff)
Optional XI2.1 support
This patchs adds optional XI2.1 support to utouch-frame. The utouch/frame-xi2.h header contains helper functions equivalent to utouch/frame-mtdev.h. In addition, the device-to-screen mapping is handled via XEvents and optionally XIPropertyEvent. The latter allows free device placement via xinput set-prop, useful in multi- head setups, thanks to Chase Douglas. Touch frame events can be tested using the utouch-frame-test-xi2 tool. Use --with-xi to enable. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 91e99ce..3b612cc 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -6,6 +6,18 @@ utouch_frame_test_mtdev_SOURCES = utouch-frame-test-mtdev.c
6utouch_frame_test_mtdev_LDFLAGS = -L$(top_builddir)/src/.libs/ \ 6utouch_frame_test_mtdev_LDFLAGS = -L$(top_builddir)/src/.libs/ \
7 -lutouch-frame -lutouch-evemu -lmtdev -lm 7 -lutouch-frame -lutouch-evemu -lmtdev -lm
8 8
9if HAVE_XI
10
11AM_CFLAGS = $(XINPUT_CFLAGS)
12
13bin_PROGRAMS += utouch-frame-test-xi2
14
15utouch_frame_test_xi2_SOURCES = utouch-frame-test-xi2.c
16utouch_frame_test_xi2_LDFLAGS = $(XINPUT_LIBS) $(X11_LIBS) \
17 -L$(top_builddir)/src/.libs/ -lutouch-frame
18
19endif
20
9if HAVE_DOCTOOLS 21if HAVE_DOCTOOLS
10dist_man_MANS = utouch-frame-test-mtdev.1 22dist_man_MANS = utouch-frame-test-mtdev.1
11 23