diff options
| author | bunnei <bunneidev@gmail.com> | 2022-10-02 14:28:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-02 14:28:43 -0700 |
| commit | 61399de5dbc64ada1c9e5ec3d84be76c215fdc0c (patch) | |
| tree | 72313f1b749d0771e38dbfcf539121a02d4b9ae0 /src/core/hid/input_converter.h | |
| parent | 80a3a731237472d8d2141243ca322ccf3276483c (diff) | |
| parent | 1485daff06b7e2aeb7077a4bdb1574956a4c3b82 (diff) | |
Merge pull request #8955 from german77/amiibo-rewrite
core: nfp: Rewrite implementation to remove direct access from the frontend
Diffstat (limited to 'src/core/hid/input_converter.h')
| -rw-r--r-- | src/core/hid/input_converter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hid/input_converter.h b/src/core/hid/input_converter.h index 143c50cc0..b7eb6e660 100644 --- a/src/core/hid/input_converter.h +++ b/src/core/hid/input_converter.h @@ -85,6 +85,14 @@ Common::Input::AnalogStatus TransformToAnalog(const Common::Input::CallbackStatu Common::Input::CameraStatus TransformToCamera(const Common::Input::CallbackStatus& callback); /** + * Converts raw input data into a valid nfc status. + * + * @param callback Supported callbacks: Nfc. + * @return A valid CameraObject object. + */ +Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& callback); + +/** * Converts raw analog data into a valid analog value * @param analog An analog object containing raw data and properties * @param clamp_value determines if the value needs to be clamped between -1.0f and 1.0f. |
