mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Some checks failed
checkrefs / lfscheck (push) Has been cancelled
checkrefs / checkrefs (push) Has been cancelled
lint / cppcheck (push) Has been cancelled
lint / copyright (push) Has been cancelled
lint / jenkinsfiles (push) Has been cancelled
pre-commit / build (push) Has been cancelled
Add registerGlobalGuiPageHotkeys() to common/functions_utility.js to selectively register GUI page hotkeys Allow active GUI pages to close using their corresponding hotkey Move page_hotkeys.xml from gui/hotkeys/ to gui/ Update page_hotkeys.xml references in MainMenuItems and MenuButtons Add default tipScrolling fallback in TipsPage when no initData is provided
144 lines
3.6 KiB
JSON
144 lines
3.6 KiB
JSON
{
|
||
"categories": {
|
||
"general": {
|
||
"name": "General",
|
||
"desc": "General hotkeys."
|
||
}
|
||
},
|
||
"mapped_hotkeys": {
|
||
"general": {
|
||
"cancel": {
|
||
"name": "Close/Cancel",
|
||
"desc": "Close or cancel the current dialog box/popup."
|
||
},
|
||
"confirm": {
|
||
"name": "Confirm",
|
||
"desc": "Confirm the current command."
|
||
},
|
||
"pause": {
|
||
"name": "Pause/Unpause",
|
||
"desc": "Pause/Unpause the game."
|
||
},
|
||
"screenshot": {
|
||
"name": "Screenshot",
|
||
"desc": "Take PNG screenshot."
|
||
},
|
||
"bigscreenshot": {
|
||
"name": "Big screenshot",
|
||
"desc": "Take large BMP screenshot."
|
||
},
|
||
"togglefullscreen": {
|
||
"name": "Toggle Fullscreen",
|
||
"desc": "Toggle fullscreen/windowed mode."
|
||
},
|
||
"screenshot.watermark": {
|
||
"name": "Toggle watermark",
|
||
"desc": "Toggle product/company watermark for official screenshots."
|
||
},
|
||
"wireframe": {
|
||
"name": "Toggle wireframe mode",
|
||
"desc": "Toggle wireframe mode."
|
||
},
|
||
"copy": {
|
||
"name": "Copy to clipboard",
|
||
"desc": "Copy to clipboard."
|
||
},
|
||
"paste": {
|
||
"name": "Paste from clipboard",
|
||
"desc": "Paste from clipboard."
|
||
},
|
||
"cut": {
|
||
"name": "Cut to clipboard",
|
||
"desc": "Cut selected text and copy to the clipboard."
|
||
},
|
||
"exit": {
|
||
"name": "Custom exit to desktop",
|
||
"desc": "Custom hotkey to trigger exit-to-desktop. The native hotkeys (Alt+F4 / Cmd+Q / etc.) are always active."
|
||
},
|
||
"console.toggle": {
|
||
"name": "Toggle Console",
|
||
"desc": "Toggle the console."
|
||
},
|
||
"profile.toggle": {
|
||
"name": "Toggle profiler",
|
||
"desc": "Toggle the real-time profiler."
|
||
},
|
||
"profile.save": {
|
||
"name": "Save profile",
|
||
"desc": "Save current profiler data to logs/profile.txt."
|
||
},
|
||
"profile2.toggle": {
|
||
"name": "Toggle profiler2",
|
||
"desc": "Toggle HTTP/GPU modes for new profiler."
|
||
},
|
||
"tab.next": {
|
||
"name": "Next tab",
|
||
"desc": "Show the next tab."
|
||
},
|
||
"tab.prev": {
|
||
"name": "Previous tab",
|
||
"desc": "Show the previous tab."
|
||
},
|
||
"item.next": {
|
||
"name": "Next item",
|
||
"desc": "Show the next item."
|
||
},
|
||
"item.prev": {
|
||
"name": "Previous item",
|
||
"desc": "Show the previous item."
|
||
},
|
||
"text.delete.left": {
|
||
"name": "Delete before cursor",
|
||
"desc": "Delete word to the left of cursor."
|
||
},
|
||
"text.delete.right": {
|
||
"name": "Delete after cursor",
|
||
"desc": "Delete word to the right of cursor."
|
||
},
|
||
"text.move.left": {
|
||
"name": "Move cursor to left word",
|
||
"desc": "Move cursor to start of word to the left of cursor."
|
||
},
|
||
"text.move.right": {
|
||
"name": "Move cursor to right word",
|
||
"desc": "Move cursor to start of word to the right of cursor."
|
||
},
|
||
"mousegrabtoggle": {
|
||
"name": "Toggle mouse grab",
|
||
"desc": "Constrain to window boundaries or release the mouse."
|
||
},
|
||
"structree": {
|
||
"name": "Open Structure Tree window",
|
||
"desc": "Open Structure Tree window."
|
||
},
|
||
"civinfo": {
|
||
"name": "Open Civilization Overview window",
|
||
"desc": "Open Civilization Overview window."
|
||
},
|
||
"catafalque": {
|
||
"name": "Open Catafalque Overview",
|
||
"desc": "Open Catafalque Overview window."
|
||
},
|
||
"mapbrowser": {
|
||
"name": "Open Map Browser window",
|
||
"desc": "Open Map Browser window."
|
||
},
|
||
"manual": {
|
||
"name": "Open the 0 A.D. Game Manual",
|
||
"desc": "Open the 0 A.D. Game Manual."
|
||
},
|
||
"tips": {
|
||
"name": "Open Tips and Tricks window",
|
||
"desc": "Open Tips and Tricks window."
|
||
},
|
||
"hotkeys": {
|
||
"name": "Open Hotkeys window",
|
||
"desc": "Open Hotkeys window."
|
||
},
|
||
"options": {
|
||
"name": "Open Options window",
|
||
"desc": "Open Options window."
|
||
}
|
||
}
|
||
}
|
||
}
|