summaryrefslogtreecommitdiff
path: root/src/input_common/input_poller.h
diff options
context:
space:
mode:
authorGravatar german772022-09-24 20:28:27 -0500
committerGravatar german772022-10-02 12:32:26 -0500
commitda8864d00261894ebac8764786cd7fc51f8c566c (patch)
tree87d23257e312b70728824033113d4a1e69027140 /src/input_common/input_poller.h
parentinput_common: Create virtual amiibo driver (diff)
downloadyuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.gz
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.xz
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.zip
input_common: Enable virtual amiibo driver
Diffstat (limited to '')
-rw-r--r--src/input_common/input_poller.h10
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