Re: FunKey: Discussion topic

From: Eric W. Biederman (ebiederm+eric@ccr.net)
Date: Tue Apr 18 2000 - 09:07:36 EST


Olivier Galibert <galibert@pobox.com> writes:

> On Sun, Apr 16, 2000 at 10:37:24PM -0400, Paul Barton-Davis wrote:
> > Borislav Deianov <borislav@lix.polytechnique.fr> wrote:
> >
> > >Don't get me wrong, I'm not saying your idea is useless - I do think
> > >it makes sense for the console where there isn't an easy way to
> > >intercept keys. As for X, you'll be doing the world a better service
> > >if you teach the X server to give you keycodes for the funny keys and
> > >let you handle them from there.
> >
> > I couldn't put it better myself.
>
> But X has a 119 keycodes limit, iirc.

The X protocol has a 256 keycode limit, but can have multiple
keyboards, if you're really stuck anyway. What key a keycode
is assigned to can vary per keyboard you just need to make
certain the key gets an appropriate keycode name so it can
be mapped correctly.

Eric

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:13 EST