aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2024-02-14 12:18:01 -0800
committerGarrett Brown <themagnificentmrb@gmail.com>2024-02-14 16:45:55 -0800
commitbb12e0e16f460e6c98047d82324354c51faadfae (patch)
tree8e0ef8f92336ac8fcd2bf51fee963bffcd851ad6
parenta5ef18fa976680fb11044a6bacf017c53f75c3c2 (diff)
Revert "[Android][Peripherals] Fix comment indentation"
This reverts commit 7436d4fe76f923da2611ae85adc218ad258f94d6.
-rw-r--r--xbmc/platform/android/peripherals/AndroidJoystickState.h22
-rw-r--r--xbmc/platform/android/peripherals/AndroidJoystickTranslator.h24
2 files changed, 22 insertions, 24 deletions
diff --git a/xbmc/platform/android/peripherals/AndroidJoystickState.h b/xbmc/platform/android/peripherals/AndroidJoystickState.h
index e146193541..33ff953a46 100644
--- a/xbmc/platform/android/peripherals/AndroidJoystickState.h
+++ b/xbmc/platform/android/peripherals/AndroidJoystickState.h
@@ -33,27 +33,25 @@ public:
unsigned int GetAxisCount() const { return static_cast<unsigned int>(m_axes.size()); }
/*!
- * \brief Initialize the joystick object
- *
- * Joystick will be initialized before the first call to GetEvents().
- */
+ * Initialize the joystick object. Joystick will be initialized before the
+ * first call to GetEvents().
+ */
bool Initialize(const CJNIViewInputDevice& inputDevice);
/*!
- * \brief Deinitialize the joystick object
- *
- * GetEvents() will not be called after deinitialization.
- */
+ * Deinitialize the joystick object. GetEvents() will not be called after
+ * deinitialization.
+ */
void Deinitialize();
/*!
- * \brief Processes the given input event.
- */
+ * Processes the given input event.
+ */
bool ProcessEvent(const AInputEvent* event);
/*!
- * \brief Get events that have occurred since the last call to GetEvents()
- */
+ * 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 a5bb8e33d5..53a953f0ac 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