RE: input:rohm based bu21013 touch panel controller driver support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitry,

> -----Original Message-----
> From: Dmitry Torokhov [mailto:dmitry.torokhov@xxxxxxxxx]
> Sent: Monday, September 06, 2010 10:43 AM
> To: Naveen Kumar GADDIPATI


> 
> > > > +static bool bu21013_verify_delta(int x1, int y1, int x2, int y2)
> > > > +{
> > > > +       int delta_x, delta_y;
> > > > +       if ((x1 != 0) && (y1 != 0)) {
> > > > +               delta_x = x2 - x1;
> > > > +               if (x1 > x2)
> > > > +                       delta_x = x1 - x2;
> > > > +               delta_y = y2 - y1;
> > > > +               if (y1 > y2)
> > > > +                       delta_y = y1 - y2;
> > > > +               if ((delta_x < DELTA_MIN) || (delta_y <
> DELTA_MIN))
> > > > +                       return false;
> > >
> > > If you specify "fuzz" for given axis I think input core will do
> this
> > > for
> > > you.
> > 	What is fuzz?
> 
> 
> It is one of the parameters in input_set_abs_params() calls that
> instructs input core to perform filtering on input events.
> 
Here the delta calculation is between two co-ordinates for multi touch case according to the controller specification.
Is the fuzz useful in this case also?

Thanks & Regards,
Naveen
	


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux