This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Keycodes
- To: Troy Bowman <troy at dublan dot net>
- Subject: Re: Keycodes
- From: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- Date: Sat, 31 Mar 2001 13:49:54 +0200 (MEST)
- Cc: XFree86/Cygwin Mailing list <cygwin-xfree at sources dot redhat dot com>
On Fri, 30 Mar 2001, Troy Bowman wrote:
>
> I agree. I don't use an international keyboard, I use one of those famed
> "Happy Hacking" keyboards from pfuca.com. I have it running in "windows"
> mode and have the right meta(windows) key mapped to "mode switch", so that
> I can make X map characters that I need to be able two easily write in
> spanish, i.e., αινσϊρΑΙΝΣΪΡ‘Ώ and so on in my xmodmaprc.
>
> My question is, is it possible to steal one of the the windows keys (in my
> case, the right windows key) away from windows while the X server is
> focused to be able to use it for a different function?
>
I the test release I just placed on http://www.gotti.org, the
windows keys are mapped to the Super_L, Super_R and Menu keys. but
pressing any of the Super keys will remove the focus from X and the
keyrelease is not notified.
> ...troy.
>
> On Fri, 30 Mar 2001, Alexander Gottwald wrote:
>
> > Hello,
> >
> > Since there are more and more questions about the keymaps on the list,
> > I wanted to say that the current way of mapping keys is imho not the
> > one expected from X.
> >
> > X should return only the scancodes of the keys, not the symbol.
> >
> > eg. pressing the key "a" should result in sending the keycode 38,
> > which is then mapped to the keysym 0x61 (a), XWin returs keycode 71,
> > and maps this to keysym 0x61 (a).
> >
> > If Xwin is running standalone, there is no problem. But as soon as you
> > connect to a remote system, which sets a special modmap (eg. the
> > german keymap), the mapping is completely strange. The default keymap
> > expects for keycode 71 the key "F5". If you try xkeycaps on Xwin, you
> > will see that the keycodes are not mapped to the correct keys (not
> > symbols).
> >
> > If we return the correct keycodes, the modmaps from linux will work
> > for xwin too.
> >
> > Since i now got X to build, I will investigate the keycode problem and
> > hope to provide a fix, which is closer to the linux X server.
> >
> > bye
> > ago
> > --
> > Alexander.Gottwald@informatik.tu-chemnitz.de
> > http://www.gotti.org
> > +49 3725 3498080
> >
> >
> >
>
>
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org
+49 3725 3498080