Re: Setkeycodes w/ keycode >= 0x100 ?

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

 



On Fri, 3 Mar 2006, linux-os (Dick Johnson) wrote:

> Well the input.h in the distribution I use, has the highest key-code
> as KEY_UNKNOWN and that is number 200. Perhaps you are trying to
> use BTN_0 through BTN_N as key codes? Or perhaps there is some
> unfinished business in your version of headers?

Irrespective of distro, recent kernel (2.6.15.5) headers have KEY_MAX as
0x1ff (511). Incidentally, my glibc headers have the same thing.

You must have very old headers, as here KEY_PLAYCD=200, KEY_UNKNOWN=240, and
KEY_MAX=0x1ff.

Regards,
Ian Morgan

-- 
-------------------------------------------------------------------
 Ian E. Morgan          Vice President & C.O.O.       Webcon, Inc.
 imorgan at webcon dot ca       PGP: #2DA40D07       www.webcon.ca
    *  Customized Linux Network Solutions for your Business  *
-------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[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