Hi Dmitry,
-----Original Message-----
From: Dmitry Torokhov [mailto:dmitry.torokhov@gmail.com]
Sent: Monday, September 06, 2010 10:43 AM
To: Naveen Kumar GADDIPATI
quoted
quoted
quoted
+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))
quoted
quoted
quoted
+ return false;
If you specify "fuzz" for given axis I think input core will do
this
quoted
quoted
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