-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good point, that's actually what I did earlier in my much sloppier version. I'll rewrite this patch. Stéphane Chatty wrote: > > Le 17 juin 09 à 07:50, Rafi Rubin a écrit : > >> When both touch and pen are active send a tool announcement before >> sending any status changes so that event users may differentiate >> which tool is changing. >> > > With my multitouch-enabled TouchSmart tx2 (firwmare 4.2.17.8.5, finally > found it!) I get a series of ten BTN_TOOL_DOUBLETAP (value = 0 then 1, > five times) in every event. This is because the device emits HID_GD_X > several times in every event, whatever the real number of touches on the > screen. > > The way to avoid this would be to delay the emission of your > BTN_TOOL_DOUBLETAP as I did for ABS_X and ABS_Y, that is when we receive > HID_DG_HEIGHT (single touch firmware) or 0xff000002 (multi-touch firmware) > > St. > > -- > 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAko5N/cACgkQwuRiAT9o609lZACfUyxsUSbrSXSsZtJFXLgBSU9B J0kAmwSeANwjprdqc6BTjIFozVWsfQxn =5z+v -----END PGP SIGNATURE----- -- 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