diff options
Diffstat (limited to 'src/input_common/input_engine.h')
| -rw-r--r-- | src/input_common/input_engine.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index f44e0799b..13295bd49 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | // Copyright 2021 yuzu Emulator Project | 1 | // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project |
| 2 | // Licensed under GPLv2 or any later version | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | // Refer to the license.txt file included | ||
| 4 | 3 | ||
| 5 | #pragma once | 4 | #pragma once |
| 6 | 5 | ||
| @@ -157,6 +156,11 @@ public: | |||
| 157 | return 0; | 156 | return 0; |
| 158 | } | 157 | } |
| 159 | 158 | ||
| 159 | /// Returns true if axis of a stick aren't mapped in the correct direction | ||
| 160 | virtual bool IsStickInverted([[maybe_unused]] const Common::ParamPackage& params) { | ||
| 161 | return false; | ||
| 162 | } | ||
| 163 | |||
| 160 | void PreSetController(const PadIdentifier& identifier); | 164 | void PreSetController(const PadIdentifier& identifier); |
| 161 | void PreSetButton(const PadIdentifier& identifier, int button); | 165 | void PreSetButton(const PadIdentifier& identifier, int button); |
| 162 | void PreSetHatButton(const PadIdentifier& identifier, int button); | 166 | void PreSetHatButton(const PadIdentifier& identifier, int button); |