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 /src/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 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a6f98f9..c3fd3b2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
| @@ -19,3 +19,11 @@ libutouch_frameincludedir = $(includedir)/utouch | |||
| 19 | libutouch_frameinclude_HEADERS = \ | 19 | libutouch_frameinclude_HEADERS = \ |
| 20 | $(top_srcdir)/include/utouch/frame.h \ | 20 | $(top_srcdir)/include/utouch/frame.h \ |
| 21 | $(top_srcdir)/include/utouch/frame-mtdev.h | 21 | $(top_srcdir)/include/utouch/frame-mtdev.h |
| 22 | |||
| 23 | if HAVE_XI | ||
| 24 | |||
| 25 | libutouch_frame_la_LDFLAGS += $(XINPUT_LIBS) $(X11_LIBS) | ||
| 26 | libutouch_frame_la_SOURCES += frame-xi2.c | ||
| 27 | libutouch_frameinclude_HEADERS += $(top_srcdir)/include/utouch/frame-xi2.h | ||
| 28 | |||
| 29 | endif | ||
