kodi
DefaultKeyboardTranslator.h
1 /*
2  * Copyright (C) 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 "input/keyboard/KeyboardTypes.h"
12 
13 namespace KODI
14 {
15 namespace GAME
16 {
17 
22 {
23 public:
31  static const char* TranslateKeycode(KEYBOARD::XBMCKey keycode);
32 };
33 
34 } // namespace GAME
35 } // namespace KODI
static const char * TranslateKeycode(KEYBOARD::XBMCKey keycode)
Translate a Kodi key code to a keyboard key name in a controller profile.
Definition: DefaultKeyboardTranslator.cpp:158
Definition: DefaultKeyboardTranslator.h:21
XBMCKey XBMCKey
Symbol of a hardware-independent key.
Definition: KeyboardTypes.h:26
Definition: AudioDecoder.h:18