diff options
| author | german77 <juangerman-13@hotmail.com> | 2021-10-15 19:07:47 -0500 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:24 -0600 |
| commit | e0da5c1bbcdf85676f968b63c8ae2587f0464193 (patch) | |
| tree | 588837d1181d6b9d3bd4536fd4d2c5877335632d /src/input_common/helpers/touch_from_buttons.cpp | |
| parent | 06a5ef5874144a70e30e577a83ba68d1dad79e78 (diff) | |
kraken: Fix errors from rebase and format files
Diffstat (limited to 'src/input_common/helpers/touch_from_buttons.cpp')
| -rw-r--r-- | src/input_common/helpers/touch_from_buttons.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_common/helpers/touch_from_buttons.cpp b/src/input_common/helpers/touch_from_buttons.cpp index 6c9046ffb..2abfaf841 100644 --- a/src/input_common/helpers/touch_from_buttons.cpp +++ b/src/input_common/helpers/touch_from_buttons.cpp @@ -57,9 +57,7 @@ private: const Input::AnalogProperties properties{0.0f, 1.0f, 0.5f, 0.0f, false}; }; - -std::unique_ptr<Input::InputDevice> TouchFromButton::Create( - const Common::ParamPackage& params) { +std::unique_ptr<Input::InputDevice> TouchFromButton::Create(const Common::ParamPackage& params) { const std::string null_engine = Common::ParamPackage{{"engine", "null"}}.Serialize(); auto button = Input::CreateDeviceFromString<Input::InputDevice>(params.Get("button", null_engine)); |
