summaryrefslogtreecommitdiff
path: root/src/touchactions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 18:57:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 18:57:56 +0300
commit6fbb71142de5b2b12c2153b41a21b6dc34284343 (patch)
tree408d3671ac75bd349f86e13ae614bf838672fffe /src/touchactions.cpp
parent021fa9fe787fe4dd1a6d97b77e94400fac179f23 (diff)
downloadplus-6fbb71142de5b2b12c2153b41a21b6dc34284343.tar.gz
plus-6fbb71142de5b2b12c2153b41a21b6dc34284343.tar.bz2
plus-6fbb71142de5b2b12c2153b41a21b6dc34284343.tar.xz
plus-6fbb71142de5b2b12c2153b41a21b6dc34284343.zip
Add configurable actions for onscreen buttons.
Diffstat (limited to 'src/touchactions.cpp')
-rw-r--r--src/touchactions.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/touchactions.cpp b/src/touchactions.cpp
index 574836b6d..a04ff5aac 100644
--- a/src/touchactions.cpp
+++ b/src/touchactions.cpp
@@ -23,7 +23,6 @@
#include "actionmanager.h"
#include "configuration.h"
#include "game.h"
-#include "inputmanager.h"
#include "logger.h"
#include "mouseinput.h"
#include "touchmanager.h"
@@ -37,13 +36,6 @@ int haldJoyPad = 50;
#define impHandler(name) void name(const MouseInput &mouseInput)
#define impHandler0(name) void name(const MouseInput &mouseInput A_UNUSED)
-impHandler0(showKeyboard)
-{
- inputManager.executeAction(config.getIntValue("screenActionKeyboard"));
-
-// ActionManager::showKeyboard(tempEvent);
-}
-
void setHalfJoyPad(int s)
{
haldJoyPad = s;
@@ -141,13 +133,3 @@ impHandler0(padUp)
padClicked = false;
moveChar(haldJoyPad, haldJoyPad);
}
-
-impHandler0(attackClick)
-{
- ActionManager::targetAttack(tempEvent);
-}
-
-impHandler0(cancelClick)
-{
- ActionManager::stopSit(tempEvent);
-}