From: Vojtech Pavlik <vojtech@suse.cz>
To: Giuseppe Bilotta <bilotta78@hotpop.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Fw: Re: keyboard problem with 2.6.6
Date: Sun, 30 May 2004 14:59:18 +0200 [thread overview]
Message-ID: <20040530125918.GA1611@ucw.cz> (raw)
In-Reply-To: <MPG.1b23f41bee99410e9896a8@news.gmane.org>
On Sun, May 30, 2004 at 02:38:08PM +0200, Giuseppe Bilotta wrote:
> > The kernel input layer doesn't treat modifiers as special keys, and
> > currently (include/linux/input.h) has shift, alt, ctrl and meta keys.
> > Both left and right. This covers all keyboards I've seen so far,
> > including SGI, Sun, Mac, and other keyboards.
> >
> > This is different from the X keysym modifiers, because the super and
> > hyper modifiers usually don't correspond to real physical keys on the
> > keyboard.
>
> Sorry but this is untrue. My Win keys are configured as super,
> for example.
The Linux kernel reports them as KEY_LEFTMETA, KEY_RIGHTMETA and
KEY_COMPOSE.
> > > * No (documented) set of keycodes to assign to get mapped to
> > > multimedia/internet keys (volume up/down, play, stop, next,
> > > prev, email, internet, blah blah blah)
> >
> > include/linux/input.h has the documented set of keycodes. It's largely
> > based on what 2.4 uses for keycodes - sanitized PS/2 codes.
>
> Ah good. I was looking at the wrong headers :)
> > It was written for 2.4 unfortunately, and 2.6's emulated rawmode
> > confuses it no end.
>
> It could be updated though.
It can be updated, yes.
> > The X step could be avoided if we had a definition file for xkb for the
> > kernel emulated keyboard.
>
> That's exactly what I'm saying. But there isn't. Which is what
> pisses off most users.
I'm not very familiar with xkb configuration. Perhaps you'd be willing
to write that definition file? I'll certainly help you from the kernel
side - I can even generate a list of keycode - scancode - meaning
relations for you.
--
Vojtech Pavlik
SuSE Labs, SuSE CR
next prev parent reply other threads:[~2004-05-30 12:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040528154307.142b7abf.akpm@osdl.org>
2004-05-29 7:09 ` Fw: Re: keyboard problem with 2.6.6 Vojtech Pavlik
2004-05-29 13:14 ` Giuseppe Bilotta
2004-05-29 13:37 ` Vojtech Pavlik
2004-05-29 15:12 ` Giuseppe Bilotta
2004-05-29 15:44 ` Vojtech Pavlik
2004-05-29 17:18 ` Dmitry Torokhov
2004-05-29 18:23 ` Vojtech Pavlik
2004-05-30 10:20 ` Giuseppe Bilotta
2004-05-30 11:43 ` Vojtech Pavlik
2004-05-30 12:38 ` Giuseppe Bilotta
2004-05-30 12:59 ` Vojtech Pavlik [this message]
2004-05-30 16:08 ` Giuseppe Bilotta
2004-05-30 20:31 ` Vojtech Pavlik
2004-05-30 20:51 ` Giuseppe Bilotta
2004-05-30 21:28 ` Vojtech Pavlik
2004-05-31 12:43 ` Giuseppe Bilotta
2004-05-30 23:21 ` keyboard: kernel and X Andries Brouwer
2004-05-31 12:43 ` Giuseppe Bilotta
2004-06-01 11:22 ` Fw: Re: keyboard problem with 2.6.6 Vojtech Pavlik
2004-05-29 22:40 ` Dmitry Torokhov
2004-05-29 14:07 ` Andries Brouwer
2004-05-29 14:18 ` Vojtech Pavlik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040530125918.GA1611@ucw.cz \
--to=vojtech@suse.cz \
--cc=bilotta78@hotpop.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.