Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 444cc20b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] rc/keymaps: use KEY_CAMERA for snapshots



On a few places, KEY_MHP were used for snapshots. However, KEY_CAMERA
is used for it on all the other keyboards that have a snapshot/Picture
button.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
parent aa3f4e44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ static struct rc_map_table rc_map_digitv_table[] = {
	{ 0xaf59, KEY_AUX },
	{ 0x5f5a, KEY_DVD },
	{ 0x6f5a, KEY_POWER },
	{ 0x9f5a, KEY_MHP },     /* labelled 'Picture' */
	{ 0x9f5a, KEY_CAMERA },     /* labelled 'Picture' */
	{ 0xaf5a, KEY_AUDIO },
	{ 0x5f65, KEY_INFO },
	{ 0x6f65, KEY_F13 },     /* 16:9 */
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ static struct rc_map_table avermedia_m135a[] = {
	{ 0x0414, KEY_TEXT },
	{ 0x0415, KEY_EPG },
	{ 0x041a, KEY_TV2 },      /* PIP */
	{ 0x041b, KEY_MHP },      /* Snapshot */
	{ 0x041b, KEY_CAMERA },      /* Snapshot */

	{ 0x0417, KEY_RECORD },
	{ 0x0416, KEY_PLAYPAUSE },
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ static struct rc_map_table avermedia_m733a_rm_k6[] = {
	{ 0x0414, KEY_TEXT },
	{ 0x0415, KEY_EPG },
	{ 0x041a, KEY_TV2 },      /* PIP */
	{ 0x041b, KEY_MHP },      /* Snapshot */
	{ 0x041b, KEY_CAMERA },      /* Snapshot */

	{ 0x0417, KEY_RECORD },
	{ 0x0416, KEY_PLAYPAUSE },
+2 −1
Original line number Diff line number Diff line
@@ -12,7 +12,8 @@

#include <media/rc-map.h>

/* From reading the following remotes:
/*
 * From reading the following remotes:
 * Zenith Universal 7 / TV Mode 807 / VCR Mode 837
 * Hauppauge (from NOVA-CI-s box product)
 * This is a "middle of the road" approach, differences are noted
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ static struct rc_map_table encore_enltv[] = {
	{ 0x1e, KEY_TV },
	{ 0x00, KEY_VIDEO },
	{ 0x01, KEY_AUDIO },		/* music */
	{ 0x02, KEY_MHP },		/* picture */
	{ 0x02, KEY_CAMERA },		/* picture */

	{ 0x1f, KEY_1 },
	{ 0x03, KEY_2 },
Loading