summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_poller.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-09-25 03:28:27 +0200
committergerman77 <juangerman-13@hotmail.com>2022-10-02 19:32:26 +0200
commitda8864d00261894ebac8764786cd7fc51f8c566c (patch)
tree87d23257e312b70728824033113d4a1e69027140 /src/input_common/input_poller.h
parentinput_common: Create virtual amiibo driver (diff)
downloadyuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.gz
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.bz2
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.lz
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.xz
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.zst
yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.zip
Diffstat (limited to 'src/input_common/input_poller.h')
-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:
std::unique_ptr<Common::Input::InputDevice> CreateCameraDevice(
const Common::ParamPackage& params);
+ /**
+ * Creates a nfc device from the parameters given.
+ * @param params contains parameters for creating the device:
+ * - "guid": text string for identifying controllers
+ * - "port": port of the connected device
+ * - "pad": slot of the connected controller
+ * @returns a unique input device with the parameters specified
+ */
+ std::unique_ptr<Common::Input::InputDevice> CreateNfcDevice(const Common::ParamPackage& params);
+
std::shared_ptr<InputEngine> input_engine;
};
} // namespace InputCommon