i've scanned back through the last several months of list archives (is
there a search engine for this list that i'm missing, btw?), and i see
that this question (in various forms) comes up relatively often. 
answers don't come up quite as often, and none have them have quite
helped me yet.

here's the issue.  (at least, here's _my_ issue.  :-)

i'm running linux.  (2.2.19, RH 7.0, XFree86 4.0.1)

i have a keyboard (an older generic wireless IR keyboard -- not a
logitech) with some extra chiclet buttons across the top, labelled CD,
Video, WWW, Play, Stop, Pause, etc.  these keys generate non-standard
scancodes -- "showkey -s" tells me what they are -- and i can use
"loadkeys" to map those to linux keysyms, to make the keys do
interesting things at the console.  i can view those mappings with
"dumpkeys".

the next step evades me, however.  when i run X, and run xev, i get no
events whatsoever from those extra buttons.  (this is where most of
the answers in the last couple of months quit -- people assume that
xev will report something, and in my case, it doesn't.)

i think i understand that X doesn't use the "loadkeys/dumpkeys" level
of linux keyboard mapping, and reads the keyboard at a lower level. 
(am i right?)  i'm using Xkbdisable, which as i understand it causes X
to bypass all of the X11 keyboard mapping stuff under X11/lib/xkb. 
(is this documented anywhere?  i can't find any documentation on
Xkbdisable or the XKEYBOARD extension.)  if i were to turn Xkbdisable
off, it looks like some of the "defined" keyboards support keycodes
and keysyms (e.g. "I17") that are similar to what i want.  how would
i go about defining a new keyboard map to match the one i own?  i can
find no mapping anywhere that tells the server which keyboard key
generates which keycode.

so this brings me back around to the question in the Subject line: 
where do keycodes come from?  is there a mapping file (hardware-scancode-
to-X11-keycode) that i'm missing?

thanks in advance...

paul
=---------------------
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 26.2 degrees)
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to