diff options
| author | Dolphin Bot <dolphin-emu-bot@users.noreply.github.com> | 2016-04-23 21:59:06 +0200 |
|---|---|---|
| committer | Dolphin Bot <dolphin-emu-bot@users.noreply.github.com> | 2016-04-23 21:59:06 +0200 |
| commit | 21e56b5ce1c3628e4d9fe1f93d19674e819c40ad (patch) | |
| tree | d9bac97a7c78ccf5e990f3c116e35d50fc2684e6 /Source/Core/InputCommon/ControllerInterface/XInput/XInput.h | |
| parent | bdb9da21041fdcefa4504c28259647eea910e36c (diff) | |
| parent | fcd5170cff5614f6585c11fa22e2a8d986de4055 (diff) | |
Merge pull request #3790 from mimimi085181/fix-xbox-one-rumble-test1
XInput: Apply Rumble/Motor output only on changes (again)
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/XInput/XInput.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/XInput/XInput.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h index 59a3f6ff79..012e99eba2 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h @@ -90,7 +90,8 @@ public: private: XINPUT_STATE m_state_in; - XINPUT_VIBRATION m_state_out; + XINPUT_VIBRATION m_state_out{}; + XINPUT_VIBRATION m_current_state_out{}; const BYTE m_subtype; const u8 m_index; }; |
