From a2fe632c10fce98690ae706498c77250e52afa46 Mon Sep 17 00:00:00 2001
From: Adminy <adminy@users.noreply.github.com>
Date: Tue, 16 Apr 2024 10:32:16 +0100
Subject: [PATCH] Add decoder conf for self powered QX-305 & QX-302 switches
 (#2903)

---
 conf/qx-30x.conf | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 conf/qx-30x.conf

diff --git a/conf/qx-30x.conf b/conf/qx-30x.conf
new file mode 100644
index 00000000..60fcb565
--- /dev/null
+++ b/conf/qx-30x.conf
@@ -0,0 +1,15 @@
+# QX-30X
+#
+# This decoder reads button presses from QX-302, QX-305 self powered switches.
+#
+
+decoder {
+        name        = QX-30X,
+        modulation  = OOK_PWM,
+        short       = 33,
+        long        = 100,
+        gap         = 150,
+        reset       = 1500,
+        bits       >= 25,
+	unique
+}