summaryrefslogtreecommitdiff
path: root/src/input/multitouchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-11 22:22:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-11 22:22:48 +0300
commitf43e19ac76dd70bc362d7f498e095c56ab649b61 (patch)
treef7a3854eca1882d05ac216031e3166b3360e8e0b /src/input/multitouchmanager.cpp
parent0acc9ba58666df977e0251e4a9a721dc29645f6f (diff)
downloadManaVerse-f43e19ac76dd70bc362d7f498e095c56ab649b61.tar.gz
ManaVerse-f43e19ac76dd70bc362d7f498e095c56ab649b61.tar.bz2
ManaVerse-f43e19ac76dd70bc362d7f498e095c56ab649b61.tar.xz
ManaVerse-f43e19ac76dd70bc362d7f498e095c56ab649b61.zip
Use first finger as right mouse click target.
Before was second finger.
Diffstat (limited to 'src/input/multitouchmanager.cpp')
-rw-r--r--src/input/multitouchmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/multitouchmanager.cpp b/src/input/multitouchmanager.cpp
index a693e1fd9..49bc7bc12 100644
--- a/src/input/multitouchmanager.cpp
+++ b/src/input/multitouchmanager.cpp
@@ -81,7 +81,7 @@ void MultiTouchManager::checkDevice(const int touchId,
{
const int w = mainGraphics->mWidth;
const int h = mainGraphics->mHeight;
- guiInput->simulateMouseClick(finger1.x * w, finger1.y * h,
+ guiInput->simulateMouseClick(finger0.x * w, finger0.y * h,
gcn::MouseInput::RIGHT);
}
}