shortcutsConfig.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. // This file defines all shortcuts used by VCMI
  2. // For modders: create file with same name (Content/config/shortcutsConfig.json) to modify this set in your mod
  3. // For players (Windows): create file Documents/My Games/vcmi/config/shortcutsConfig.json to modify this set
  4. // For players (Linux): create file ~/.config/vcmi/shortcutsConfig.json (or ~/.var/app/eu.vcmi.VCMI/config for Flatpak) to modify this set
  5. //
  6. // When creating your own config, you can remove all hotkeys that you have not changed and game will read them from this file
  7. {
  8. "keyboard" : {
  9. "globalAccept": [ "Return", "Keypad Enter"],
  10. "globalCancel": "Escape",
  11. "globalReturn": [ "Escape", "Return", "Keypad Enter"],
  12. "globalFullscreen": "F4",
  13. "globalOptions": "O",
  14. "globalBackspace": "Backspace",
  15. "globalMoveFocus": "Tab",
  16. "moveLeft": "Left",
  17. "moveRight": "Right",
  18. "moveUp": "Up",
  19. "moveDown": "Down",
  20. "moveFirst": "Home",
  21. "moveLast": "End",
  22. "movePageUp": "PageUp",
  23. "movePageDown": "PageDown",
  24. "selectIndex1": "1",
  25. "selectIndex2": "2",
  26. "selectIndex3": "3",
  27. "selectIndex4": "4",
  28. "selectIndex5": "5",
  29. "selectIndex6": "6",
  30. "selectIndex7": "7",
  31. "selectIndex8": "8",
  32. "mainMenuNewGame": "N",
  33. "mainMenuLoadGame": "L",
  34. "mainMenuHighScores": "H",
  35. "mainMenuCredits": "C",
  36. "mainMenuQuit": "Q",
  37. "mainMenuBack": "B",
  38. "mainMenuSingleplayer": "S",
  39. "mainMenuMultiplayer": "M",
  40. "mainMenuCampaign": "C",
  41. "mainMenuTutorial": "T",
  42. "mainMenuCampaignSod": "S",
  43. "mainMenuCampaignRoe": "R",
  44. "mainMenuCampaignAb": "A",
  45. "mainMenuCampaignCustom": "C",
  46. "lobbyBeginStandardGame": "B",
  47. "lobbyBeginCampaign": [ "Return", "Keypad Enter"],
  48. "lobbyLoadGame": [ "L", "Return", "Keypad Enter"],
  49. "lobbySaveGame": [ "S", "Return", "Keypad Enter"],
  50. "lobbyRandomMap": "R",
  51. "lobbyHideChat": "H",
  52. "lobbyAdditionalOptions": "A",
  53. "lobbySelectScenario": "S",
  54. "gameEndTurn": "E",
  55. "gameLoadGame": "L",
  56. "gameSaveGame": "S",
  57. "gameRestartGame": "R",
  58. "gameMainMenu": "M",
  59. "gameQuitGame": "Q",
  60. "gameOpenMarketplace": "B",
  61. "gameOpenThievesGuild": "G",
  62. "gameActivateConsole": "Tab",
  63. "adventureGameOptions": "O",
  64. "adventureToggleGrid": "F6",
  65. "adventureToggleSleep": [],
  66. "adventureSetHeroAsleep": "Z",
  67. "adventureSetHeroAwake": "W",
  68. "adventureMoveHero": "M",
  69. "adventureVisitObject": "Space",
  70. "adventureMoveHeroSW": [ "Keypad 1" ],
  71. "adventureMoveHeroSS": [ "Keypad 2", "Down" ],
  72. "adventureMoveHeroSE": [ "Keypad 3" ],
  73. "adventureMoveHeroWW": [ "Keypad 4", "Left" ],
  74. "adventureMoveHeroEE": [ "Keypad 6", "Right" ],
  75. "adventureMoveHeroNW": [ "Keypad 7" ],
  76. "adventureMoveHeroNN": [ "Keypad 8", "Up" ],
  77. "adventureMoveHeroNE": [ "Keypad 9" ],
  78. "adventureViewSelected": [ "Return", "Keypad Enter"],
  79. "adventureNextObject": [],
  80. "adventureNextTown": "T",
  81. "adventureNextHero": "H",
  82. "adventureFirstTown": [],
  83. "adventureFirstHero": [],
  84. "adventureViewScenario": "I",
  85. "adventureDigGrail": "D",
  86. "adventureViewPuzzle": "P",
  87. "adventureViewWorld": "V",
  88. "adventureViewWorld1": "1",
  89. "adventureViewWorld2": "2",
  90. "adventureViewWorld4": "4",
  91. "adventureToggleMapLevel": "U",
  92. "adventureKingdomOverview": "K",
  93. "adventureQuestLog": "Q",
  94. "adventureCastSpell": "C",
  95. "adventureThievesGuild": "G",
  96. "adventureExitWorldView": [ "Escape", "Return", "Keypad Enter"],
  97. "adventureZoomIn": "Keypad +",
  98. "adventureZoomOut": "Keypad -",
  99. "adventureZoomReset": "Backspace",
  100. "battleToggleQueue": "Q",
  101. "battleUseCreatureSpell": "F",
  102. "battleSurrender": "S",
  103. "battleRetreat": "R",
  104. "battleAutocombat": "A",
  105. "battleAutocombatEnd": "E",
  106. "battleCastSpell": "C",
  107. "battleWait": "W",
  108. "battleDefend": [ "D", "Space"],
  109. "battleConsoleUp": "Up",
  110. "battleConsoleDown": "Down",
  111. "battleTacticsNext": "Space",
  112. "battleTacticsEnd": [ "Return", "Keypad Enter"],
  113. "battleSelectAction": "S",
  114. "townOpenTavern": "T",
  115. "townSwapArmies": "Space",
  116. "recruitmentMax": "End",
  117. "recruitmentMin": "Home",
  118. "recruitmentUpgrade": "U",
  119. "recruitmentUpgradeAll": [ "A", "U" ],
  120. "kingdomHeroesTab": "H",
  121. "kingdomTownsTab": "T",
  122. "heroDismiss": "D",
  123. "heroCommander": "C",
  124. "heroLooseFormation": "L",
  125. "heroTightFormation": "T",
  126. "heroToggleTactics": "B",
  127. "spellbookTabAdventure": "A",
  128. "spellbookTabCombat": "C",
  129. "heroCostume0": "0",
  130. "heroCostume1": "1",
  131. "heroCostume2": "2",
  132. "heroCostume3": "3",
  133. "heroCostume4": "4",
  134. "heroCostume5": "5",
  135. "heroCostume6": "6",
  136. "heroCostume7": "7",
  137. "heroCostume8": "8",
  138. "heroCostume9": "9"
  139. },
  140. "joystick": {
  141. "leftaxis": "cursorMotion",
  142. "rightaxis": "mapScroll",
  143. "a": ["globalAccept", "globalReturn", "lobbyBeginStandardGame", "lobbyBeginCampaign", "lobbyLoadGame", "lobbySaveGame", "adventureViewSelected", "adventureExitWorldView", "battleTacticsEnd"],
  144. "b": ["globalCancel", "globalReturn", "adventureExitWorldView"],
  145. "x": "mouseLeftClick",
  146. "y": "mouseRightClick",
  147. "leftshoulder": ["adventureNextHero", "battleDefend"],
  148. "rightshoulder": ["adventureNextTown", "battleWait"],
  149. "lefttrigger": ["adventureVisitObject", "battleTacticsNext", "battleUseCreatureSpell"],
  150. "righttrigger": ["adventureCastSpell", "battleCastSpell"],
  151. "back": ["gameEndTurn", "battleAutocombatEnd"],
  152. "start": ["globalOptions", "adventureGameOptions"],
  153. "dpup": ["moveUp", "adventureViewWorld", "recruitmentUpgrade", "recruitmentUpgradeAll", "battleConsoleUp", "recruitmentMax"],
  154. "dpdown": ["moveDown", "adventureKingdomOverview", "battleConsoleDown","recruitmentMin"],
  155. "dpleft": ["moveLeft", "adventureViewScenario"],
  156. "dpright": ["moveRight", "adventureThievesGuild"],
  157. "leftstick" : ["adventureToggleMapLevel", "battleToggleHeroesStats"],
  158. "rightstick": ["adventureToggleGrid", "battleToggleQueue"]
  159. }
  160. }