diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-06-23 09:27:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-23 09:27:00 -0400 |
| commit | 87b9b5d10fa4a30c8eb56f9de44ba0c24d57ae77 (patch) | |
| tree | 4239b5df2c866aa26e123719fe838bd6eb0e0394 /src/core/hid/input_converter.cpp | |
| parent | 575d467d953fcbf67eaac0d892201c35320967a6 (diff) | |
| parent | 84d43489c5df9f450efb0293cc58161d08e3b882 (diff) | |
Merge pull request #10842 from german77/native_mifare
input_common: Implement native mifare/skylander support for joycons/pro controller
Diffstat (limited to 'src/core/hid/input_converter.cpp')
| -rw-r--r-- | src/core/hid/input_converter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp index 4ccb1c596..a05716fd8 100644 --- a/src/core/hid/input_converter.cpp +++ b/src/core/hid/input_converter.cpp @@ -299,11 +299,7 @@ Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& cal Common::Input::NfcStatus nfc{}; switch (callback.type) { case Common::Input::InputType::Nfc: - nfc = { - .state = callback.nfc_status, - .data = callback.raw_data, - }; - break; + return callback.nfc_status; default: LOG_ERROR(Input, "Conversion from type {} to NFC not implemented", callback.type); break; |
