summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--hdmi_cec.c9
-rw-r--r--hdmi_cec.h4
2 files changed, 8 insertions, 5 deletions
diff --git a/hdmi_cec.h b/hdmi_cec.h
index 9738675..fd8cde2 100644
--- a/hdmi_cec.h
+++ b/hdmi_cec.h
@@ -15,10 +15,14 @@
#define CEC_IOC_GET_CONNECT_STATUS _IOR(CEC_IOC_MAGIC, 0x0A, uint32_t)
#define CEC_IOC_ADD_LOGICAL_ADDR _IOW(CEC_IOC_MAGIC, 0x0B, uint32_t)
#define CEC_IOC_CLR_LOGICAL_ADDR _IOW(CEC_IOC_MAGIC, 0x0C, uint32_t)
+#define CEC_IOC_SET_DEV_TYPE _IOW(CEC_IOC_MAGIC, 0x0D, uint32_t)
#define CEC_FAIL_NONE 0
#define CEC_FAIL_NACK 1
#define CEC_FAIL_BUSY 2
#define CEC_FAIL_OTHER 3
+#define DEV_TYPE_RX 0
+#define DEV_TYPE_TX 4
+
#endif /* __HDMI_CEC_H__ */