diff options
| author | 2022-03-04 11:47:13 -0600 | |
|---|---|---|
| committer | 2022-03-21 19:39:33 -0600 | |
| commit | ee532e5c01f97f30078202ae87a5b2a71e9ce1e4 (patch) | |
| tree | 55e544838b029e4a78a61e38cb085f5668400837 /src/input_common/drivers/sdl_driver.h | |
| parent | Merge pull request #8048 from ameerj/include-purge (diff) | |
| download | yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.gz yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.xz yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.zip | |
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.h | 2 |
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: | |||
| 58 | std::string GetHatButtonName(u8 direction_value) const override; | 58 | std::string GetHatButtonName(u8 direction_value) const override; |
| 59 | u8 GetHatButtonId(const std::string& direction_name) const override; | 59 | u8 GetHatButtonId(const std::string& direction_name) const override; |
| 60 | 60 | ||
| 61 | bool IsStickInverted(const Common::ParamPackage& params) override; | ||
| 62 | |||
| 61 | Common::Input::VibrationError SetRumble( | 63 | Common::Input::VibrationError SetRumble( |
| 62 | const PadIdentifier& identifier, const Common::Input::VibrationStatus& vibration) override; | 64 | const PadIdentifier& identifier, const Common::Input::VibrationStatus& vibration) override; |
| 63 | 65 | ||