From 93e1a5a3904ef2f14110d8b807bcd7d107b3b2a4 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 14 Feb 2011 12:51:01 +0100 Subject: Map device coordinates onto target surface The current implementation outputs most touch attributes in device coordinates. However, the primary use case is to map the input device onto an area on the screen, needed in particular for multihead setups. Moreover, the XI2.1 backend works with screen coordinates, creating an unnecessary discrepancy between backends. This patch adds the basic transformation layer to the utouch surface, thus serving as the master point of device-to-surface mapping. Signed-off-by: Henrik Rydberg --- src/frame-impl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/frame-impl.h') diff --git a/src/frame-impl.h b/src/frame-impl.h index 63cbc7c..38affe7 100644 --- a/src/frame-impl.h +++ b/src/frame-impl.h @@ -30,7 +30,6 @@ struct utouch_frame_engine { int hold_ms; int frame; int slot; - float max_orient; struct utouch_surface *surface; struct utouch_frame **frames; struct utouch_frame *next; -- cgit v1.2.3