Signed-off-by: Sean Young <s...@mess.org>
---
 utils/common/ir-encode.c  | 3 +++
 utils/keytable/keytable.c | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c
index ccc75032..4bd1b694 100644
--- a/utils/common/ir-encode.c
+++ b/utils/common/ir-encode.c
@@ -372,6 +372,9 @@ static const struct {
        [RC_PROTO_XMP] = { "xmp" },
        [RC_PROTO_CEC] = { "cec" },
        [RC_PROTO_IMON] = { "imon", 0x7fffffff },
+       [RC_PROTO_RCMM12] = { "rc-mm-12", 0x0fff },
+       [RC_PROTO_RCMM24] = { "rc-mm-24", 0xffffff },
+       [RC_PROTO_RCMM32] = { "rc-mm-32", 0xffffffff },
 };
 
 static bool str_like(const char *a, const char *b)
diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 0aceb015..0726e5fd 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -127,6 +127,7 @@ enum sysfs_protocols {
        SYSFS_XMP               = (1 << 12),
        SYSFS_CEC               = (1 << 13),
        SYSFS_IMON              = (1 << 14),
+       SYSFS_RCMM              = (1 << 15),
        SYSFS_INVALID           = 0,
 };
 
@@ -161,6 +162,7 @@ const struct protocol_map_entry protocol_map[] = {
        { "xmp",        "/xmp_decoder", SYSFS_XMP       },
        { "cec",        NULL,           SYSFS_CEC       },
        { "imon",       NULL,           SYSFS_IMON      },
+       { "rc-mm",      NULL,           SYSFS_RCMM      },
        { NULL,         NULL,           SYSFS_INVALID   },
 };
 
-- 
2.20.1

Reply via email to