[PATCH] INPUT:Add ABS_PRESSURE input event support for touchscreen driver

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jun 24 08:41:55 EDT 2011


On Fri, Jun 24, 2011 at 10:15:38AM +0800, Wu DaoGuang wrote:
> 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, but only
> the former two the driver can provide.

It seems much more sane to fix this in tslib, the kernel is not actually
reporting pressure meaningfully here and there's already BTN_TOUCH to
report if the pen is down.



More information about the linux-arm-kernel mailing list