History

media: rc: rcmm decoder and encoder

media: add support for RCMM infrared remote controls.

Patrick Lerda committed 7 years ago

Commit 721074b1 parent 12aceee11 files · +328 −3Browse files

Showing the changes to tools/include/uapi/linux/lirc.h (1 of 11 files). Show all

Unified · Split

tools/include/uapi/linux/lirc.h+12−0
@@ -133,6 +133,12 @@ · 132 unmodified lines
133133
134134 #define LIRC_SET_WIDEBAND_RECEIVER _IOW('i', 0x00000023, __u32)
135135
136+/*
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+
136142 /*
137143 * struct lirc_scancode - decoded scancode with protocol for use with
138144 * LIRC_MODE_SCANCODE
@@ -186,6 +192,9 @@ struct lirc_scancode { · 47 unmodified lines
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 @@ enum rc_proto { · 20 unmodified lines
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