prevent double taps by not sending the same key press twice within 200ms
[deb_libcec.git] / include / cectypes.h
index d05a392dda39d8dbc2cd1963b46a440320f975d6..c80354e580284b06fcee86b9e21e373ea6eecdfe 100644 (file)
@@ -79,6 +79,11 @@ namespace CEC {
  */
 #define CEC_BUTTON_TIMEOUT           500
 
+/*!
+ * don't send the same key twice within this timeout in milliseconds
+ */
+#define CEC_DOUBLE_TAP_TIMEOUT_MS    200
+
 /*!
  * don't query the power state for the same device within this timeout in milliseconds
  */