summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_driver.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-23 15:27:00 +0200
committerGitHub <noreply@github.com>2023-06-23 15:27:00 +0200
commit87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77 (patch)
tree4239b5df2c866aa26e123719fe838bd6eb0e0394 /src/input_common/helpers/joycon_driver.h
parentMerge pull request #10884 from liamwhite/spaghetti-vfs (diff)
parentinput_common: Implement native mifare support (diff)
downloadyuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.tar
yuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.tar.gz
yuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.tar.bz2
yuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.tar.lz
yuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.tar.xz
yuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.tar.zst
yuzu-87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77.zip
Diffstat (limited to 'src/input_common/helpers/joycon_driver.h')
-rw-r--r--src/input_common/helpers/joycon_driver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input_common/helpers/joycon_driver.h b/src/input_common/helpers/joycon_driver.h
index e9b2fccbb..bc7025a21 100644
--- a/src/input_common/helpers/joycon_driver.h
+++ b/src/input_common/helpers/joycon_driver.h
@@ -49,7 +49,13 @@ public:
DriverResult SetIrMode();
DriverResult SetNfcMode();
DriverResult SetRingConMode();
+ DriverResult StartNfcPolling();
+ DriverResult StopNfcPolling();
+ DriverResult ReadAmiiboData(std::vector<u8>& out_data);
DriverResult WriteNfcData(std::span<const u8> data);
+ DriverResult ReadMifareData(std::span<const MifareReadChunk> request,
+ std::span<MifareReadData> out_data);
+ DriverResult WriteMifareData(std::span<const MifareWriteChunk> request);
void SetCallbacks(const JoyconCallbacks& callbacks);