From a1cb6d7b70ee50afb92fcdce00b6cdc1a2e9be89 Mon Sep 17 00:00:00 2001 From: ion098 <146852218+ion098@users.noreply.github.com> Date: Tue, 19 Nov 2024 20:09:57 +0000 Subject: [PATCH] style: :art: fix formatting of doc comments --- include/gamepad/joystick_transformation.hpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/include/gamepad/joystick_transformation.hpp b/include/gamepad/joystick_transformation.hpp index eee416b..6f028db 100644 --- a/include/gamepad/joystick_transformation.hpp +++ b/include/gamepad/joystick_transformation.hpp @@ -16,12 +16,12 @@ namespace gamepad { */ class AbstractTransformation { public: - /** - * @brief Get the transformed coordinate given the original. - * - * @param original The original value of the joystick - * @return std::pair The transformed value - */ + /** + * @brief Get the transformed coordinate given the original. + * + * @param original The original value of the joystick + * @return std::pair The transformed value + */ virtual std::pair get_value(std::pair original) = 0; virtual ~AbstractTransformation() = default; }; @@ -172,14 +172,16 @@ class TransformationBuilder final { /** * @brief Generate the final chained transformation * - * @return Transformation The final chained transformation. This can be passed to set_left_transform/set_right_transform + * @return Transformation The final chained transformation. This can be passed to + * set_left_transform/set_right_transform */ Transformation build() { return std::move(m_transform); } /** * @brief Generate the final chained transformation * - * @return Transformation The final chained transformation. This can be passed to set_left_transform/set_right_transform + * @return Transformation The final chained transformation. This can be passed to + * set_left_transform/set_right_transform */ operator Transformation() { return std::move(m_transform); } private: