Browse Source

input_engine: Remove unnecessary semi-colons

Silences -Wextra-semi warnings
nce_cpp
Lioncash 4 years ago
parent
commit
7e34562d34
  1. 12
      src/input_common/input_engine.h

12
src/input_common/input_engine.h

@ -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);

Loading…
Cancel
Save