Skip to content

Commit

Permalink
[media] rc/keymaps: Fix most KEY_PROG[n] keycodes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Mar 22, 2011
1 parent 6f9e46b commit d9e9f41
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ static struct rc_map_table adstech_dvb_t_pci[] = {
{ 0x13, KEY_TUNER }, /* Live */
{ 0x0a, KEY_A },
{ 0x12, KEY_B },
{ 0x03, KEY_PROG1 }, /* 1 */
{ 0x01, KEY_PROG2 }, /* 2 */
{ 0x00, KEY_PROG3 }, /* 3 */
{ 0x03, KEY_RED }, /* 1 */
{ 0x01, KEY_GREEN }, /* 2 */
{ 0x00, KEY_YELLOW }, /* 3 */
{ 0x06, KEY_DVD },
{ 0x48, KEY_AUX }, /* Photo */
{ 0x40, KEY_VIDEO },
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static struct rc_map_table avermedia_rm_ks[] = {
{ 0x0505, KEY_VOLUMEDOWN },
{ 0x0506, KEY_MUTE },
{ 0x0507, KEY_RIGHT },
{ 0x0508, KEY_PROG1 },
{ 0x0508, KEY_RED },
{ 0x0509, KEY_1 },
{ 0x050a, KEY_2 },
{ 0x050b, KEY_3 },
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/rc/keymaps/rc-cinergy.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static struct rc_map_table cinergy[] = {
{ 0x09, KEY_9 },

{ 0x0a, KEY_POWER },
{ 0x0b, KEY_PROG1 }, /* app */
{ 0x0b, KEY_MEDIA }, /* app */
{ 0x0c, KEY_ZOOM }, /* zoom/fullscreen */
{ 0x0d, KEY_CHANNELUP }, /* channel */
{ 0x0e, KEY_CHANNELDOWN }, /* channel- */
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/rc/keymaps/rc-encore-enltv.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static struct rc_map_table encore_enltv[] = {
{ 0x50, KEY_SLEEP }, /* shutdown */
{ 0x51, KEY_MODE }, /* stereo > main */
{ 0x52, KEY_SELECT }, /* stereo > sap */
{ 0x53, KEY_PROG1 }, /* teletext */
{ 0x53, KEY_TEXT }, /* teletext */


{ 0x59, KEY_RED }, /* AP1 */
Expand Down

0 comments on commit d9e9f41

Please sign in to comment.