X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2FCECExports.h;h=bedd0e0dabcb086f744e6995f5f4e9c509b55810;hb=2abe74ebbd27d8c30060b3eebb363e10d3fbfd80;hp=b5a3b5dbd84a1fbb8627b28471b8fca71a895270;hpb=828682d35c298ff062422521689258c363ea3579;p=deb_libcec.git diff --git a/include/CECExports.h b/include/CECExports.h index b5a3b5d..bedd0e0 100644 --- a/include/CECExports.h +++ b/include/CECExports.h @@ -55,9 +55,10 @@ extern "C" { namespace CEC { #endif - #define CEC_MIN_VERSION 2 + #define CEC_MIN_VERSION 3 #define CEC_LIB_VERSION 3 #define CEC_SETTLE_DOWN_TIME 1000 + #define CEC_BUTTON_TIMEOUT 500 typedef std::vector cec_frame; @@ -253,11 +254,11 @@ namespace CEC { unsigned int duration; } cec_keypress; - typedef struct cec_device + typedef struct cec_adapter { std::string path; std::string comm; - } cec_device; + } cec_adapter; typedef struct cec_command {