aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-imx/egalax_ts-enable-single-event-support.patch
blob: e07a15d7d6b9dc279ea9281bd2df8b020d0d9000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From ebe473696da4f4de48b973c93c8bd32300baa818 Mon Sep 17 00:00:00 2001
From: Adrian Alonso <b38018@freescale.com>
Date: Wed, 24 Aug 2011 16:11:14 -0500
Subject: [PATCH] egalax_ts: enable single event support

* Enable single event support for Ubuntu and
  Sato desktop touchscreen support

Signed-off-by: Adrian Alonso <b38018@freescale.com>
---
 drivers/input/touchscreen/egalax_ts.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index 58273b9..05c9c49 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -57,6 +57,9 @@
 
 #define MAX_I2C_DATA_LEN	10
 
+/* Enable single touch event mode */
+#define FORCE_SINGLE_POINTER_SUPPORT 1
+
 struct egalax_pointer {
 	bool valid;
 	bool status;
-- 
1.7.4.1