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 75e826199f
commit 62287f8ee7
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;