Debian Codegraph @

xbmc/input/keymaps/joysticks/GamepadTranslator.h

raw
1 /*
2 * Copyright (C) 2017-2024 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9 #pragma once
10
11 #include <stdint.h>
12 #include <string>
13
14 namespace KODI
15 {
16 namespace KEYMAP
17 {
18 /*!
19 * \ingroup keymap
20 *
21 * \brief Gamepad translator, only used by EventClient
22 *
23 * The legacy gamepad translator uses an original Xbox controller (the one with
24 * white and black buttons) for mapping.
25 */
26 class CGamepadTranslator
27 {
28 public:
29 static uint32_t TranslateString(std::string strButton);
30 };
31 } // namespace KEYMAP
32 } // namespace KODI