[PATCH] INPUT:Add ABS_PRESSURE input event support for touchscreen driver
From: daoguang wu <hidden>
Date: 2011-06-27 08:59:10
Also in:
linux-input, lkml
2011/6/27 Dmitry Torokhov [off-list ref]:
Baohua Song [off-list ref] wrote:quoted
quoted
-----Original Message----- From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Ofdaoguangquoted
wu Sent: 2011?6?27? 10:15 To: Mark Brown Cc: kgene.kim at samsung.com; ben-linux at fluff.org; dmitry.torokhov at gmail.com; linux-kernel at vger.kernel.org; wdgvip at gamil.com; linux-input at vger.kernel.org; linux-arm-kernel at lists.infradead.org Subject: Re: [PATCH] INPUT:Add ABS_PRESSURE input event support for touchscreen driver 2011/6/24 Mark Brown [off-list ref]:quoted
On Fri, Jun 24, 2011 at 10:15:38AM +0800, Wu DaoGuang wrote:quoted
The touchscreen driver s3c2410_ts.c doesn't work well when using the tslib, an abstraction layer for touchscreen panel events. Tslib needs ABS_X ABS_Y and ABS_PRESSURE events to report, butonlyquoted
quoted
quoted
the former two the driver can provide.It seems much more sane to fix this in tslib, the kernel is notactuallyquoted
quoted
reporting pressure meaningfully here and there's already BTN_TOUCHtoquoted
quoted
report if the pen is down.yeah,I will try to fix it in tslib.You may send a patch to tslib.This has already been fixed in tslib a couple years ago. I'm not sure if a new version was cut or not. -- Dmitry
I try the latest tslib ,and find there is no such problem and the latest version of tslib can be downloaded from git://github.com/kergoth/tslib.git. Thanks a lot.