mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-28 09:05:38 +00:00
b6b6f73a24
Only support libcec4
31 lines
583 B
C++
31 lines
583 B
C++
#pragma once
|
|
#ifndef ES_CORE_CECINPUT_H
|
|
#define ES_CORE_CECINPUT_H
|
|
|
|
#include <string>
|
|
|
|
namespace CEC { class ICECAdapter; }
|
|
|
|
class CECInput
|
|
{
|
|
public:
|
|
|
|
static void init ();
|
|
static void deinit ();
|
|
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:
|
|
|
|
CECInput();
|
|
~CECInput();
|
|
|
|
static CECInput* sInstance;
|
|
|
|
CEC::ICECAdapter* mlibCEC;
|
|
|
|
}; // CECInput
|
|
|
|
#endif // ES_CORE_CECINPUT_H
|