mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
34 lines
570 B
C++
34 lines
570 B
C++
// SPDX-License-Identifier: MIT
|
|
//
|
|
// ES-DE
|
|
// CECInput.h
|
|
//
|
|
// CEC (Consumer Electronics Control) input.
|
|
//
|
|
|
|
#ifndef ES_CORE_CECINPUT_H
|
|
#define ES_CORE_CECINPUT_H
|
|
|
|
#include <string>
|
|
|
|
namespace CEC
|
|
{
|
|
class ICECAdapter;
|
|
}
|
|
|
|
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);
|
|
|
|
private:
|
|
CEC::ICECAdapter* mlibCEC;
|
|
};
|
|
|
|
#endif // ES_CORE_CECINPUT_H
|