evdev-touchpad: Twiddle finger_state correctly
authorRob Bradford <rob@linux.intel.com>
Tue, 9 Oct 2012 17:44:29 +0000 (18:44 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:31 +0000 (17:51 +0100)
commit56b178cc00691e3a831b6f4828378a6a4def993b
tree7340745b997c7621f88b5eff9856e2f57b4c0129
parentc69e1fbe27518df34e761775461bfd39365a701c
evdev-touchpad: Twiddle finger_state correctly

The original code always set the finger_state to the appropriate bitmask
irrespective of whether the event was a press or a release. It would also blat
all members of the bitmask rather than ORing in the new bit for the event.

Cc:Jonas Ådahl <jadahl@gmail.com>
Signed-off-by: Rob Bradford <rob@linux.intel.com>
src/evdev-touchpad.c