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

[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
...@@ -176,7 +176,7 @@ static struct rc_map_table rc_map_digitv_table[] = { ...@@ -176,7 +176,7 @@ static struct rc_map_table rc_map_digitv_table[] = {
{ 0xaf59, KEY_AUX }, { 0xaf59, KEY_AUX },
{ 0x5f5a, KEY_DVD }, { 0x5f5a, KEY_DVD },
{ 0x6f5a, KEY_POWER }, { 0x6f5a, KEY_POWER },
{ 0x9f5a, KEY_MHP }, /* labelled 'Picture' */ { 0x9f5a, KEY_CAMERA }, /* labelled 'Picture' */
{ 0xaf5a, KEY_AUDIO }, { 0xaf5a, KEY_AUDIO },
{ 0x5f65, KEY_INFO }, { 0x5f65, KEY_INFO },
{ 0x6f65, KEY_F13 }, /* 16:9 */ { 0x6f65, KEY_F13 }, /* 16:9 */
......
...@@ -108,7 +108,7 @@ static struct rc_map_table avermedia_m135a[] = { ...@@ -108,7 +108,7 @@ static struct rc_map_table avermedia_m135a[] = {
{ 0x0414, KEY_TEXT }, { 0x0414, KEY_TEXT },
{ 0x0415, KEY_EPG }, { 0x0415, KEY_EPG },
{ 0x041a, KEY_TV2 }, /* PIP */ { 0x041a, KEY_TV2 }, /* PIP */
{ 0x041b, KEY_MHP }, /* Snapshot */ { 0x041b, KEY_CAMERA }, /* Snapshot */
{ 0x0417, KEY_RECORD }, { 0x0417, KEY_RECORD },
{ 0x0416, KEY_PLAYPAUSE }, { 0x0416, KEY_PLAYPAUSE },
......
...@@ -56,7 +56,7 @@ static struct rc_map_table avermedia_m733a_rm_k6[] = { ...@@ -56,7 +56,7 @@ static struct rc_map_table avermedia_m733a_rm_k6[] = {
{ 0x0414, KEY_TEXT }, { 0x0414, KEY_TEXT },
{ 0x0415, KEY_EPG }, { 0x0415, KEY_EPG },
{ 0x041a, KEY_TV2 }, /* PIP */ { 0x041a, KEY_TV2 }, /* PIP */
{ 0x041b, KEY_MHP }, /* Snapshot */ { 0x041b, KEY_CAMERA }, /* Snapshot */
{ 0x0417, KEY_RECORD }, { 0x0417, KEY_RECORD },
{ 0x0416, KEY_PLAYPAUSE }, { 0x0416, KEY_PLAYPAUSE },
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
#include <media/rc-map.h> #include <media/rc-map.h>
/* From reading the following remotes: /*
* From reading the following remotes:
* Zenith Universal 7 / TV Mode 807 / VCR Mode 837 * Zenith Universal 7 / TV Mode 807 / VCR Mode 837
* Hauppauge (from NOVA-CI-s box product) * Hauppauge (from NOVA-CI-s box product)
* This is a "middle of the road" approach, differences are noted * This is a "middle of the road" approach, differences are noted
......
...@@ -24,7 +24,7 @@ static struct rc_map_table encore_enltv[] = { ...@@ -24,7 +24,7 @@ static struct rc_map_table encore_enltv[] = {
{ 0x1e, KEY_TV }, { 0x1e, KEY_TV },
{ 0x00, KEY_VIDEO }, { 0x00, KEY_VIDEO },
{ 0x01, KEY_AUDIO }, /* music */ { 0x01, KEY_AUDIO }, /* music */
{ 0x02, KEY_MHP }, /* picture */ { 0x02, KEY_CAMERA }, /* picture */
{ 0x1f, KEY_1 }, { 0x1f, KEY_1 },
{ 0x03, KEY_2 }, { 0x03, KEY_2 },
......
...@@ -48,7 +48,7 @@ static struct rc_map_table hauppauge_new[] = { ...@@ -48,7 +48,7 @@ static struct rc_map_table hauppauge_new[] = {
"Multimedia Home Platform" - "Multimedia Home Platform" -
no "PICTURES" key in input.h no "PICTURES" key in input.h
*/ */
{ 0x1a, KEY_MHP }, { 0x1a, KEY_CAMERA },
{ 0x1b, KEY_EPG }, /* Guide */ { 0x1b, KEY_EPG }, /* Guide */
{ 0x1c, KEY_TV }, { 0x1c, KEY_TV },
......
...@@ -27,7 +27,7 @@ static struct rc_map_table nebula[] = { ...@@ -27,7 +27,7 @@ static struct rc_map_table nebula[] = {
{ 0x0b, KEY_AUX }, { 0x0b, KEY_AUX },
{ 0x0c, KEY_DVD }, { 0x0c, KEY_DVD },
{ 0x0d, KEY_POWER }, { 0x0d, KEY_POWER },
{ 0x0e, KEY_MHP }, /* labelled 'Picture' */ { 0x0e, KEY_CAMERA }, /* labelled 'Picture' */
{ 0x0f, KEY_AUDIO }, { 0x0f, KEY_AUDIO },
{ 0x10, KEY_INFO }, { 0x10, KEY_INFO },
{ 0x11, KEY_F13 }, /* 16:9 */ { 0x11, KEY_F13 }, /* 16:9 */
......
...@@ -51,7 +51,7 @@ static struct rc_map_table rc5_hauppauge_new[] = { ...@@ -51,7 +51,7 @@ static struct rc_map_table rc5_hauppauge_new[] = {
"Multimedia Home Platform" - "Multimedia Home Platform" -
no "PICTURES" key in input.h no "PICTURES" key in input.h
*/ */
{ 0x1e1a, KEY_MHP }, { 0x1e1a, KEY_CAMERA },
{ 0x1e1b, KEY_EPG }, /* Guide */ { 0x1e1b, KEY_EPG }, /* Guide */
{ 0x1e1c, KEY_TV }, { 0x1e1c, KEY_TV },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment