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 | 67778a69b0c0c715ddb87f2f27fd2ba93fc762b7 (patch) | |
| tree | 4239b5df2c866aa26e123719fe838bd6eb0e0394 /src/core/hid/input_converter.cpp | |
| parent | 40f2c5b2ea0813b325c0cedfff93c6a763495af5 (diff) | |
| parent | b24451c5711b010541417209d26c90c5fe656420 (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 4ccb1c5966..a05716fd88 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; |
