diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-04 21:04:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-04 21:16:36 +0300 |
commit | 92b06e397e5d18b24584dfaf5869929a9579b314 (patch) | |
tree | 2675d073617c3da39ee0ae134629b91f013a8185 /src/touchactions.cpp | |
parent | 6ed69c8769cd6c8c79c77fc8116059b42f3653e7 (diff) | |
download | plus-92b06e397e5d18b24584dfaf5869929a9579b314.tar.gz plus-92b06e397e5d18b24584dfaf5869929a9579b314.tar.bz2 plus-92b06e397e5d18b24584dfaf5869929a9579b314.tar.xz plus-92b06e397e5d18b24584dfaf5869929a9579b314.zip |
prevent mouse cursor moving in android in onscreen controls.
Diffstat (limited to 'src/touchactions.cpp')
-rw-r--r-- | src/touchactions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchactions.cpp b/src/touchactions.cpp index d969c8bc2..5115ec6c2 100644 --- a/src/touchactions.cpp +++ b/src/touchactions.cpp @@ -104,7 +104,7 @@ static void moveChar(int x, int y) impHandler(padClick) { - moveChar(mouseInput.getTouchX(), mouseInput.getTouchY()); + moveChar(mouseInput.getX(), mouseInput.getY()); padClicked = true; } @@ -113,7 +113,7 @@ impHandler(padEvents) if (mouseInput.getType() == gcn::MouseInput::MOVED) { if (padClicked) - moveChar(mouseInput.getTouchX(), mouseInput.getTouchY()); + moveChar(mouseInput.getX(), mouseInput.getY()); } } |