diff options
| author | 2018-01-15 13:09:14 -0500 | |
|---|---|---|
| committer | 2018-01-15 13:09:14 -0500 | |
| commit | 8e2f62c6a59f12be521b46c347f7efd8bf6a025d (patch) | |
| tree | ad59a1303181fc9cb8b5c474349980f115b05874 /src | |
| parent | Merge pull request #17 from spycrab/bindir (diff) | |
| download | yuzu-8e2f62c6a59f12be521b46c347f7efd8bf6a025d.tar.gz yuzu-8e2f62c6a59f12be521b46c347f7efd8bf6a025d.tar.xz yuzu-8e2f62c6a59f12be521b46c347f7efd8bf6a025d.zip | |
settings: Fix button mappings array to have correct entries.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/settings.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index bd9a3d9fe..56fb189ae 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -79,11 +79,16 @@ static const std::array<const char*, NumButtons> mapping = {{ | |||
| 79 | "button_lstick_up", | 79 | "button_lstick_up", |
| 80 | "button_lstick_right", | 80 | "button_lstick_right", |
| 81 | "button_lstick_down", | 81 | "button_lstick_down", |
| 82 | "button_rstick_left", | ||
| 83 | "button_rstick_up", | ||
| 84 | "button_rstick_right", | ||
| 85 | "button_rstick_down", | ||
| 82 | "button_sl", | 86 | "button_sl", |
| 83 | "button_sr", | 87 | "button_sr", |
| 84 | "button_home", | 88 | "button_home", |
| 85 | "button_screenshot", | 89 | "button_screenshot", |
| 86 | }}; | 90 | }}; |
| 91 | |||
| 87 | } // namespace NativeButton | 92 | } // namespace NativeButton |
| 88 | 93 | ||
| 89 | namespace NativeAnalog { | 94 | namespace NativeAnalog { |
| @@ -95,8 +100,7 @@ enum Values { | |||
| 95 | }; | 100 | }; |
| 96 | 101 | ||
| 97 | static const std::array<const char*, NumAnalogs> mapping = {{ | 102 | static const std::array<const char*, NumAnalogs> mapping = {{ |
| 98 | "lstick", | 103 | "lstick", "rstick", |
| 99 | "rstick", | ||
| 100 | }}; | 104 | }}; |
| 101 | } // namespace NativeAnalog | 105 | } // namespace NativeAnalog |
| 102 | 106 | ||