summaryrefslogtreecommitdiff
path: root/src/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmanager.cpp')
-rw-r--r--src/inputmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp
index 6ae93b88e..3f4904abe 100644
--- a/src/inputmanager.cpp
+++ b/src/inputmanager.cpp
@@ -33,7 +33,7 @@
#include "gui/npcdialog.h"
#include "gui/npcpostdialog.h"
#include "gui/setup.h"
-#include "gui/setup_keyboard.h"
+#include "gui/setup_input.h"
#include "gui/textdialog.h"
#include "gui/tradewindow.h"
@@ -62,7 +62,7 @@ class KeyFunctor
InputManager::InputManager() :
- mSetupKey(nullptr),
+ mSetupInput(nullptr),
mNewKeyIndex(Input::KEY_NO_VALUE)
{
}
@@ -243,7 +243,7 @@ bool InputManager::hasConflicts(int &key1, int &key2)
void InputManager::callbackNewKey()
{
- mSetupKey->newKeyCallback(mNewKeyIndex);
+ mSetupInput->newKeyCallback(mNewKeyIndex);
}
bool InputManager::isActionActive(int index) const