forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/rc/keymaps/rc-imon-rsc.c
....@@ -7,7 +7,8 @@
77
88 //
99 // Note that this remote has a stick which its own IR protocol,
10
-// with 16 directions. This is not supported yet.
10
+// with 16 directions. This is supported by the imon_rsc BPF decoder
11
+// in v4l-utils.
1112 //
1213 static struct rc_map_table imon_rsc[] = {
1314 { 0x801010, KEY_EXIT },
....@@ -25,7 +26,7 @@
2526 { 0x80105c, KEY_NUMERIC_9 },
2627 { 0x801081, KEY_SCREEN }, /* Desktop */
2728 { 0x80105d, KEY_NUMERIC_0 },
28
- { 0x801082, KEY_MAX },
29
+ { 0x801082, KEY_ZOOM }, /* Maximise */
2930 { 0x801048, KEY_ESC },
3031 { 0x80104b, KEY_MEDIA }, /* Windows key */
3132 { 0x801083, KEY_MENU },
....@@ -52,14 +53,14 @@
5253 { 0x80104e, KEY_STOP },
5354 { 0x801052, KEY_REWIND },
5455 { 0x801053, KEY_FASTFORWARD },
55
- { 0x801089, KEY_ZOOM } /* full screen */
56
+ { 0x801089, KEY_FULL_SCREEN } /* full screen */
5657 };
5758
5859 static struct rc_map_list imon_rsc_map = {
5960 .map = {
6061 .scan = imon_rsc,
6162 .size = ARRAY_SIZE(imon_rsc),
62
- .rc_proto = RC_PROTO_NEC,
63
+ .rc_proto = RC_PROTO_NECX,
6364 .name = RC_MAP_IMON_RSC,
6465 }
6566 };