◆ TranslateKeycode()
const char * CControllerTranslator::TranslateKeycode |
( |
KEYBOARD::KeySymbol |
keycode | ) |
|
|
static |
Translate a Kodi key code to a keyboard symbol.
- Parameters
-
- Returns
- The key's symbol, or an empty string if no symbol is defined for the keycode
◆ TranslateKeysym()
KEYBOARD::KeySymbol CControllerTranslator::TranslateKeysym |
( |
const std::string & |
symbol | ) |
|
|
static |
Translate a keyboard symbol to a Kodi key code.
- Parameters
-
symbol | The key's symbol, defined in the kodi-game-controllers project |
- Returns
- The layout-independent keycode associated with the key
The documentation for this class was generated from the following files: