diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-11 00:43:11 -0500 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:24 -0600 |
commit | 06a5ef5874144a70e30e577a83ba68d1dad79e78 (patch) | |
tree | 867fa1153c7285c858cdb5bd7f60f08266532a88 /src/input_common/helpers/stick_from_buttons.cpp | |
parent | e14ae06391ac724e4be4557df0568846687a3662 (diff) |
core/hid: Add output devices
Diffstat (limited to 'src/input_common/helpers/stick_from_buttons.cpp')
-rw-r--r-- | src/input_common/helpers/stick_from_buttons.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_common/helpers/stick_from_buttons.cpp b/src/input_common/helpers/stick_from_buttons.cpp index 38f1507462..89ba4aeb12 100644 --- a/src/input_common/helpers/stick_from_buttons.cpp +++ b/src/input_common/helpers/stick_from_buttons.cpp @@ -251,7 +251,8 @@ private: std::chrono::time_point<std::chrono::steady_clock> last_update; }; -std::unique_ptr<Input::InputDevice> StickFromButton::Create(const Common::ParamPackage& params) { +std::unique_ptr<Input::InputDevice> StickFromButton::Create( + const Common::ParamPackage& params) { const std::string null_engine = Common::ParamPackage{{"engine", "null"}}.Serialize(); auto up = Input::CreateDeviceFromString<Input::InputDevice>(params.Get("up", null_engine)); auto down = Input::CreateDeviceFromString<Input::InputDevice>(params.Get("down", null_engine)); |