Re: 2.5.28 (linus' bk): conflicting KEY_xxx macros

Thunder from the hill (thunder@ngforever.de)
Wed, 24 Jul 2002 08:57:09 -0600 (MDT)


On Wed, 24 Jul 2002, Alex Riesen wrote:
> include/linux/input.h has this:
>
> #define KEY_PLAY 207
> #define KEY_FASTFORWARD 208
>
> #define KEY_PLAY 0x197
> #define KEY_FASTFORWARD 0x19b
>
> which one is where?

The second ones override the first ones, so we just drop the first ones
(since the seconds seem to have worked well for some time):

--- linus-2.5/include/linux/input.h 2002-07-16 10:01:54.000000000
-0600
+++ thunder-2.5/include/linux/input.h 2002-07-24 08:55:53.000000000
-0600
@@ -307,8 +307,6 @@
#define KEY_PROG4 203
#define KEY_SUSPEND 205
#define KEY_CLOSE 206
-#define KEY_PLAY 207
-#define KEY_FASTFORWARD 208
#define KEY_BASSBOOST 209
#define KEY_PRINT 210
#define KEY_HP 211

Regards,
Thunder

-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/