hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/tools/include/uapi/linux/lirc.h
....@@ -134,6 +134,12 @@
134134 #define LIRC_SET_WIDEBAND_RECEIVER _IOW('i', 0x00000023, __u32)
135135
136136 /*
137
+ * Return the recording timeout, which is either set by
138
+ * the ioctl LIRC_SET_REC_TIMEOUT or by the kernel after setting the protocols.
139
+ */
140
+#define LIRC_GET_REC_TIMEOUT _IOR('i', 0x00000024, __u32)
141
+
142
+/*
137143 * struct lirc_scancode - decoded scancode with protocol for use with
138144 * LIRC_MODE_SCANCODE
139145 *
....@@ -186,6 +192,9 @@
186192 * @RC_PROTO_XMP: XMP protocol
187193 * @RC_PROTO_CEC: CEC protocol
188194 * @RC_PROTO_IMON: iMon Pad protocol
195
+ * @RC_PROTO_RCMM12: RC-MM protocol 12 bits
196
+ * @RC_PROTO_RCMM24: RC-MM protocol 24 bits
197
+ * @RC_PROTO_RCMM32: RC-MM protocol 32 bits
189198 */
190199 enum rc_proto {
191200 RC_PROTO_UNKNOWN = 0,
....@@ -212,6 +221,9 @@
212221 RC_PROTO_XMP = 21,
213222 RC_PROTO_CEC = 22,
214223 RC_PROTO_IMON = 23,
224
+ RC_PROTO_RCMM12 = 24,
225
+ RC_PROTO_RCMM24 = 25,
226
+ RC_PROTO_RCMM32 = 26,
215227 };
216228
217229 #endif