keyBindingsConfig.json 12 KB

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