diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-21 17:01:32 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-21 17:01:32 +0200 |
| commit | da725d7aa58dadfd7b59969ab079c9a73438f795 (patch) | |
| tree | 4560b90c78b0fde207b1be6a5fcfea38b7139089 /src/config/ConfigManager.cpp | |
| parent | 0f63077a0774642df6813987fc9d34d0c985901d (diff) | |
warn about outdated keybind cfg
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 893f4ef0..6614c780 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -692,6 +692,11 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v return; } + if (KEY == "exclam" || KEY == "asciicircum" || KEY == "at") { // just some + parseError = "Your config contains (probably) wrong keys. The SHIFT keysym behavior has changed after v0.10.3beta. Please consult the wiki (Advanced configuring -> binds)"; + return; + } + if (KEY != "") { if (isNumber(KEY) && std::stoi(KEY) > 9) g_pKeybindManager->addKeybind(SKeybind{"", std::stoi(KEY), MOD, HANDLER, COMMAND, locked, m_szCurrentSubmap, release, repeat}); |
