|
|
@ -20,6 +20,7 @@ |
|
|
#include "common/settings.h" |
|
|
#include "common/settings.h" |
|
|
#include "common/vector_math.h" |
|
|
#include "common/vector_math.h" |
|
|
#include "hid_core/frontend/motion_input.h" |
|
|
#include "hid_core/frontend/motion_input.h" |
|
|
|
|
|
#include "hid_core/hid_core.h" |
|
|
#include "hid_core/hid_types.h" |
|
|
#include "hid_core/hid_types.h" |
|
|
#include "hid_core/irsensor/irs_types.h" |
|
|
#include "hid_core/irsensor/irs_types.h" |
|
|
|
|
|
|
|
|
@ -588,6 +589,7 @@ private: |
|
|
std::array<VibrationValue, 2> last_vibration_value{DEFAULT_VIBRATION_VALUE, |
|
|
std::array<VibrationValue, 2> last_vibration_value{DEFAULT_VIBRATION_VALUE, |
|
|
DEFAULT_VIBRATION_VALUE}; |
|
|
DEFAULT_VIBRATION_VALUE}; |
|
|
std::array<std::chrono::steady_clock::time_point, 2> last_vibration_timepoint{}; |
|
|
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 |
|
|
// Temporary values to avoid doing changes while the controller is in configuring mode |
|
|
NpadStyleIndex tmp_npad_type{NpadStyleIndex::None}; |
|
|
NpadStyleIndex tmp_npad_type{NpadStyleIndex::None}; |
|
|
|