2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
13 class CAndroidJoystickTranslator
17 * \brief Translate an axis ID to an Android enum suitable for logging
19 * \param axisId The axis ID given in <android/input.h>
21 * \return The translated enum label, or "unknown" if unknown
23 static const char* TranslateAxis(int axisId
);
26 * \brief Translate a key code to an Android enum suitable for logging
28 * \param keyCode The key code given in <android/keycodes.h>
30 * \return The translated enum label, or "unknown" if unknown
32 static const char* TranslateKeyCode(int keyCode
);
35 * \brief Translate a button key code to a feature on the default controller
37 * \param buttonKeycode The key code given in <android/keycodes.h>
39 * \return The translated feature, or "" if unknown
41 static const char* TranslateJoystickButton(int buttonKeycode
);
43 } // namespace PERIPHERALS