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