summaryrefslogtreecommitdiff
path: root/src/input_common/input_poller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/input_poller.h')
-rw-r--r--src/input_common/input_poller.h10
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:
29 * @param - "pad": slot of the connected controller 29 * @param - "pad": slot of the connected controller
30 * @return an unique ouput device with the parameters specified 30 * @return an unique ouput device with the parameters specified
31 */ 31 */
32 std::unique_ptr<Input::OutputDevice> Create( 32 std::unique_ptr<Input::OutputDevice> Create(const Common::ParamPackage& params) override;
33 const Common::ParamPackage& params) override;
34 33
35private: 34private:
36 std::shared_ptr<InputEngine> input_engine; 35 std::shared_ptr<InputEngine> input_engine;
@@ -41,8 +40,8 @@ public:
41 explicit InputFactory(std::shared_ptr<InputEngine> input_engine_); 40 explicit InputFactory(std::shared_ptr<InputEngine> input_engine_);
42 41
43 /** 42 /**
44 * Creates an input device from the parameters given. Identifies the type of input to be returned 43 * Creates an input device from the parameters given. Identifies the type of input to be
45 * if it contains the following parameters: 44 * returned if it contains the following parameters:
46 * - button: Contains "button" or "code" 45 * - button: Contains "button" or "code"
47 * - hat_button: Contains "hat" 46 * - hat_button: Contains "hat"
48 * - analog: Contains "axis" 47 * - analog: Contains "axis"
@@ -65,8 +64,7 @@ public:
65 * @param - "battery": Only used as a placeholder to set the input type 64 * @param - "battery": Only used as a placeholder to set the input type
66 * @return an unique input device with the parameters specified 65 * @return an unique input device with the parameters specified
67 */ 66 */
68 std::unique_ptr<Input::InputDevice> Create( 67 std::unique_ptr<Input::InputDevice> Create(const Common::ParamPackage& params) override;
69 const Common::ParamPackage& params) override;
70 68
71private: 69private:
72 /** 70 /**