aboutsummaryrefslogtreecommitdiff
path: root/src/hid_core/frontend/emulated_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hid_core/frontend/emulated_controller.h')
-rw-r--r--src/hid_core/frontend/emulated_controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hid_core/frontend/emulated_controller.h b/src/hid_core/frontend/emulated_controller.h
index 677b363157..8e8293ff36 100644
--- a/src/hid_core/frontend/emulated_controller.h
+++ b/src/hid_core/frontend/emulated_controller.h
@@ -20,6 +20,7 @@
#include "common/settings.h"
#include "common/vector_math.h"
#include "hid_core/frontend/motion_input.h"
+#include "hid_core/hid_core.h"
#include "hid_core/hid_types.h"
#include "hid_core/irsensor/irs_types.h"
@@ -588,6 +589,7 @@ private:
std::array<VibrationValue, 2> last_vibration_value{DEFAULT_VIBRATION_VALUE,
DEFAULT_VIBRATION_VALUE};
std::array<std::chrono::steady_clock::time_point, 2> last_vibration_timepoint{};
+ std::array<bool, HIDCore::available_controllers - 2> controller_connected{};
// Temporary values to avoid doing changes while the controller is in configuring mode
NpadStyleIndex tmp_npad_type{NpadStyleIndex::None};