Re: [PATCH 2/9 v2] Input: synaptics - refactor agm packet parsing

From: Chase Douglas
Date: Fri Jul 22 2011 - 20:32:45 EST


On 07/20/2011 06:38 AM, djkurtz@xxxxxxxxxxxx wrote:
> From: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>
>
> When a Synaptics touchpad is in "AGM" mode, and multiple fingers are
> detected, the touchpad sends alternating "Advanced Gesture Mode" (AGM) and
> "Simple Gesture Mode" (SGM) packets.
> The AGM packets have w=2, and contain reduced resolution finger data.
> The SGM packets have w={0,1} and contain full resolution finger data.
>
> Refactor the parsing of agm packets to its own function, and rename the
> synaptics_data.mt field to .agm to indicate that it contains the contents of
> the last agm packet.
>
> Signed-off-by: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>

Acked-by: Chase Douglas <chase.douglas@xxxxxxxxxxxxx>
--
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/