@@ -376,6 +376,7 @@ static const struct {
[RC_PROTO_MCIR2_MSE] = { "mcir2-mse" },
[RC_PROTO_XMP] = { "xmp" },
[RC_PROTO_CEC] = { "cec" },
+ [RC_PROTO_IMON] = { "imon", 0x7fffffff },
};
static bool str_like(const char *a, const char *b)
@@ -116,6 +116,7 @@ enum sysfs_protocols {
SYSFS_SHARP = (1 << 11),
SYSFS_XMP = (1 << 12),
SYSFS_CEC = (1 << 13),
+ SYSFS_IMON = (1 << 14),
SYSFS_INVALID = 0,
};
@@ -149,6 +150,7 @@ const struct protocol_map_entry protocol_map[] = {
{ "sharp", NULL, SYSFS_SHARP },
{ "xmp", "/xmp_decoder", SYSFS_XMP },
{ "cec", NULL, SYSFS_CEC },
+ { "imon", NULL, SYSFS_IMON },
{ NULL, NULL, SYSFS_INVALID },
};
Signed-off-by: Sean Young <sean@mess.org> --- utils/common/ir-encode.c | 1 + utils/keytable/keytable.c | 2 ++ 2 files changed, 3 insertions(+)