Messages in this thread | | | Date | Mon, 16 Nov 2009 15:23:55 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v2 1/2] input: touchscreen: introduce tsc2005 driver |
| |
On Mon, Nov 16, 2009 at 02:37:48PM +0200, Phil Carmody wrote: > On 14/11/09 07:03 +0100, ext Dmitry Torokhov wrote:
> > Do we really need to do filtering and averaging in kernel? What about > > tslib?
> Not everyone uses tslib. There's already some filtering in the tsc2005 > already, but it's not really enough. This averaging also has the > pleasant side-effect of reducing the number of input events. The > fudging that takes place later has slightly different smoothing > behaviour, and isn't a substitute.
If we do want to be doing filtering and averaging in kernel then it really ought to be some sort of generic framework rather than driver specific code since otherwise there will be duplication of effort. The OpenMoko guys were pushing a framework for doing that, I'm not sure what the current status is.
| |