aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-01-24 10:18:38 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 18:24:05 -0400
commitd9e9f41c45536b68b14934949104cb40149e94f1 (patch)
tree59c89d90130a6d47159faa739dea57fdae19aa91 /drivers
parent6f9e46b44785eb9cc59e638970e7aa443ff6fe5e (diff)
[media] rc/keymaps: Fix most KEY_PROG[n] keycodes
Those KEY_PROG[n] keys were used on places where the developer didn't know for sure what key should be used. On several cases, using KEY_RED, KEY_GREEN, KEY_YELLOW would be enough. On others, there are specific keys for that already. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Jarod Wilson <jarod@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c6
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-rm-ks.c2
-rw-r--r--drivers/media/rc/keymaps/rc-cinergy.c2
-rw-r--r--drivers/media/rc/keymaps/rc-encore-enltv.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c b/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
index 136d3952dedc..9a8752fdcca1 100644
--- a/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
+++ b/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
@@ -50,9 +50,9 @@ static struct rc_map_table adstech_dvb_t_pci[] = {
50 { 0x13, KEY_TUNER }, /* Live */ 50 { 0x13, KEY_TUNER }, /* Live */
51 { 0x0a, KEY_A }, 51 { 0x0a, KEY_A },
52 { 0x12, KEY_B }, 52 { 0x12, KEY_B },
53 { 0x03, KEY_PROG1 }, /* 1 */ 53 { 0x03, KEY_RED }, /* 1 */
54 { 0x01, KEY_PROG2 }, /* 2 */ 54 { 0x01, KEY_GREEN }, /* 2 */
55 { 0x00, KEY_PROG3 }, /* 3 */ 55 { 0x00, KEY_YELLOW }, /* 3 */
56 { 0x06, KEY_DVD }, 56 { 0x06, KEY_DVD },
57 { 0x48, KEY_AUX }, /* Photo */ 57 { 0x48, KEY_AUX }, /* Photo */
58 { 0x40, KEY_VIDEO }, 58 { 0x40, KEY_VIDEO },
diff --git a/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c b/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
index f4ca1fff455d..9d68af217d8b 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
@@ -31,7 +31,7 @@ static struct rc_map_table avermedia_rm_ks[] = {
31 { 0x0505, KEY_VOLUMEDOWN }, 31 { 0x0505, KEY_VOLUMEDOWN },
32 { 0x0506, KEY_MUTE }, 32 { 0x0506, KEY_MUTE },
33 { 0x0507, KEY_RIGHT }, 33 { 0x0507, KEY_RIGHT },
34 { 0x0508, KEY_PROG1 }, 34 { 0x0508, KEY_RED },
35 { 0x0509, KEY_1 }, 35 { 0x0509, KEY_1 },
36 { 0x050a, KEY_2 }, 36 { 0x050a, KEY_2 },
37 { 0x050b, KEY_3 }, 37 { 0x050b, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-cinergy.c b/drivers/media/rc/keymaps/rc-cinergy.c
index 99520ff65b61..cf3a6bfb190c 100644
--- a/drivers/media/rc/keymaps/rc-cinergy.c
+++ b/drivers/media/rc/keymaps/rc-cinergy.c
@@ -25,7 +25,7 @@ static struct rc_map_table cinergy[] = {
25 { 0x09, KEY_9 }, 25 { 0x09, KEY_9 },
26 26
27 { 0x0a, KEY_POWER }, 27 { 0x0a, KEY_POWER },
28 { 0x0b, KEY_PROG1 }, /* app */ 28 { 0x0b, KEY_MEDIA }, /* app */
29 { 0x0c, KEY_ZOOM }, /* zoom/fullscreen */ 29 { 0x0c, KEY_ZOOM }, /* zoom/fullscreen */
30 { 0x0d, KEY_CHANNELUP }, /* channel */ 30 { 0x0d, KEY_CHANNELUP }, /* channel */
31 { 0x0e, KEY_CHANNELDOWN }, /* channel- */ 31 { 0x0e, KEY_CHANNELDOWN }, /* channel- */
diff --git a/drivers/media/rc/keymaps/rc-encore-enltv.c b/drivers/media/rc/keymaps/rc-encore-enltv.c
index 1a0e590b5d21..e56ac6e9670a 100644
--- a/drivers/media/rc/keymaps/rc-encore-enltv.c
+++ b/drivers/media/rc/keymaps/rc-encore-enltv.c
@@ -77,7 +77,7 @@ static struct rc_map_table encore_enltv[] = {
77 { 0x50, KEY_SLEEP }, /* shutdown */ 77 { 0x50, KEY_SLEEP }, /* shutdown */
78 { 0x51, KEY_MODE }, /* stereo > main */ 78 { 0x51, KEY_MODE }, /* stereo > main */
79 { 0x52, KEY_SELECT }, /* stereo > sap */ 79 { 0x52, KEY_SELECT }, /* stereo > sap */
80 { 0x53, KEY_PROG1 }, /* teletext */ 80 { 0x53, KEY_TEXT }, /* teletext */
81 81
82 82
83 { 0x59, KEY_RED }, /* AP1 */ 83 { 0x59, KEY_RED }, /* AP1 */