diff options
| author | 2022-10-02 14:28:43 -0700 | |
|---|---|---|
| committer | 2022-10-02 14:28:43 -0700 | |
| commit | 61399de5dbc64ada1c9e5ec3d84be76c215fdc0c (patch) | |
| tree | 72313f1b749d0771e38dbfcf539121a02d4b9ae0 /src/input_common/input_poller.h | |
| parent | Merge pull request #8992 from Morph1984/vi-vsync-event (diff) | |
| parent | service: mii: Copy only valid name bytes (diff) | |
| download | yuzu-61399de5dbc64ada1c9e5ec3d84be76c215fdc0c.tar.gz yuzu-61399de5dbc64ada1c9e5ec3d84be76c215fdc0c.tar.xz yuzu-61399de5dbc64ada1c9e5ec3d84be76c215fdc0c.zip | |
Merge pull request #8955 from german77/amiibo-rewrite
core: nfp: Rewrite implementation to remove direct access from the frontend
Diffstat (limited to 'src/input_common/input_poller.h')
| -rw-r--r-- | src/input_common/input_poller.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input_common/input_poller.h b/src/input_common/input_poller.h index 4410a8415..d7db13ce4 100644 --- a/src/input_common/input_poller.h +++ b/src/input_common/input_poller.h | |||
| @@ -222,6 +222,16 @@ private: | |||
| 222 | std::unique_ptr<Common::Input::InputDevice> CreateCameraDevice( | 222 | std::unique_ptr<Common::Input::InputDevice> CreateCameraDevice( |
| 223 | const Common::ParamPackage& params); | 223 | const Common::ParamPackage& params); |
| 224 | 224 | ||
| 225 | /** | ||
| 226 | * Creates a nfc device from the parameters given. | ||
| 227 | * @param params contains parameters for creating the device: | ||
| 228 | * - "guid": text string for identifying controllers | ||
| 229 | * - "port": port of the connected device | ||
| 230 | * - "pad": slot of the connected controller | ||
| 231 | * @returns a unique input device with the parameters specified | ||
| 232 | */ | ||
| 233 | std::unique_ptr<Common::Input::InputDevice> CreateNfcDevice(const Common::ParamPackage& params); | ||
| 234 | |||
| 225 | std::shared_ptr<InputEngine> input_engine; | 235 | std::shared_ptr<InputEngine> input_engine; |
| 226 | }; | 236 | }; |
| 227 | } // namespace InputCommon | 237 | } // namespace InputCommon |