1
0
Fork 0
forked from suyu/suyu

input_engine: Remove unnecessary semi-colons

Silences -Wextra-semi warnings
This commit is contained in:
Lioncash 2021-12-13 08:52:59 -05:00
parent 3c618a3306
commit 479369db43

View file

@ -138,36 +138,36 @@ public:
/// Used for automapping features /// Used for automapping features
virtual std::vector<Common::ParamPackage> GetInputDevices() const { virtual std::vector<Common::ParamPackage> GetInputDevices() const {
return {}; return {};
}; }
/// Retrieves the button mappings for the given device /// Retrieves the button mappings for the given device
virtual InputCommon::ButtonMapping GetButtonMappingForDevice( virtual InputCommon::ButtonMapping GetButtonMappingForDevice(
[[maybe_unused]] const Common::ParamPackage& params) { [[maybe_unused]] const Common::ParamPackage& params) {
return {}; return {};
}; }
/// Retrieves the analog mappings for the given device /// Retrieves the analog mappings for the given device
virtual InputCommon::AnalogMapping GetAnalogMappingForDevice( virtual InputCommon::AnalogMapping GetAnalogMappingForDevice(
[[maybe_unused]] const Common::ParamPackage& params) { [[maybe_unused]] const Common::ParamPackage& params) {
return {}; return {};
}; }
/// Retrieves the motion mappings for the given device /// Retrieves the motion mappings for the given device
virtual InputCommon::MotionMapping GetMotionMappingForDevice( virtual InputCommon::MotionMapping GetMotionMappingForDevice(
[[maybe_unused]] const Common::ParamPackage& params) { [[maybe_unused]] const Common::ParamPackage& params) {
return {}; return {};
}; }
/// Retrieves the name of the given input. /// Retrieves the name of the given input.
virtual Common::Input::ButtonNames GetUIName( virtual Common::Input::ButtonNames GetUIName(
[[maybe_unused]] const Common::ParamPackage& params) const { [[maybe_unused]] const Common::ParamPackage& params) const {
return Common::Input::ButtonNames::Engine; return Common::Input::ButtonNames::Engine;
}; }
/// Retrieves the index number of the given hat button direction /// Retrieves the index number of the given hat button direction
virtual u8 GetHatButtonId([[maybe_unused]] const std::string& direction_name) const { virtual u8 GetHatButtonId([[maybe_unused]] const std::string& direction_name) const {
return 0; return 0;
}; }
void PreSetController(const PadIdentifier& identifier); void PreSetController(const PadIdentifier& identifier);
void PreSetButton(const PadIdentifier& identifier, int button); void PreSetButton(const PadIdentifier& identifier, int button);