summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_protocol/nfc.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-05-16 06:44:50 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-05-17 02:37:22 +0200
commit5693434b8ad74a5c46155f1e60fa0d3f475aa153 (patch)
treebc0741cea6d9365b6d44aa2642f701511fb034f4 /src/input_common/helpers/joycon_protocol/nfc.h
parentMerge pull request #10181 from lat9nq/intel-compute-toggle (diff)
downloadyuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.tar
yuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.tar.gz
yuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.tar.bz2
yuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.tar.lz
yuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.tar.xz
yuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.tar.zst
yuzu-5693434b8ad74a5c46155f1e60fa0d3f475aa153.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/helpers/joycon_protocol/nfc.h6
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);