summaryrefslogtreecommitdiff
path: root/src/core/hid/input_converter.h
diff options
context:
space:
mode:
authorGravatar Narr the Reg2022-12-20 13:23:31 -0600
committerGravatar Narr the Reg2023-01-19 18:05:20 -0600
commited5fa10e9729cf55205533f62a428e646aa5ed7c (patch)
treefe1fa3882df8a26845f937dbb0a51beb7ac7acc3 /src/core/hid/input_converter.h
parentcore: hid: Migrate ring from emulated devices to emulated controller (diff)
downloadyuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.gz
yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.tar.xz
yuzu-ed5fa10e9729cf55205533f62a428e646aa5ed7c.zip
core: hid: Enable pulling color data from controllers
Diffstat (limited to 'src/core/hid/input_converter.h')
-rw-r--r--src/core/hid/input_converter.h10
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
88 * Converts raw input data into a valid nfc status. 88 * Converts raw input data into a valid nfc status.
89 * 89 *
90 * @param callback Supported callbacks: Nfc. 90 * @param callback Supported callbacks: Nfc.
91 * @return A valid CameraObject object. 91 * @return A valid data tag vector.
92 */ 92 */
93Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& callback); 93Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& callback);
94 94
95/** 95/**
96 * Converts raw input data into a valid color status.
97 *
98 * @param callback Supported callbacks: Color.
99 * @return A valid Color object.
100 */
101Common::Input::BodyColorStatus TransformToColor(const Common::Input::CallbackStatus& callback);
102
103/**
96 * Converts raw analog data into a valid analog value 104 * Converts raw analog data into a valid analog value
97 * @param analog An analog object containing raw data and properties 105 * @param analog An analog object containing raw data and properties
98 * @param clamp_value determines if the value needs to be clamped between -1.0f and 1.0f. 106 * @param clamp_value determines if the value needs to be clamped between -1.0f and 1.0f.