EvdevTouch: Don't remove released touch data for Type B; only ignore slot
authorRobin Burchell <robin.burchell@jollamobile.com>
Wed, 22 Jan 2014 11:26:10 +0000 (12:26 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 22 Jan 2014 17:53:29 +0000 (18:53 +0100)
commit6c017d0a2b3930ef87d4fb5c533c8d9c8f7bb15c
tree8f76450dbb751b9af311abd59885b49eeb5eb309
parent8cf9811ec378b9903e3f64d027f625d9ab0ac7db
EvdevTouch: Don't remove released touch data for Type B; only ignore slot

The Type B protocol states that touch slots with an ID of -1 should be
considered unused, but data should be retained if that slot becomes
active again later. Instead of removing the contact from the contact list,
only "disable" it. This contact can later be reused if the slot becomes
active again.

Change-Id: I827ae311841dd97f73a2c64d943658cd3f29eaf8
Done-with: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
src/platformsupport/input/evdevtouch/qevdevtouch.cpp