[EMAIL PROTECTED] writes:

> But when I go to X and do xev,  it reveals the old garbage mapping.
> Aaaah!  X does not use the kernel scancode to keycode map !

No.  It puts the keyboard into RAW mode, or it wouldn't be able to
detect separate key up and down events, or anything at all for
Control, Alt, etc.

> Nowhere can I find out how to deal with scancodes in X without going into the
> source.  Anyone got a clue?

The X keyboard is configured using XKB, which appears to have next to
no documentation, though Google has some more promising links now than
the last time I looked.  The XkbRules, XkbModel and XkbLayout options
in XF86Config-4 refer to files in /etc/X11/xkb/ or
/usr/X11R6/lib/X11/xkb/ (which are the same thing on Debian).  The
setxkbmap command can change these settings at runtime.

For quick hacks, xmodmap is still supported for compatibility, and can
be easier to use initially.

-- 
"Hanging is too good for a man who makes puns; he should be drawn and quoted."
        -- Fred Allen

_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to