Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::KEYMAP::CIRTranslator Class Reference

#include <IRTranslator.h>

Public Member Functions

 CIRTranslator ()=default
 
void Load (const std::string &irMapName)
 Loads Lircmap.xml/IRSSmap.xml.
 
void Clear ()
 Clears the map.
 
unsigned int TranslateButton (const std::string &szDevice, const std::string &szButton)
 

Static Public Member Functions

static uint32_t TranslateString (std::string strButton)
 
static uint32_t TranslateUniversalRemoteString (const std::string &szButton)
 

Constructor & Destructor Documentation

◆ CIRTranslator()

KODI::KEYMAP::CIRTranslator::CIRTranslator ( )
default

Member Function Documentation

◆ Clear()

void CIRTranslator::Clear ( )

Clears the map.

◆ Load()

void CIRTranslator::Load ( const std::string & irMapName)

Loads Lircmap.xml/IRSSmap.xml.

◆ TranslateButton()

unsigned int CIRTranslator::TranslateButton ( const std::string & szDevice,
const std::string & szButton )

◆ TranslateString()

uint32_t CIRTranslator::TranslateString ( std::string strButton)
static

◆ TranslateUniversalRemoteString()

uint32_t CIRTranslator::TranslateUniversalRemoteString ( const std::string & szButton)
static

The documentation for this class was generated from the following files: