diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-20 20:23:31 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-20 01:05:20 +0100 |
commit | ed5fa10e9729cf55205533f62a428e646aa5ed7c (patch) | |
tree | fe1fa3882df8a26845f937dbb0a51beb7ac7acc3 /src/core/hid/input_converter.h | |
parent | core: hid: Migrate ring from emulated devices to emulated controller (diff) | |
download | yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.gz yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.bz2 yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.lz yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.xz yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.zst yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hid/input_converter.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.h b/src/core/hid/input_converter.h index b7eb6e660..c51c03e57 100644 --- a/src/core/hid/input_converter.h +++ b/src/core/hid/input_converter.h @@ -88,11 +88,19 @@ Common::Input::CameraStatus TransformToCamera(const Common::Input::CallbackStatu * Converts raw input data into a valid nfc status. * * @param callback Supported callbacks: Nfc. - * @return A valid CameraObject object. + * @return A valid data tag vector. */ Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& callback); /** + * Converts raw input data into a valid color status. + * + * @param callback Supported callbacks: Color. + * @return A valid Color object. + */ +Common::Input::BodyColorStatus TransformToColor(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. |