ANDROID: Clean up touch screen input
This commit is contained in:
parent
3de0e3f175
commit
83002b66dc
7 changed files with 148 additions and 141 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue