diff options
| author | german77 <juangerman-13@hotmail.com> | 2024-02-24 12:13:47 -0600 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2024-02-24 12:19:51 -0600 |
| commit | ca7f949ee84a7f15990c9e09f2de9ea54b8f997a (patch) | |
| tree | 9632df004486acd6c28e2f4ff5dfdb463f8c0c43 /src/hid_core/frontend/emulated_controller.h | |
| parent | 4741e5004713695e04e726ab54f7204b4fce5db9 (diff) | |
core: hid: Reintroduce vibration filter
Diffstat (limited to 'src/hid_core/frontend/emulated_controller.h')
| -rw-r--r-- | src/hid_core/frontend/emulated_controller.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hid_core/frontend/emulated_controller.h b/src/hid_core/frontend/emulated_controller.h index ab3c6fcd3..17ad6069e 100644 --- a/src/hid_core/frontend/emulated_controller.h +++ b/src/hid_core/frontend/emulated_controller.h @@ -583,6 +583,7 @@ private: std::size_t nfc_handles{0}; 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{}; // Temporary values to avoid doing changes while the controller is in configuring mode NpadStyleIndex tmp_npad_type{NpadStyleIndex::None}; |
