X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2FCECExports.h;h=bedd0e0dabcb086f744e6995f5f4e9c509b55810;hb=9043a357d70a3d919577e4413b2f6e5c31c97059;hp=0aef25c30723e72e5b32fa177a1aeaf86b02e775;hpb=825ddb962b0515e1efb06bb10a1cbb74cde803f8;p=deb_libcec.git diff --git a/include/CECExports.h b/include/CECExports.h index 0aef25c..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_LIB_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 {