[PATCH 08/37] dvb: remove duplicate key definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





From: Thorsten Maerz <[email protected]>

The duplicate key definitions cause misinterpretations with
other keys, e.g. the "TELETEXT" key clashes with "CHANNEL_UP"
and thus can not be used with LIRC.
This patch removes these duplicates.

Signed-off-by: Thorsten Maerz <[email protected]>
Signed-off-by: Michael Krufky <[email protected]>

 drivers/media/dvb/dvb-usb/a800.c |    4 ----
 1 file changed, 4 deletions(-)

--- linux-2.6.14-git3.orig/drivers/media/dvb/dvb-usb/a800.c
+++ linux-2.6.14-git3/drivers/media/dvb/dvb-usb/a800.c
@@ -43,11 +43,9 @@
 	{ 0x02, 0x13, KEY_RIGHT },       /* R / CH RTN */
 	{ 0x02, 0x17, KEY_PROG2 },       /* SNAP SHOT */
 	{ 0x02, 0x10, KEY_PROG3 },       /* 16-CH PREV */
-	{ 0x02, 0x03, KEY_CHANNELUP },   /* CH UP */
 	{ 0x02, 0x1e, KEY_VOLUMEDOWN },  /* VOL DOWN */
 	{ 0x02, 0x0c, KEY_ZOOM },        /* FULL SCREEN */
 	{ 0x02, 0x1f, KEY_VOLUMEUP },    /* VOL UP */
-	{ 0x02, 0x02, KEY_CHANNELDOWN }, /* CH DOWN */
 	{ 0x02, 0x14, KEY_MUTE },        /* MUTE */
 	{ 0x02, 0x08, KEY_AUDIO },       /* AUDIO */
 	{ 0x02, 0x19, KEY_RECORD },      /* RECORD */
@@ -57,8 +55,6 @@
 	{ 0x02, 0x1d, KEY_BACK },        /* << / RED */
 	{ 0x02, 0x1c, KEY_FORWARD },     /* >> / YELLOW */
 	{ 0x02, 0x03, KEY_TEXT },        /* TELETEXT */
-	{ 0x02, 0x01, KEY_FIRST },       /* |<< / GREEN */
-	{ 0x02, 0x00, KEY_LAST },        /* >>| / BLUE */
 	{ 0x02, 0x04, KEY_EPG },         /* EPG */
 	{ 0x02, 0x15, KEY_MENU },        /* MENU */
 



[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux