summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index 55e795e61..009ede631 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -28,7 +28,6 @@
#include <string>
-//enum SDLKey;
union SDL_Event;
/**
@@ -152,11 +151,15 @@ class KeyboardConfig
std::string getKeyShortString(const std::string &key) const;
+ std::string getKeyStringLong(int index) const;
+
const std::string &getBindError() const
{ return mBindError; }
SDLKey getKeyFromEvent(const SDL_Event &event) const;
+ int getKeyValueFromEvent(const SDL_Event &event) const;
+
void unassignKey();
/**