From bf54230f0cf2e769a5133da69e10fe11a9f997e0 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Sun, 28 Jan 2024 19:47:51 -0800 Subject: [Android][Peripherals] Fix comment indentation Likely due to a past format with clang-format that didn't properly de-indent the comment blocks. --- .../android/peripherals/AndroidJoystickState.h | 22 +++++++++++--------- .../peripherals/AndroidJoystickTranslator.h | 24 +++++++++++----------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/xbmc/platform/android/peripherals/AndroidJoystickState.h b/xbmc/platform/android/peripherals/AndroidJoystickState.h index 33ff953a46..e146193541 100644 --- a/xbmc/platform/android/peripherals/AndroidJoystickState.h +++ b/xbmc/platform/android/peripherals/AndroidJoystickState.h @@ -33,25 +33,27 @@ public: unsigned int GetAxisCount() const { return static_cast(m_axes.size()); } /*! - * Initialize the joystick object. Joystick will be initialized before the - * first call to GetEvents(). - */ + * \brief Initialize the joystick object + * + * Joystick will be initialized before the first call to GetEvents(). + */ bool Initialize(const CJNIViewInputDevice& inputDevice); /*! - * Deinitialize the joystick object. GetEvents() will not be called after - * deinitialization. - */ + * \brief Deinitialize the joystick object + * + * GetEvents() will not be called after deinitialization. + */ void Deinitialize(); /*! - * Processes the given input event. - */ + * \brief Processes the given input event. + */ bool ProcessEvent(const AInputEvent* event); /*! - * Get events that have occurred since the last call to GetEvents() - */ + * \brief Get events that have occurred since the last call to GetEvents() + */ void GetEvents(std::vector& events); private: diff --git a/xbmc/platform/android/peripherals/AndroidJoystickTranslator.h b/xbmc/platform/android/peripherals/AndroidJoystickTranslator.h index 53a953f0ac..a5bb8e33d5 100644 --- a/xbmc/platform/android/peripherals/AndroidJoystickTranslator.h +++ b/xbmc/platform/android/peripherals/AndroidJoystickTranslator.h @@ -14,21 +14,21 @@ class CAndroidJoystickTranslator { public: /*! - * \brief Translate an axis ID to an Android enum suitable for logging - * - * \param axisId The axis ID given in - * - * \return The translated enum label, or "unknown" if unknown - */ + * \brief Translate an axis ID to an Android enum suitable for logging + * + * \param axisId The axis ID given in + * + * \return The translated enum label, or "unknown" if unknown + */ static const char* TranslateAxis(int axisId); /*! - * \brief Translate a key code to an Android enum suitable for logging - * - * \param keyCode The key code given in - * - * \return The translated enum label, or "unknown" if unknown - */ + * \brief Translate a key code to an Android enum suitable for logging + * + * \param keyCode The key code given in + * + * \return The translated enum label, or "unknown" if unknown + */ static const char* TranslateKeyCode(int keyCode); }; } // namespace PERIPHERALS -- cgit v1.2.3