aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/uisettings.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-15 17:57:41 -0600
committergerman77 <juangerman-13@hotmail.com>2022-01-06 21:26:05 -0600
commit72c8a94a6cdb4d3f322fa6d4b06eab824f53dba6 (patch)
tree1be3b99cfa76a7e7c360fa467d8ea6de69a29dc8 /src/yuzu/uisettings.h
parentb94e947793dcb53e9e00ef8bf587b2f689d38d41 (diff)
yuzu: Add controller hotkeys
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r--src/yuzu/uisettings.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h
index a610e7e25..402c4556d 100644
--- a/src/yuzu/uisettings.h
+++ b/src/yuzu/uisettings.h
@@ -17,7 +17,11 @@
namespace UISettings {
-using ContextualShortcut = std::pair<QString, int>;
+struct ContextualShortcut {
+ QString keyseq;
+ QString controller_keyseq;
+ int context;
+};
struct Shortcut {
QString name;