summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-14 16:55:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-14 18:37:50 +0300
commit13642a6cddd8657ec84a2bfa94c6ac7d34545dba (patch)
treecefec154fe5b6ec59990c4ef5cfe67eba4a484e6 /src/keyboardconfig.h
parenteaaafe3312a361e332d495ee68451e424d90a19d (diff)
downloadmv-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.gz
mv-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.bz2
mv-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.xz
mv-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.zip
Add support for on screen joystick for moving.
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index e101a65e0..69d3b9db5 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -90,8 +90,12 @@ class KeyboardConfig final
void handleActicateKey(const SDL_Event &event);
+ void handleActicateKey(const int key);
+
void handleDeActicateKey(const SDL_Event &event);
+ void handleDeActicateKey(const int key);
+
int getActionId(const SDL_Event &event) A_WARN_UNUSED;
void handleRepeat(const int time);