summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/sdl_driver.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-04-21 22:21:59 -0700
committerGitHub <noreply@github.com>2022-04-21 22:21:59 -0700
commit764e5c7fe50bbbc64898fb657cfc5b1f8360454b (patch)
treeee42eede68cb935595769104e0b94d55b1530141 /src/input_common/drivers/sdl_driver.h
parenta1ee9799bcd6cbf7c68733136fe7acbebf33a71a (diff)
parentee532e5c01f97f30078202ae87a5b2a71e9ce1e4 (diff)
Merge pull request #7978 from german77/sideway
input_common: Map sticks correctly when mapped sideways
Diffstat (limited to 'src/input_common/drivers/sdl_driver.h')
-rw-r--r--src/input_common/drivers/sdl_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/drivers/sdl_driver.h b/src/input_common/drivers/sdl_driver.h
index 4cde3606f..dcd0d1e64 100644
--- a/src/input_common/drivers/sdl_driver.h
+++ b/src/input_common/drivers/sdl_driver.h
@@ -58,6 +58,8 @@ public:
std::string GetHatButtonName(u8 direction_value) const override;
u8 GetHatButtonId(const std::string& direction_name) const override;
+ bool IsStickInverted(const Common::ParamPackage& params) override;
+
Common::Input::VibrationError SetRumble(
const PadIdentifier& identifier, const Common::Input::VibrationStatus& vibration) override;