diff options
Diffstat (limited to 'src/input_common/input_poller.h')
| -rw-r--r-- | src/input_common/input_poller.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/input_common/input_poller.h b/src/input_common/input_poller.h index 6ebe0dbf5..4410a8415 100644 --- a/src/input_common/input_poller.h +++ b/src/input_common/input_poller.h | |||
| @@ -211,6 +211,17 @@ private: | |||
| 211 | */ | 211 | */ |
| 212 | std::unique_ptr<Common::Input::InputDevice> CreateMotionDevice(Common::ParamPackage params); | 212 | std::unique_ptr<Common::Input::InputDevice> CreateMotionDevice(Common::ParamPackage params); |
| 213 | 213 | ||
| 214 | /** | ||
| 215 | * Creates a camera device from the parameters given. | ||
| 216 | * @param params contains parameters for creating the device: | ||
| 217 | * - "guid": text string for identifying controllers | ||
| 218 | * - "port": port of the connected device | ||
| 219 | * - "pad": slot of the connected controller | ||
| 220 | * @returns a unique input device with the parameters specified | ||
| 221 | */ | ||
| 222 | std::unique_ptr<Common::Input::InputDevice> CreateCameraDevice( | ||
| 223 | const Common::ParamPackage& params); | ||
| 224 | |||
| 214 | std::shared_ptr<InputEngine> input_engine; | 225 | std::shared_ptr<InputEngine> input_engine; |
| 215 | }; | 226 | }; |
| 216 | } // namespace InputCommon | 227 | } // namespace InputCommon |