diff options
author | Garrett Brown <themagnificentmrb@gmail.com> | 2024-01-28 19:47:51 -0800 |
---|---|---|
committer | Garrett Brown <themagnificentmrb@gmail.com> | 2024-02-02 08:44:55 -0800 |
commit | bcca740f4de99c14b54ba4402755ab12cbf1bb5b (patch) | |
tree | f444779c7dc5a87a847b42692cb9489f4b2d780f | |
parent | bd33d448512006d7bc1b8ae2d3a2feab54c798a0 (diff) |
[Android][Peripherals] Fix comment indentation
Likely due to a past format with clang-format that didn't properly de-indent
the comment blocks.
-rw-r--r-- | xbmc/platform/android/peripherals/AndroidJoystickState.h | 22 | ||||
-rw-r--r-- | xbmc/platform/android/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<unsigned int>(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<kodi::addon::PeripheralEvent>& 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 <android/input.h> - * - * \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 <android/input.h> + * + * \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 <android/keycodes.h> - * - * \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 <android/keycodes.h> + * + * \return The translated enum label, or "unknown" if unknown + */ static const char* TranslateKeyCode(int keyCode); }; } // namespace PERIPHERALS |