diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-31 17:33:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-31 17:33:44 +0300 |
commit | 021fa9fe787fe4dd1a6d97b77e94400fac179f23 (patch) | |
tree | 05eebf64884503a17766f1755344568087fec0b2 /src/inputmanager.h | |
parent | ea886eaeabe20e5a51e91ec58067e2ebc20d4f99 (diff) | |
download | plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.gz plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.bz2 plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.xz plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.zip |
Add support for changable actions for onscreen controls.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r-- | src/inputmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h index 4f1733ae4..7f2e3dd3d 100644 --- a/src/inputmanager.h +++ b/src/inputmanager.h @@ -167,6 +167,8 @@ class InputManager final int getActionByKey(const SDL_Event &event) const A_WARN_UNUSED; + void executeAction(const int keyNum); + protected: Setup_Input *mSetupInput; /**< Reference to setup window */ |