summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index ab0505285..814e2ac76 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -398,7 +398,7 @@ std::string InputManager::getKeyStringLong(const InputActionT index) const
{
if (key.value >= 0)
{
- str = keyboard.getKeyName(key.value);
+ str = KeyboardConfig::getKeyName(key.value);
}
else if (key.value < -1)
{
@@ -440,8 +440,8 @@ void InputManager::updateKeyString(const InputFunction &ki,
{
if (key.value >= 0)
{
- str = keyboard.getKeyShortString(
- keyboard.getKeyName(key.value));
+ str = KeyboardConfig::getKeyShortString(
+ KeyboardConfig::getKeyName(key.value));
}
else if (key.value < -1)
{