Input: synaptics - process button bits in AGM packets
commit28d5fd860f97f017573c4cd8f199bab867c50a11
authorDaniel Kurtz <djkurtz@chromium.org>
Thu, 7 Jul 2011 05:57:39 +0000 (6 22:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Jul 2011 06:01:17 +0000 (6 23:01 -0700)
treedb678490b92782c78636d4258d3fa74269dd4406
parentbea9f0ff263e1c2031d76afc21c22ad773f0b163
Input: synaptics - process button bits in AGM packets

AGM packets contain valid button bits, too.
This patch refactors packet processing to parse button bits in AGM packets.
However, they aren't actually used or reported.

The point is to more completely process AGM packets,
and prepare for future patches that may actually use AGM packet button bits.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c