diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-10-25 12:13:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 12:13:18 -0400 |
commit | 77803d96be3f6ec590b63966359b8f5fa56013db (patch) | |
tree | 1c6b80a6ee305d457319ccacd71de333eaaf43f9 /src/input_common/input_poller.cpp | |
parent | fa913a702f94818fcddf4ffd3aaded41a41b3a3b (diff) | |
parent | 7f66050f0c383a5c7d82c5c58098f819d4e1e0bc (diff) |
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 ccc3076ca4..4ac1821473 100644 --- a/src/input_common/input_poller.cpp +++ b/src/input_common/input_poller.cpp @@ -763,7 +763,11 @@ public: Common::Input::VibrationError SetVibration( const Common::Input::VibrationStatus& vibration_status) override { - return input_engine->SetRumble(identifier, vibration_status); + return input_engine->SetVibration(identifier, vibration_status); + } + + bool IsVibrationEnabled() override { + return input_engine->IsVibrationEnabled(identifier); } Common::Input::PollingError SetPollingMode(Common::Input::PollingMode polling_mode) override { |