diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-02-15 14:48:57 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-02-15 14:48:57 +0100 |
| commit | 3244deffa1aedbb6c1af8c2dc993f1d771373c6a (patch) | |
| tree | 2e5a234d628c7065d5a75620639b3a7305fa33ab /tools/Makefile.am | |
| parent | 814bc7eb456af9439c88d9c7617816934183b959 (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.am | 12 |
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 | |||
| 6 | utouch_frame_test_mtdev_LDFLAGS = -L$(top_builddir)/src/.libs/ \ | 6 | utouch_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 | ||
| 9 | if HAVE_XI | ||
| 10 | |||
| 11 | AM_CFLAGS = $(XINPUT_CFLAGS) | ||
| 12 | |||
| 13 | bin_PROGRAMS += utouch-frame-test-xi2 | ||
| 14 | |||
| 15 | utouch_frame_test_xi2_SOURCES = utouch-frame-test-xi2.c | ||
| 16 | utouch_frame_test_xi2_LDFLAGS = $(XINPUT_LIBS) $(X11_LIBS) \ | ||
| 17 | -L$(top_builddir)/src/.libs/ -lutouch-frame | ||
| 18 | |||
| 19 | endif | ||
| 20 | |||
| 9 | if HAVE_DOCTOOLS | 21 | if HAVE_DOCTOOLS |
| 10 | dist_man_MANS = utouch-frame-test-mtdev.1 | 22 | dist_man_MANS = utouch-frame-test-mtdev.1 |
| 11 | 23 | ||
