X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=4396755d075587d313938d7ad5898ddb8f64b020;hb=3c53ac93d0c95ebf700c08f9ccfb2810dfeea8b1;hp=5298258050530a61c1000f2a8fe1383198bf33db;hpb=6a69ddf2f8b32b7d66be1dffafa78fd2af219749;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index 5298258..4396755 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -434,6 +434,11 @@ typedef enum cec_user_control_code CEC_USER_CONTROL_CODE_UNKNOWN } cec_user_control_code; +typedef enum cec_an_user_control_code +{ + CEC_AN_USER_CONTROL_CODE_RETURN = 0x91 +} cec_an_user_control_code; + typedef enum cec_logical_address { CECDEVICE_UNKNOWN = -1, //not a valid logical address @@ -524,10 +529,12 @@ typedef enum cec_opcode typedef enum cec_log_level { - CEC_LOG_DEBUG = 0, - CEC_LOG_NOTICE, - CEC_LOG_WARNING, - CEC_LOG_ERROR + CEC_LOG_ERROR = 1, + CEC_LOG_WARNING = 2, + CEC_LOG_NOTICE = 4, + CEC_LOG_TRAFFIC = 8, + CEC_LOG_DEBUG = 16, + CEC_LOG_ALL = 31 } cec_log_level; typedef struct cec_log_message @@ -700,7 +707,7 @@ typedef enum cec_vendor_id #define MSGEND 0xFE #define MSGESC 0xFD #define ESCOFFSET 3 -#define CEC_MIN_VERSION 6 +#define CEC_MIN_VERSION 8 #define CEC_LIB_VERSION 8 #define CEC_BUTTON_TIMEOUT 500