Playing with touch screen events

"Marco Trevisan (Treviño)" mail at
Tue Oct 21 03:51:25 CEST 2008

Andy Green wrote:
> Somebody in the thread at some point said:
>> what we need is a better touchscreen.. or a very very good filter
>> between the ts
>> device and x events so every app gets reliable events. tslib i think
>> has such
>> an infrastructure - BUT i never got time to play with it. :)
> I think these behaviours can also be trouble in the driver... "pen up
> and down" is a separate interrupt than sample from ADC and it wouldn't
> surprise me if we can improve it.  There was a patch about it from Dima
> Kogan recently

I can confirm that this fixes a lot of scrolling (and mouse moves at
all) issues...

> Actual position averaging is pretty solved by the "median" patch stuff,
> there's some question about whether it's acceptable upstream I guess we
> are going to have to find out about.

I don't understand, is this usable in the moko or not? When you say
upstream you mean a merging with the standard linux upstream code or
with the openmoko stable?

Treviño's World - Life and Linux

More information about the devel mailing list