Re: [PATCH] simplify touchscreen event dispatcher

From: Dmitry Torokhov
Date: Thu Jun 21 2007 - 13:24:36 EST


Hi Benedikt,

On 6/21/07, Benedikt Spranger <b.spranger@xxxxxxxxxxxxx> wrote:
Fix the reporting order of BTN_TOUCH to coordinates first, then
BTN_TOUCH. This simplifies touchscreen event dispatcher. The userspace
should count on the kernel and get BTN_TOUCH-events with updated
coordinates.


Why is this needed? In fact, I think that original way is better - you
can ignore coordinate events until you get BTN_TOUCH event. You do
rely on EV_SYN/SYN_REPORT to indicate end of the state transmission,
don't you?

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/