1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

rename to key binding

This commit is contained in:
Laserlicht
2025-07-19 16:46:22 +02:00
parent 5a2aee0ad4
commit 802788b89f
14 changed files with 597 additions and 597 deletions

View File

@@ -18,15 +18,15 @@
ShortcutHandler::ShortcutHandler()
{
mappedKeyboardShortcuts = loadShortcuts(shortcutsConfig["keyboard"]);
mappedJoystickShortcuts = loadShortcuts(shortcutsConfig["joystickButtons"]);
mappedJoystickAxes = loadShortcuts(shortcutsConfig["joystickAxes"]);
mappedKeyboardShortcuts = loadShortcuts(keyBindingsConfig["keyboard"]);
mappedJoystickShortcuts = loadShortcuts(keyBindingsConfig["joystickButtons"]);
mappedJoystickAxes = loadShortcuts(keyBindingsConfig["joystickAxes"]);
#ifndef ENABLE_GOLDMASTER
std::vector<EShortcut> assignedShortcuts;
std::vector<EShortcut> missingShortcuts;
for (auto const & entry : shortcutsConfig["keyboard"].Struct())
for (auto const & entry : keyBindingsConfig["keyboard"].Struct())
{
EShortcut shortcutID = findShortcut(entry.first);
assert(!vstd::contains(assignedShortcuts, shortcutID));