25 void Load(
const std::string& irMapName);
32 unsigned int TranslateButton(
const std::string& szDevice,
const std::string& szButton);
34 static uint32_t TranslateString(std::string strButton);
35 static uint32_t TranslateUniversalRemoteString(
const std::string& szButton);
38 bool LoadIRMap(
const std::string& irMapPath);
39 void MapRemote(TiXmlNode* pRemote,
const std::string& szDevice);
41 using IRButtonMap = std::map<std::string, std::string>;
43 std::map<std::string, std::shared_ptr<IRButtonMap>> m_irRemotesMap;
Definition: IRTranslator.h:17
void Load(const std::string &irMapName)
Loads Lircmap.xml/IRSSmap.xml.
Definition: IRTranslator.cpp:24
void Clear()
Clears the map.
Definition: IRTranslator.cpp:129