diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-03-04 18:47:13 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-03-22 02:39:33 +0100 |
commit | ee532e5c01f97f30078202ae87a5b2a71e9ce1e4 (patch) | |
tree | 55e544838b029e4a78a61e38cb085f5668400837 /src/input_common/input_engine.h | |
parent | Merge pull request #8048 from ameerj/include-purge (diff) | |
download | yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.gz yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.bz2 yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.lz yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.xz yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.tar.zst yuzu-ee532e5c01f97f30078202ae87a5b2a71e9ce1e4.zip |
Diffstat (limited to 'src/input_common/input_engine.h')
-rw-r--r-- | src/input_common/input_engine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index f44e0799b..f94b7669c 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h @@ -157,6 +157,11 @@ public: return 0; } + /// Returns true if axis of a stick aren't mapped in the correct direction + virtual bool IsStickInverted([[maybe_unused]] const Common::ParamPackage& params) { + return false; + } + void PreSetController(const PadIdentifier& identifier); void PreSetButton(const PadIdentifier& identifier, int button); void PreSetHatButton(const PadIdentifier& identifier, int button); |