summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar german772023-11-11 20:54:06 -0600
committerGravatar german772023-11-11 21:03:15 -0600
commitae57a99d7d2063661cc15e76e8183122d8e0bc1b (patch)
tree206b82f9387b93dbdc08408ceff88c24814f3237 /src/common
parentMerge pull request #11980 from german77/moment (diff)
downloadyuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.gz
yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.tar.xz
yuzu-ae57a99d7d2063661cc15e76e8183122d8e0bc1b.zip
core: hid: Split SL and SR buttons
Diffstat (limited to '')
-rw-r--r--src/common/settings_input.cpp9
-rw-r--r--src/common/settings_input.h7
2 files changed, 10 insertions, 6 deletions
diff --git a/src/common/settings_input.cpp b/src/common/settings_input.cpp
index 0a6eea3cf..a6007e7b2 100644
--- a/src/common/settings_input.cpp
+++ b/src/common/settings_input.cpp
@@ -6,10 +6,11 @@
6namespace Settings { 6namespace Settings {
7namespace NativeButton { 7namespace NativeButton {
8const std::array<const char*, NumButtons> mapping = {{ 8const std::array<const char*, NumButtons> mapping = {{
9 "button_a", "button_b", "button_x", "button_y", "button_lstick", 9 "button_a", "button_b", "button_x", "button_y", "button_lstick",
10 "button_rstick", "button_l", "button_r", "button_zl", "button_zr", 10 "button_rstick", "button_l", "button_r", "button_zl", "button_zr",
11 "button_plus", "button_minus", "button_dleft", "button_dup", "button_dright", 11 "button_plus", "button_minus", "button_dleft", "button_dup", "button_dright",
12 "button_ddown", "button_sl", "button_sr", "button_home", "button_screenshot", 12 "button_ddown", "button_slleft", "button_srleft", "button_home", "button_screenshot",
13 "button_slright", "button_srright",
13}}; 14}};
14} 15}
15 16
diff --git a/src/common/settings_input.h b/src/common/settings_input.h
index 46f38c703..53a95ef8f 100644
--- a/src/common/settings_input.h
+++ b/src/common/settings_input.h
@@ -29,12 +29,15 @@ enum Values : int {
29 DRight, 29 DRight,
30 DDown, 30 DDown,
31 31
32 SL, 32 SLLeft,
33 SR, 33 SRLeft,
34 34
35 Home, 35 Home,
36 Screenshot, 36 Screenshot,
37 37
38 SLRight,
39 SRRight,
40
38 NumButtons, 41 NumButtons,
39}; 42};
40 43