hid: Tweaks, Analog Sticks (#435)

* hid: Update mouse/keyboard state

* hid: Working analog sticks

* hid: Nits

* hid: Nits

* hid: Update mystery sections

* hid: Tweaks
This commit is contained in:
Max Thomas 2018-05-07 09:06:02 -06:00 committed by bunnei
parent 9eccb5de9d
commit 266703b50e
3 changed files with 215 additions and 59 deletions

View file

@ -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",