summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/gc_adapter.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-25 12:13:18 -0400
committerGitHub <noreply@github.com>2022-10-25 12:13:18 -0400
commit77803d96be3f6ec590b63966359b8f5fa56013db (patch)
tree1c6b80a6ee305d457319ccacd71de333eaaf43f9 /src/input_common/drivers/gc_adapter.h
parentfa913a702f94818fcddf4ffd3aaded41a41b3a3b (diff)
parent7f66050f0c383a5c7d82c5c58098f819d4e1e0bc (diff)
Merge pull request #9107 from german77/gidoly_rules
input_common: cache vibration tests
Diffstat (limited to 'src/input_common/drivers/gc_adapter.h')
-rw-r--r--src/input_common/drivers/gc_adapter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input_common/drivers/gc_adapter.h b/src/input_common/drivers/gc_adapter.h
index 8682da847..7f81767f7 100644
--- a/src/input_common/drivers/gc_adapter.h
+++ b/src/input_common/drivers/gc_adapter.h
@@ -25,9 +25,11 @@ public:
explicit GCAdapter(std::string input_engine_);
~GCAdapter() override;
- Common::Input::VibrationError SetRumble(
+ Common::Input::VibrationError SetVibration(
const PadIdentifier& identifier, const Common::Input::VibrationStatus& vibration) override;
+ bool IsVibrationEnabled(const PadIdentifier& identifier) override;
+
/// Used for automapping features
std::vector<Common::ParamPackage> GetInputDevices() const override;
ButtonMapping GetButtonMappingForDevice(const Common::ParamPackage& params) override;