diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-16 02:07:47 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:24 +0100 |
commit | e0da5c1bbcdf85676f968b63c8ae2587f0464193 (patch) | |
tree | 588837d1181d6b9d3bd4536fd4d2c5877335632d /src/input_common/input_poller.h | |
parent | core/hid: Add output devices (diff) | |
download | yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.tar yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.tar.gz yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.tar.bz2 yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.tar.lz yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.tar.xz yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.tar.zst yuzu-e0da5c1bbcdf85676f968b63c8ae2587f0464193.zip |
Diffstat (limited to 'src/input_common/input_poller.h')
-rw-r--r-- | src/input_common/input_poller.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/input_common/input_poller.h b/src/input_common/input_poller.h index 16cade5fa..1357e104b 100644 --- a/src/input_common/input_poller.h +++ b/src/input_common/input_poller.h @@ -29,8 +29,7 @@ public: * @param - "pad": slot of the connected controller * @return an unique ouput device with the parameters specified */ - std::unique_ptr<Input::OutputDevice> Create( - const Common::ParamPackage& params) override; + std::unique_ptr<Input::OutputDevice> Create(const Common::ParamPackage& params) override; private: std::shared_ptr<InputEngine> input_engine; @@ -41,8 +40,8 @@ public: explicit InputFactory(std::shared_ptr<InputEngine> input_engine_); /** - * Creates an input device from the parameters given. Identifies the type of input to be returned - * if it contains the following parameters: + * Creates an input device from the parameters given. Identifies the type of input to be + * returned if it contains the following parameters: * - button: Contains "button" or "code" * - hat_button: Contains "hat" * - analog: Contains "axis" @@ -65,8 +64,7 @@ public: * @param - "battery": Only used as a placeholder to set the input type * @return an unique input device with the parameters specified */ - std::unique_ptr<Input::InputDevice> Create( - const Common::ParamPackage& params) override; + std::unique_ptr<Input::InputDevice> Create(const Common::ParamPackage& params) override; private: /** |