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

Re: X Keycodes



On Fri, Oct 04, 2002 at 09:14:22PM +0200, Josef Spillner wrote:
> On Friday 04 October 2002 16:04, Nathi-huesken@gmx.de wrote:
> > I am trying to write a little Wrapper for Keyboard under X. I want to use
> > the X-Keycodes, but I can't find anything like a "definition list" which
> > keycode is related to which actual key.
> 
> You can find key codes in (usually) /usr/X11R6/include/X11/keysymdef.h.
> The definition names are self-explanatory.
> But I doubt they're portable.

My copy of the X11 documentation has gone walkabout (I think it's
still in the garage), but ISTR that's a standard include file and the
keydefs are portable.