diff options
| author | 2022-10-25 12:13:18 -0400 | |
|---|---|---|
| committer | 2022-10-25 12:13:18 -0400 | |
| commit | 77803d96be3f6ec590b63966359b8f5fa56013db (patch) | |
| tree | 1c6b80a6ee305d457319ccacd71de333eaaf43f9 /src/input_common/input_poller.cpp | |
| parent | Merge pull request #9112 from vonchenplus/deferred_draw (diff) | |
| parent | input_common: cache vibration tests (diff) | |
| download | yuzu-77803d96be3f6ec590b63966359b8f5fa56013db.tar.gz yuzu-77803d96be3f6ec590b63966359b8f5fa56013db.tar.xz yuzu-77803d96be3f6ec590b63966359b8f5fa56013db.zip | |
Merge pull request #9107 from german77/gidoly_rules
input_common: cache vibration tests
Diffstat (limited to 'src/input_common/input_poller.cpp')
| -rw-r--r-- | src/input_common/input_poller.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cpp index ccc3076ca..4ac182147 100644 --- a/src/input_common/input_poller.cpp +++ b/src/input_common/input_poller.cpp | |||
| @@ -763,7 +763,11 @@ public: | |||
| 763 | 763 | ||
| 764 | Common::Input::VibrationError SetVibration( | 764 | Common::Input::VibrationError SetVibration( |
| 765 | const Common::Input::VibrationStatus& vibration_status) override { | 765 | const Common::Input::VibrationStatus& vibration_status) override { |
| 766 | return input_engine->SetRumble(identifier, vibration_status); | 766 | return input_engine->SetVibration(identifier, vibration_status); |
| 767 | } | ||
| 768 | |||
| 769 | bool IsVibrationEnabled() override { | ||
| 770 | return input_engine->IsVibrationEnabled(identifier); | ||
| 767 | } | 771 | } |
| 768 | 772 | ||
| 769 | Common::Input::PollingError SetPollingMode(Common::Input::PollingMode polling_mode) override { | 773 | Common::Input::PollingError SetPollingMode(Common::Input::PollingMode polling_mode) override { |