yuzu: Make hotkeys configurable via the GUI

* Adds a new Hotkeys tab in the Controls group.
* Double-click a Hotkey to rebind it.
This commit is contained in:
Adityarup Laha
2019-02-16 16:19:29 +01:00
committed by fearlessTobi
parent 06ac6460d3
commit 57a4a2ae0f
23 changed files with 426 additions and 208 deletions

View File

@ -15,7 +15,12 @@
namespace UISettings {
using ContextualShortcut = std::pair<QString, int>;
using Shortcut = std::pair<QString, ContextualShortcut>;
struct Shortcut {
QString name;
QString group;
ContextualShortcut shortcut;
};
using Themes = std::array<std::pair<const char*, const char*>, 2>;
extern const Themes themes;