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
133 133
134#define LIRC_SET_WIDEBAND_RECEIVER _IOW('i', 0x00000023, __u32)134#define LIRC_SET_WIDEBAND_RECEIVER _IOW('i', 0x00000023, __u32)
135 135
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
136/*142/*
137 * struct lirc_scancode - decoded scancode with protocol for use with143 * struct lirc_scancode - decoded scancode with protocol for use with
138 * LIRC_MODE_SCANCODE144 * LIRC_MODE_SCANCODE
@@ -186,6 +192,9 @@ struct lirc_scancode { · 47 unmodified lines
186 * @RC_PROTO_XMP: XMP protocol192 * @RC_PROTO_XMP: XMP protocol
187 * @RC_PROTO_CEC: CEC protocol193 * @RC_PROTO_CEC: CEC protocol
188 * @RC_PROTO_IMON: iMon Pad protocol194 * @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
189 */198 */
190enum rc_proto {199enum rc_proto {
191 RC_PROTO_UNKNOWN = 0,200 RC_PROTO_UNKNOWN = 0,
@@ -212,6 +221,9 @@ enum rc_proto { · 20 unmodified lines
212 RC_PROTO_XMP = 21,221 RC_PROTO_XMP = 21,
213 RC_PROTO_CEC = 22,222 RC_PROTO_CEC = 22,
214 RC_PROTO_IMON = 23,223 RC_PROTO_IMON = 23,
224 RC_PROTO_RCMM12 = 24,
225 RC_PROTO_RCMM24 = 25,
226 RC_PROTO_RCMM32 = 26,
215};227};
216 228
217#endif229#endif