Debian Codegraph @

src/input/DefaultKeyboardTranslator.h

raw
1 /*
2 * Copyright (C) 2018-2021 Team Kodi (https://kodi.tv)
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 * See LICENSE.md for more information.
6 */
7
8 #pragma once
9
10 #include <string>
11
12 #define DEFAULT_KEYBOARD_ID "game.controller.keyboard"
13
14 namespace LIBRETRO
15 {
16 class CDefaultKeyboardTranslator
17 {
18 public:
19 /*!
20 * \brief Translate from Kodi feature name to libretro index
21 */
22 static int GetLibretroIndex(const std::string &strFeatureName);
23 };
24 }