diff options
author | James Rowe <jroweboy@gmail.com> | 2015-06-20 04:34:45 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2015-07-27 21:41:21 -0600 |
commit | 1bc7829ee9f8bb73c92c7be672a77308ea44fe70 (patch) | |
tree | d3b17dcb11dd8ab39c92c7bac9a9dc61c5cf44ba /src/core/hle/service/hid/hid.h | |
parent | 453764aefc3b822d08dae3642fab83ea1adf2bc8 (diff) |
Move input values into an array
Diffstat (limited to 'src/core/hle/service/hid/hid.h')
-rw-r--r-- | src/core/hle/service/hid/hid.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index d50d479f..517f4f2a 100644 --- a/src/core/hle/service/hid/hid.h +++ b/src/core/hle/service/hid/hid.h @@ -9,7 +9,7 @@ #ifndef _MSC_VER #include <cstddef> #endif - +#include "core/settings.h" #include "common/bit_field.h" #include "common/common_funcs.h" #include "common/common_types.h" @@ -157,6 +157,9 @@ const PadState PAD_CIRCLE_LEFT = {{1u << 29}}; const PadState PAD_CIRCLE_UP = {{1u << 30}}; const PadState PAD_CIRCLE_DOWN = {{1u << 31}}; + +extern const std::array<Service::HID::PadState, Settings::NativeInput::NUM_INPUTS> pad_mapping; + /** * HID::GetIPCHandles service function * Inputs: |