From 51236c2d264eababc9e1d16e206a6cc89ffb6d93 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 18 Oct 2010 18:12:07 +0200 Subject: Use a unified pointer emulation model The existing kernel MT devices together use a handful of different pointer emulation strategies, each with its own subtlety. This creates a problem for grail, which needs to rebuild pointer emulation during gesture recognition; relying on the correct pointer information to be available at the right time becomes almost impossible. This patch implements a common pointer emulation model for grail, following a strategy recently discussed on LKML. This resolves the problems stemming from different emulation strategies, and results in a common pointer emulation experience for all devices. Signed-off-by: Henrik Rydberg --- src/grail-impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/grail-impl.h') diff --git a/src/grail-impl.h b/src/grail-impl.h index 6093a0f..dc3b425 100644 --- a/src/grail-impl.h +++ b/src/grail-impl.h @@ -28,6 +28,7 @@ struct grail_impl { struct touch_dev dev; + struct touch_caps emu; struct evbuf evbuf; int filter_abs; int pointer_status; -- cgit v1.2.3