Input: appletouch - fix idle reset logic
authorThomas Rohwer <tr@tng.de>
Tue, 25 Sep 2007 04:06:25 +0000 (00:06 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Sep 2007 04:06:25 +0000 (00:06 -0400)
Idle count should only be incremented when touchpad button
is not pressed, otherwise reset may happen at a wrong time
and touchpad will never report button release event.

Signed-off-by: Thomas Rohwer <trohwer@tng.de>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found