summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/debug_pad.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-02 03:01:11 +0100
committerZach Hilman <zachhilman@gmail.com>2018-11-19 05:22:36 +0100
commit06cf050c0a541bc0bf9b4ca41fdec75f133c91d3 (patch)
treef71861b3bcec9a23091f476c4ebefd6d40cd8cb9 /src/core/hle/service/hid/controllers/debug_pad.h
parentyuzu/config: Add (de-)serialization for multiplayer (diff)
downloadyuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.tar
yuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.tar.gz
yuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.tar.bz2
yuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.tar.lz
yuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.tar.xz
yuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.tar.zst
yuzu-06cf050c0a541bc0bf9b4ca41fdec75f133c91d3.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/debug_pad.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/debug_pad.h b/src/core/hle/service/hid/controllers/debug_pad.h
index a41564b4d..68b734248 100644
--- a/src/core/hle/service/hid/controllers/debug_pad.h
+++ b/src/core/hle/service/hid/controllers/debug_pad.h
@@ -9,7 +9,9 @@
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/swap.h"
+#include "core/frontend/input.h"
#include "core/hle/service/hid/controllers/controller_base.h"
+#include "core/settings.h"
namespace Service::HID {
class Controller_DebugPad final : public ControllerBase {
@@ -82,5 +84,10 @@ private:
};
static_assert(sizeof(SharedMemory) == 0x400, "SharedMemory is an invalid size");
SharedMemory shared_memory{};
+
+ std::array<std::unique_ptr<Input::ButtonDevice>, Settings::NativeButton::NUM_BUTTONS_HID>
+ buttons;
+ std::array<std::unique_ptr<Input::AnalogDevice>, Settings::NativeAnalog::NUM_STICKS_HID>
+ analogs;
};
} // namespace Service::HID