summaryrefslogtreecommitdiff
path: root/src/frame-impl.h
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 /src/frame-impl.h
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 'src/frame-impl.h')
-rw-r--r--src/frame-impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame-impl.h b/src/frame-impl.h
index 38affe7..b072de9 100644
--- a/src/frame-impl.h
+++ b/src/frame-impl.h
@@ -33,6 +33,8 @@ struct utouch_frame_engine {
33 struct utouch_surface *surface; 33 struct utouch_surface *surface;
34 struct utouch_frame **frames; 34 struct utouch_frame **frames;
35 struct utouch_frame *next; 35 struct utouch_frame *next;
36 int *evmap;
37 float map[9];
36}; 38};
37 39
38#endif 40#endif