diff options
author | Max Thomas <mtinc2@gmail.com> | 2018-05-07 09:06:02 -0600 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-05-07 11:06:02 -0400 |
commit | 266703b50ea61433fa6bba200433040ffd5f7377 (patch) | |
tree | 35abf16d7d2f9c122692f90fde33e738908c4502 /src/core/settings.h | |
parent | 9eccb5de9d8f034442f8255fa6b17f939fe9a00d (diff) |
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 { NumAnalogs, }; +constexpr int STICK_HID_BEGIN = LStick; +constexpr int STICK_HID_END = NumAnalogs; +constexpr int NUM_STICKS_HID = NumAnalogs; + static const std::array<const char*, NumAnalogs> mapping = {{ "lstick", "rstick", |