nelsoneci at gmail.com
Sat Nov 29 17:34:27 CET 2008
On Sat, Nov 29, 2008 at 4:42 AM, Andy Green <andy at openmoko.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Somebody in the thread at some point said:
> |> - We should omit the last point before the UP event but I think this
> |> belongs to user-space. I'm programming a tslib filter ("skip") and
> |> if it doesn't work will I'll send a patch later to skip the last
> |> point in the driver.
> | nhead is 0 because we're already ignoring the first point in the
> | driver. Perhaps it should be done in user space... I don't know what's
> | best.
> My take on it is why should the kernel send junk to userspace to clean
> if it knows it is junk: tslib itself seems like it should go from that
> point of view. There are also practical problems coordinating the
> multiple userspaces and kernel possibilities.
> But, if it's working...
I'll send a patch on Monday porting the filter to the driver. I think
it's safe to have it there.
Would you prefer it to be in the same driver or shall we do "output
filters" for touchscreen events in separate files?
More information about the openmoko-kernel