Enhanced VelocityTracker for > 5 pointers and fixed bugs.

Improved PointerLocation tool to use VelocityTracker more efficiently
and correctly when multiple pointers are down.

Fixed a bug in TouchInputMapper where it was not correctly copying
the id to index map in the last touch data.  This could cause strange
behavior on secondary pointer up events.

Also added finished callback pooling in InputQueue.

Change-Id: Ia85e52ac2fb7350960ea1d7edfbe81a1b3e8267b
This commit is contained in:
Jeff Brown 2010-07-30 19:20:11 -07:00
parent 64a74f6537
commit b183fbd646
1 changed files with 3 additions and 1 deletions

View File

@ -565,7 +565,9 @@ protected:
for (uint32_t i = 0; i < pointerCount; i++) {
pointers[i] = other.pointers[i];
idToIndex[i] = other.idToIndex[i];
int id = pointers[i].id;
idToIndex[id] = other.idToIndex[id];
}
}