diff options
| author | 2022-09-24 20:36:40 -0500 | |
|---|---|---|
| committer | 2022-10-02 12:32:26 -0500 | |
| commit | 8a3d22c4bd54c18edb51fe6513761ec2189e3369 (patch) | |
| tree | 013e5121310205ba5e4c43f6760fd54be8de1ce0 /src/core/hid/input_converter.h | |
| parent | yuzu: Use virtual amiibo driver instead of nfp service (diff) | |
| download | yuzu-8a3d22c4bd54c18edb51fe6513761ec2189e3369.tar.gz yuzu-8a3d22c4bd54c18edb51fe6513761ec2189e3369.tar.xz yuzu-8a3d22c4bd54c18edb51fe6513761ec2189e3369.zip | |
core: hid: Add nfc support to emulated controller
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 | |||
| 85 | Common::Input::CameraStatus TransformToCamera(const Common::Input::CallbackStatus& callback); | 85 | Common::Input::CameraStatus TransformToCamera(const Common::Input::CallbackStatus& callback); |
| 86 | 86 | ||
| 87 | /** | 87 | /** |
| 88 | * Converts raw input data into a valid nfc status. | ||
| 89 | * | ||
| 90 | * @param callback Supported callbacks: Nfc. | ||
| 91 | * @return A valid CameraObject object. | ||
| 92 | */ | ||
| 93 | Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& callback); | ||
| 94 | |||
| 95 | /** | ||
| 88 | * Converts raw analog data into a valid analog value | 96 | * Converts raw analog data into a valid analog value |
| 89 | * @param analog An analog object containing raw data and properties | 97 | * @param analog An analog object containing raw data and properties |
| 90 | * @param clamp_value determines if the value needs to be clamped between -1.0f and 1.0f. | 98 | * @param clamp_value determines if the value needs to be clamped between -1.0f and 1.0f. |