diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-19 03:10:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 03:10:38 +0200 |
commit | 1e398e6c36bf8839ca530497fee3772f51d62126 (patch) | |
tree | 9bc394d7aaf886b65ee18ba18088e0f057ae8225 /src/input_common/helpers/joycon_protocol/nfc.h | |
parent | externals: update cubeb (#10362) (diff) | |
parent | input_common: Fix pro controller amiibo support (diff) | |
download | yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.tar yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.tar.gz yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.tar.bz2 yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.tar.lz yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.tar.xz yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.tar.zst yuzu-1e398e6c36bf8839ca530497fee3772f51d62126.zip |
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/nfc.h')
-rw-r--r-- | src/input_common/helpers/joycon_protocol/nfc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/helpers/joycon_protocol/nfc.h b/src/input_common/helpers/joycon_protocol/nfc.h index 4cb992d1d..c9e9af03f 100644 --- a/src/input_common/helpers/joycon_protocol/nfc.h +++ b/src/input_common/helpers/joycon_protocol/nfc.h @@ -42,9 +42,9 @@ private: DriverResult WaitUntilNfcIsReady(); - DriverResult StartPolling(TagFoundData& data, std::size_t timeout_limit = 1); + DriverResult WaitUntilNfcIsPolling(); - DriverResult ReadTag(const TagFoundData& data); + DriverResult IsTagInRange(TagFoundData& data, std::size_t timeout_limit = 1); DriverResult GetAmiiboData(std::vector<u8>& data); @@ -52,7 +52,7 @@ private: DriverResult SendStopPollingRequest(MCUCommandResponse& output); - DriverResult SendStartWaitingRecieveRequest(MCUCommandResponse& output); + DriverResult SendNextPackageRequest(MCUCommandResponse& output, u8 packet_id); DriverResult SendReadAmiiboRequest(MCUCommandResponse& output, NFCPages ntag_pages); |