shortcutsConfig.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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. // It is possible to add modifiers to keys: Ctrl, Shift, or Alt. For example, "Ctrl+Tab" hotkey will only activate if Ctrl is pressed
  8. {
  9. "keyboard" : {
  10. "adventureCastSpell": "C",
  11. "adventureDigGrail": "D",
  12. "adventureEndTurn": "E",
  13. "adventureExitWorldView": [ "Escape", "Return", "Keypad Enter"],
  14. "adventureFirstHero": "Ctrl+H",
  15. "adventureFirstTown": "Ctrl+T",
  16. "adventureGameOptions": "O",
  17. "adventureKingdomOverview": "K",
  18. "adventureLoadGame": "L",
  19. "adventureMainMenu": "Ctrl+M",
  20. "adventureMarketplace": "B",
  21. "adventureMoveHero": "M",
  22. "adventureMoveHeroEE": [ "Keypad 6", "Right" ],
  23. "adventureMoveHeroNE": [ "Keypad 9", "PageUp" ],
  24. "adventureMoveHeroNN": [ "Keypad 8", "Up" ],
  25. "adventureMoveHeroNW": [ "Keypad 7", "Home" ],
  26. "adventureMoveHeroSE": [ "Keypad 3", "PageDown" ],
  27. "adventureMoveHeroSS": [ "Keypad 2", "Down" ],
  28. "adventureMoveHeroSW": [ "Keypad 1", "End" ],
  29. "adventureMoveHeroWW": [ "Keypad 4", "Left" ],
  30. "adventureNewGame": "Ctrl+N",
  31. "adventureNextHero": "H",
  32. "adventureNextObject": "N",
  33. "adventureNextTown": "T",
  34. "adventureQuestLog": "Q",
  35. "adventureQuitGame": "Ctrl+Q",
  36. "adventureReplayTurn": [], // NOTE: functionality not implemented
  37. "adventureRestartGame": "R",
  38. "adventureSaveGame": "S",
  39. "adventureSetHeroAsleep": "Z",
  40. "adventureSetHeroAwake": "W",
  41. "adventureThievesGuild": "G",
  42. "adventureToggleGrid": "F6",
  43. "adventureToggleMapLevel": "U",
  44. "adventureToggleSleep": [],
  45. "adventureTrackHero": "F5",
  46. "adventureViewPuzzle": "P",
  47. "adventureViewScenario": "I",
  48. "adventureViewSelected": [ "Return", "Keypad Enter"],
  49. "adventureViewWorld": "V",
  50. "adventureViewWorld1": "1",
  51. "adventureViewWorld2": "2",
  52. "adventureViewWorld4": "4",
  53. "adventureVisitObject": "Space",
  54. "adventureZoomIn": "Keypad +",
  55. "adventureZoomOut": "Keypad -",
  56. "adventureZoomReset": "Backspace",
  57. "battleAutocombat": "A",
  58. "battleAutocombatEnd": "E",
  59. "battleCastSpell": "C",
  60. "battleConsoleDown": "Down",
  61. "battleConsoleUp": "Up",
  62. "battleDefend": [ "D", "Space"],
  63. "battleOpenActiveUnit": "I",
  64. "battleOpenHoveredUnit": "V",
  65. "battleRetreat": "R",
  66. "battleSelectAction": "S",
  67. "battleSpellShortcut0": "0",
  68. "battleSpellShortcut1": "1",
  69. "battleSpellShortcut2": "2",
  70. "battleSpellShortcut3": "3",
  71. "battleSpellShortcut4": "4",
  72. "battleSpellShortcut5": "5",
  73. "battleSpellShortcut6": "6",
  74. "battleSpellShortcut7": "7",
  75. "battleSpellShortcut8": "8",
  76. "battleSpellShortcut9": "9",
  77. "battleSurrender": "S",
  78. "battleTacticsEnd": [ "Return", "Keypad Enter"],
  79. "battleTacticsNext": "Space",
  80. "battleToggleHeroesStats": [],
  81. "battleToggleQueue": "Q",
  82. "battleUseCreatureSpell": "F",
  83. "battleWait": "W",
  84. "exchangeArmySwap": "F10",
  85. "exchangeArmyToLeft": [],
  86. "exchangeArmyToRight": [],
  87. "exchangeArtifactsSwap": "F11",
  88. "exchangeArtifactsToLeft": [],
  89. "exchangeArtifactsToRight": [],
  90. "exchangeBackpackLeft": [],
  91. "exchangeBackpackRight": [],
  92. "exchangeBackpackSwap": "Shift+F11",
  93. "exchangeBackpackToLeft": [],
  94. "exchangeBackpackToRight": [],
  95. "exchangeEquippedSwap": "Ctrl+F11",
  96. "exchangeEquippedToLeft": [],
  97. "exchangeEquippedToRight": [],
  98. "gameActivateConsole": "Tab",
  99. "globalAccept": [ "Return", "Keypad Enter"],
  100. "globalBackspace": "Backspace",
  101. "globalCancel": "Escape",
  102. "globalFullscreen": "F4",
  103. "globalMoveFocus": "Tab",
  104. "globalOptions": "O",
  105. "globalReturn": [ "Escape", "Return", "Keypad Enter"],
  106. "heroArmySplit": "S",
  107. "heroBackpack": "B",
  108. "heroCommander": "C",
  109. "heroCostumeLoad0": "0",
  110. "heroCostumeLoad1": "1",
  111. "heroCostumeLoad2": "2",
  112. "heroCostumeLoad3": "3",
  113. "heroCostumeLoad4": "4",
  114. "heroCostumeLoad5": "5",
  115. "heroCostumeLoad6": "6",
  116. "heroCostumeLoad7": "7",
  117. "heroCostumeLoad8": "8",
  118. "heroCostumeLoad9": "9",
  119. "heroCostumeSave0": "Ctrl+0",
  120. "heroCostumeSave1": "Ctrl+1",
  121. "heroCostumeSave2": "Ctrl+2",
  122. "heroCostumeSave3": "Ctrl+3",
  123. "heroCostumeSave4": "Ctrl+4",
  124. "heroCostumeSave5": "Ctrl+5",
  125. "heroCostumeSave6": "Ctrl+6",
  126. "heroCostumeSave7": "Ctrl+7",
  127. "heroCostumeSave8": "Ctrl+8",
  128. "heroCostumeSave9": "Ctrl+9",
  129. "heroDismiss": "D",
  130. "heroLooseFormation": "L",
  131. "heroTightFormation": "T",
  132. "heroToggleTactics": "B",
  133. "highScoresCampaigns": "C",
  134. "highScoresReset": "R",
  135. "highScoresScenarios": "S",
  136. "kingdomHeroesTab": "H",
  137. "kingdomTownsTab": "T",
  138. "lobbyAdditionalOptions": "A",
  139. "lobbyBeginCampaign": [ "Return", "Keypad Enter"],
  140. "lobbyBeginStandardGame": "B",
  141. "lobbyExtraOptions": "E",
  142. "lobbyFlipCoin": "F",
  143. "lobbyInvitePlayers": "I",
  144. "lobbyLoadGame": [ "L", "Return", "Keypad Enter"],
  145. "lobbyRandomMap": "R",
  146. "lobbyRandomTown": "T",
  147. "lobbyRandomTownVs": "V",
  148. "lobbyReplayVideo": "R",
  149. "lobbySaveGame": [ "S", "Return", "Keypad Enter"],
  150. "lobbySelectScenario": "S",
  151. "lobbyToggleChat": "H",
  152. "lobbyTurnOptions": "T",
  153. "mainMenuBack": [ "B", "Escape" ],
  154. "mainMenuCampaign": "C",
  155. "mainMenuCampaignAb": "A",
  156. "mainMenuCampaignCustom": "C",
  157. "mainMenuCampaignRoe": "R",
  158. "mainMenuCampaignSod": "S",
  159. "mainMenuCredits": "C",
  160. "mainMenuHighScores": "H",
  161. "mainMenuHostGame": "C",
  162. "mainMenuHotseat": "H",
  163. "mainMenuJoinGame": "J",
  164. "mainMenuLoadGame": "L",
  165. "mainMenuLobby": "Ctrl+Tab",
  166. "mainMenuMultiplayer": "M",
  167. "mainMenuNewGame": "N",
  168. "mainMenuQuit": [ "Q", "Escape" ],
  169. "mainMenuSingleplayer": "S",
  170. "mainMenuTutorial": "T",
  171. "mapsSizeAll": [],
  172. "mapsSizeL": [],
  173. "mapsSizeM": [],
  174. "mapsSizeS": [],
  175. "mapsSizeXl": [],
  176. "mapsSortChangedate": [],
  177. "mapsSortDefeat": [],
  178. "mapsSortFormat": [],
  179. "mapsSortMaps": [],
  180. "mapsSortName": [],
  181. "mapsSortPlayers": [],
  182. "mapsSortSize": [],
  183. "mapsSortVictory": [],
  184. "marketArtifactExperience": [],
  185. "marketArtifactResource": [],
  186. "marketCreatureExperience": [],
  187. "marketCreatureResource": [],
  188. "marketDeal": "Space",
  189. "marketMaxAmount": "M",
  190. "marketResourceArtifact": [],
  191. "marketResourcePlayer": [],
  192. "marketResourceResource": [],
  193. "marketSacrificeAll": "A",
  194. "marketSacrificeBackpack": "B",
  195. "moveDown": "Down",
  196. "moveFirst": "Home",
  197. "moveLast": "End",
  198. "moveLeft": "Left",
  199. "movePageDown": "PageDown",
  200. "movePageUp": "PageUp",
  201. "moveRight": "Right",
  202. "moveUp": "Up",
  203. "recruitmentMax": [ "End", "M" ],
  204. "recruitmentMin": "Home",
  205. "recruitmentSwitchLevel": "Tab",
  206. "recruitmentUpgrade": "U",
  207. "recruitmentUpgradeAll": [ "A", "U" ],
  208. "selectIndex1": "1",
  209. "selectIndex2": "2",
  210. "selectIndex3": "3",
  211. "selectIndex4": "4",
  212. "selectIndex5": "5",
  213. "selectIndex6": "6",
  214. "selectIndex7": "7",
  215. "selectIndex8": "8",
  216. "settingsLoadGame": "L",
  217. "settingsNewGame": "N",
  218. "settingsQuitGame": "Q",
  219. "settingsRestartGame": "R",
  220. "settingsSaveGame": "S",
  221. "settingsToMainMenu": "M",
  222. "spectateSkipBattle": [],
  223. "spectateSkipBattleResult": [],
  224. "spectateTrackHero": [],
  225. "spellbookTabAdventure": "A",
  226. "spellbookTabCombat": "C",
  227. "townOpenFort": "F",
  228. "townOpenGarrisonedHero": "Shift+H",
  229. "townOpenHall": "B",
  230. "townOpenHero": "H",
  231. "townOpenHeroExchange": "E",
  232. "townOpenMageGuild": "G",
  233. "townOpenMarket": "M",
  234. "townOpenRecruitment": "R",
  235. "townOpenTavern": "T",
  236. "townOpenThievesGuild": "G",
  237. "townOpenVisitingHero": "Ctrl+H",
  238. "townSwapArmies": "Space",
  239. // Controller-specific
  240. "mouseCursorX": [],
  241. "mouseCursorY": [],
  242. "mouseClickLeft": [],
  243. "mouseClickRight": [],
  244. "mouseSwipeX": [],
  245. "mouseSwipeY": [],
  246. },
  247. "joystickAxes":
  248. {
  249. "mouseCursorX" : "leftx",
  250. "mouseCursorY" : "lefty",
  251. "mouseSwipeX" : "rightx",
  252. "mouseSwipeY" : "righty"
  253. },
  254. "joystickButtons": {
  255. "globalAccept" : "a",
  256. "globalCancel" : "b",
  257. "globalReturn" : [ "a", "b" ],
  258. "lobbyBeginStandardGame" : "a",
  259. "lobbyBeginCampaign" : "a",
  260. "lobbyLoadGame" : "a",
  261. "lobbySaveGame" : "a",
  262. "adventureViewSelected" : "a",
  263. "adventureExitWorldView" : [ "a", "b" ],
  264. "battleTacticsEnd" : "a",
  265. "mouseClickLeft": "x",
  266. "mouseClickRight": "y",
  267. "adventureNextHero" : "leftshoulder",
  268. "battleDefend" : "leftshoulder",
  269. "adventureNextTown" : "rightshoulder",
  270. "battleWait" : "rightshoulder",
  271. "adventureVisitObject" : "lefttrigger",
  272. "battleTacticsNext" : "lefttrigger",
  273. "battleUseCreatureSpell" : "lefttrigger",
  274. "adventureCastSpell" : "righttrigger",
  275. "battleCastSpell" : "righttrigger",
  276. "adventureEndTurn" : "back",
  277. "battleAutocombatEnd" : "back",
  278. "globalOptions" : "start",
  279. "adventureGameOptions" : "start",
  280. "moveUp" : "dpup",
  281. "adventureViewWorld" : "dpup",
  282. "recruitmentUpgrade" : "dpup",
  283. "recruitmentUpgradeAll" : "dpup",
  284. "battleConsoleUp" : "dpup",
  285. "recruitmentMax" : "dpup",
  286. "moveDown" : "dpdown",
  287. "adventureKingdomOverview" : "dpdown",
  288. "battleConsoleDown" : "dpdown",
  289. "recruitmentMin" : "dpdown",
  290. "moveLeft" : "dpleft",
  291. "adventureViewScenario" : "dpleft",
  292. "moveRight" : "dpright",
  293. "adventureThievesGuild" : "dpright",
  294. "adventureToggleMapLevel" : "leftstick",
  295. "battleToggleHeroesStats" : "leftstick",
  296. "adventureToggleGrid" : "rightstick",
  297. "battleToggleQueue" : "rightstick",
  298. }
  299. }