diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-10-18 18:12:07 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-11-17 17:22:11 +0100 |
| commit | 51236c2d264eababc9e1d16e206a6cc89ffb6d93 (patch) | |
| tree | e3a3124257f090ae0cbe7c47d864e9308344bbfa /src/grail-impl.h | |
| parent | c91f21c9086374da1badd9026797ad29e3af63eb (diff) | |
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 <rydberg@euromail.se>
Diffstat (limited to 'src/grail-impl.h')
| -rw-r--r-- | src/grail-impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
| 28 | 28 | ||
| 29 | struct grail_impl { | 29 | struct grail_impl { |
| 30 | struct touch_dev dev; | 30 | struct touch_dev dev; |
| 31 | struct touch_caps emu; | ||
| 31 | struct evbuf evbuf; | 32 | struct evbuf evbuf; |
| 32 | int filter_abs; | 33 | int filter_abs; |
| 33 | int pointer_status; | 34 | int pointer_status; |
