diff options
| author | 2021-12-13 08:52:59 -0500 | |
|---|---|---|
| committer | 2021-12-13 08:53:01 -0500 | |
| commit | 479369db43092089b7a8ace65d4eadd78cb56b00 (patch) | |
| tree | e74aa712f1a45612a0c45da351951f204ce2e99f /src/input_common/input_engine.h | |
| parent | input_engine: Remove unnecessary return (diff) | |
| download | yuzu-479369db43092089b7a8ace65d4eadd78cb56b00.tar.gz yuzu-479369db43092089b7a8ace65d4eadd78cb56b00.tar.xz yuzu-479369db43092089b7a8ace65d4eadd78cb56b00.zip | |
input_engine: Remove unnecessary semi-colons
Silences -Wextra-semi warnings
Diffstat (limited to 'src/input_common/input_engine.h')
| -rw-r--r-- | src/input_common/input_engine.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index fb89f9257..c85c72af8 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h | |||
| @@ -138,36 +138,36 @@ public: | |||
| 138 | /// Used for automapping features | 138 | /// Used for automapping features |
| 139 | virtual std::vector<Common::ParamPackage> GetInputDevices() const { | 139 | virtual std::vector<Common::ParamPackage> GetInputDevices() const { |
| 140 | return {}; | 140 | return {}; |
| 141 | }; | 141 | } |
| 142 | 142 | ||
| 143 | /// Retrieves the button mappings for the given device | 143 | /// Retrieves the button mappings for the given device |
| 144 | virtual InputCommon::ButtonMapping GetButtonMappingForDevice( | 144 | virtual InputCommon::ButtonMapping GetButtonMappingForDevice( |
| 145 | [[maybe_unused]] const Common::ParamPackage& params) { | 145 | [[maybe_unused]] const Common::ParamPackage& params) { |
| 146 | return {}; | 146 | return {}; |
| 147 | }; | 147 | } |
| 148 | 148 | ||
| 149 | /// Retrieves the analog mappings for the given device | 149 | /// Retrieves the analog mappings for the given device |
| 150 | virtual InputCommon::AnalogMapping GetAnalogMappingForDevice( | 150 | virtual InputCommon::AnalogMapping GetAnalogMappingForDevice( |
| 151 | [[maybe_unused]] const Common::ParamPackage& params) { | 151 | [[maybe_unused]] const Common::ParamPackage& params) { |
| 152 | return {}; | 152 | return {}; |
| 153 | }; | 153 | } |
| 154 | 154 | ||
| 155 | /// Retrieves the motion mappings for the given device | 155 | /// Retrieves the motion mappings for the given device |
| 156 | virtual InputCommon::MotionMapping GetMotionMappingForDevice( | 156 | virtual InputCommon::MotionMapping GetMotionMappingForDevice( |
| 157 | [[maybe_unused]] const Common::ParamPackage& params) { | 157 | [[maybe_unused]] const Common::ParamPackage& params) { |
| 158 | return {}; | 158 | return {}; |
| 159 | }; | 159 | } |
| 160 | 160 | ||
| 161 | /// Retrieves the name of the given input. | 161 | /// Retrieves the name of the given input. |
| 162 | virtual Common::Input::ButtonNames GetUIName( | 162 | virtual Common::Input::ButtonNames GetUIName( |
| 163 | [[maybe_unused]] const Common::ParamPackage& params) const { | 163 | [[maybe_unused]] const Common::ParamPackage& params) const { |
| 164 | return Common::Input::ButtonNames::Engine; | 164 | return Common::Input::ButtonNames::Engine; |
| 165 | }; | 165 | } |
| 166 | 166 | ||
| 167 | /// Retrieves the index number of the given hat button direction | 167 | /// Retrieves the index number of the given hat button direction |
| 168 | virtual u8 GetHatButtonId([[maybe_unused]] const std::string& direction_name) const { | 168 | virtual u8 GetHatButtonId([[maybe_unused]] const std::string& direction_name) const { |
| 169 | return 0; | 169 | return 0; |
| 170 | }; | 170 | } |
| 171 | 171 | ||
| 172 | void PreSetController(const PadIdentifier& identifier); | 172 | void PreSetController(const PadIdentifier& identifier); |
| 173 | void PreSetButton(const PadIdentifier& identifier, int button); | 173 | void PreSetButton(const PadIdentifier& identifier, int button); |