ANDROID: Clean up touch screen input

This commit is contained in:
Cameron Cawley 2019-04-12 20:29:08 +01:00
parent 3de0e3f175
commit 83002b66dc
7 changed files with 148 additions and 141 deletions

View file

@ -176,7 +176,7 @@ void TouchControls::update(int ptr, int action, int x, int y) {
return;
}
case JACTION_MOVE: {
case JACTION_MULTIPLE: {
_pointers[ptr].currentX = x;
_pointers[ptr].currentY = y;
int dX = x - _pointers[ptr].startX;