diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-06-23 15:27:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 15:27:00 +0200 |
commit | 87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77 (patch) | |
tree | 4239b5df2c866aa26e123719fe838bd6eb0e0394 /src/input_common/helpers/joycon_driver.h | |
parent | Merge pull request #10884 from liamwhite/spaghetti-vfs (diff) | |
parent | input_common: Implement native mifare support (diff) | |
download | yuzu-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.h | 6 |
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); |