ES-DE/es-core/src/CECInput.h

34 lines
597 B
C
Raw Normal View History

// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// CECInput.h
//
// CEC (Consumer Electronics Control) input.
//
2017-11-08 22:22:15 +00:00
#ifndef ES_CORE_CECINPUT_H
#define ES_CORE_CECINPUT_H
#include <string>
namespace CEC
{
class ICECAdapter;
}
2017-11-08 22:22:15 +00:00
class CECInput
{
public:
CECInput();
~CECInput();
static std::string getAlertTypeString(const unsigned int _type);
static std::string getOpCodeString(const unsigned int _opCode);
static std::string getKeyCodeString(const unsigned int _keyCode);
2017-11-08 22:22:15 +00:00
private:
CEC::ICECAdapter* mlibCEC;
};
2017-11-08 22:22:15 +00:00
#endif // ES_CORE_CECINPUT_H