diff options
| author | 2018-05-07 09:06:02 -0600 | |
|---|---|---|
| committer | 2018-05-07 11:06:02 -0400 | |
| commit | 266703b50ea61433fa6bba200433040ffd5f7377 (patch) | |
| tree | 35abf16d7d2f9c122692f90fde33e738908c4502 /src/core/settings.h | |
| parent | Merge pull request #434 from lioncash/vdtor (diff) | |
| download | yuzu-266703b50ea61433fa6bba200433040ffd5f7377.tar.gz yuzu-266703b50ea61433fa6bba200433040ffd5f7377.tar.xz yuzu-266703b50ea61433fa6bba200433040ffd5f7377.zip | |
hid: Tweaks, Analog Sticks (#435)
* hid: Update mouse/keyboard state
* hid: Working analog sticks
* hid: Nits
* hid: Nits
* hid: Update mystery sections
* hid: Tweaks
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 2c94caab7..cfec63c21 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -99,6 +99,10 @@ enum Values { | |||
| 99 | NumAnalogs, | 99 | NumAnalogs, |
| 100 | }; | 100 | }; |
| 101 | 101 | ||
| 102 | constexpr int STICK_HID_BEGIN = LStick; | ||
| 103 | constexpr int STICK_HID_END = NumAnalogs; | ||
| 104 | constexpr int NUM_STICKS_HID = NumAnalogs; | ||
| 105 | |||
| 102 | static const std::array<const char*, NumAnalogs> mapping = {{ | 106 | static const std::array<const char*, NumAnalogs> mapping = {{ |
| 103 | "lstick", | 107 | "lstick", |
| 104 | "rstick", | 108 | "rstick", |