Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420506
| Path | csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | 廖崇榮 <kt.liao@emc.com.tw> |
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH] Input: /input/input-mt.c Emit BTN_TOO_FINGER in function input_mt_report_pointer_emulation if touchpad meets hover condition Signed-off-by: KT Liao <kt.liao@emc.com.tw> |
| Date | Mon, 13 Jun 2016 09:30:01 +0200 |
| Message-ID | <rJutP-355-5@gated-at.bofh.it> (permalink) |
| References | <rDZK1-NJ-1@gated-at.bofh.it> |
| X-Original-To | <linux-kernel@vger.kernel.org>, <linux-input@vger.kernel.org>, <dmitry.torokhov@gmail.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="big5" |
| Content-Transfer-Encoding | 8BIT |
| X-Mailer | Microsoft Outlook 14.0 |
| Thread-Index | AQJtdif+5g6AgzTuWlaxrGut3MWlf56ent6AgBD+ohA= |
| Content-Language | zh-tw |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 66 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <phoenix@emc.com.tw>, <charliemooney@google.com>, <agnescheng@google.com>, "'jeff'" <jeff.chuang@emc.com.tw> |
| X-Original-Date | Mon, 13 Jun 2016 15:29:00 +0800 |
| X-Original-Message-ID | <003901d1c545$4104e470$c30ead50$@emc.com.tw> |
| X-Original-References | <1464493153-2509-1-git-send-email-kt.liao@emc.com.tw> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1420506 |
Show key headers only | View raw
Hi Dmitry,
We would like to follow up if there is any update or feedback for
this patch.
Thanks & B.R KT
-----Original Message-----
From: 廖崇榮 [mailto:kt.liao@emc.com.tw]
Sent: Thursday, June 02, 2016 7:57 PM
To: 'linux-kernel@vger.kernel.org'; 'linux-input@vger.kernel.org';
'dmitry.torokhov@gmail.com'
Cc: 'phoenix@emc.com.tw'; 'jeff.chung@emc.com.tw';
'charliemooney@google.com'; 'agnescheng@google.com'; 'jeff'
Subject: RE: [PATCH] Input: /input/input-mt.c Emit BTN_TOO_FINGER in
function input_mt_report_pointer_emulation if touchpad meets hover condition
Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Hi Dmitry,
I up-streamed the patch last Sunday, please let me know if you have other
concern.
Thanks your support KT
-----Original Message-----
From: KT Liao [mailto:ktalex.liao@gmail.com]
Sent: Sunday, May 29, 2016 11:39 AM
To: linux-kernel@vger.kernel.org; linux-input@vger.kernel.org;
dmitry.torokhov@gmail.com
Cc: phoenix@emc.com.tw; kt.liao@emc.com.tw; jeff.chung@emc.com.tw;
charliemooney@google.com
Subject: [PATCH] Input: /input/input-mt.c Emit BTN_TOO_FINGER in function
input_mt_report_pointer_emulation if touchpad meets hover condition
Signed-off-by: KT Liao <kt.liao@emc.com.tw>
---
drivers/input/input-mt.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index
54fce56..b89aaa7 100644
--- a/drivers/input/input-mt.c
+++ b/drivers/input/input-mt.c
@@ -218,8 +218,17 @@ void input_mt_report_pointer_emulation(struct input_dev
*dev, bool use_count)
}
input_event(dev, EV_KEY, BTN_TOUCH, count > 0);
- if (use_count)
+
+ if (use_count) {
+ if (count == 0 &&
+ !test_bit(ABS_MT_DISTANCE, dev->absbit) &&
+ test_bit(ABS_DISTANCE, dev->absbit) &&
+ input_abs_get_val(dev, ABS_DISTANCE) != 0) {
+ count = 1;
+ }
input_mt_report_finger_count(dev, count);
+ }
+
if (oldest) {
int x = input_mt_get_value(oldest, ABS_MT_POSITION_X);
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
RE: [PATCH] Input: /input/input-mt.c Emit BTN_TOO_FINGER in function input_mt_report_pointer_emulation if touchpad meets hover condition Signed-off-by: KT Liao <kt.liao@emc.com.tw> 廖崇榮 <kt.liao@emc.com.tw> - 2016-06-13 09:30 +0200
csiph-web