aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/gc_adapter.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-10-21 00:23:12 -0500
committergerman77 <juangerman-13@hotmail.com>2022-10-21 00:24:08 -0500
commit7f66050f0c383a5c7d82c5c58098f819d4e1e0bc (patch)
tree8d449371387a14d7564381037d8deade468ee010 /src/input_common/drivers/gc_adapter.h
parent6b71530fa8d3ce811537110a42dc8cd554629fb2 (diff)
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;